flash-cs4

Loading question for actionscript

Can i do the following in actionscript-3? : I want to make an application that loads some images with a Loader by making URLRequests to a local folder. Can i build the application and include somehow this folder so when i send it from a server to a client the URLRequests operate normally on clients side? Also if this is possible, the ...

how do I use netstream.appendBytes() for http dynamic streaming?

I am trying to figure out how to use http dynamic streaming with flash 10.1 but I can't get the basic functions working. What is the syntax for using appendbytes with a video file? package com.player { import flash.display.Stage; import flash.net.NetConnection; import flash.net.NetStream; import flash.media.Video; import flash.display...

not able to export swc in flash cs4 professional

Hi All, I am having problems generating swc file for fla in flash cs4. I have modified the publish settings and checked the "Export to SWC" option. On publish it is only giving me an updated SWF and no SWC. Has anyone come across this problem ? /Kiran ...

Embed Flash in IE not working

Hi, i created a small menu in flash that i want to embed into my website. The problem is it works in firefox but not in IE. Could you help me please i am completely new to Flash <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#versio...

How can i create this effect using images? Flash

Hello, Can anybody tell me how can i create this effect using Flash? http://www.iimahd.ernet.in/ If you see the site, the top part of the page contains nice animation using Flash. What is that effect called? And how do i create it? Any links will be helpful. Thanks in advance :) ...

Problem with AS3 codes

The compiler produces error code "1120: Access of undefined property master_mc." (bolded) Anyone know what went wrong? I followed a tutorial but there wasn't any explanation on how master_mc really works. Please help make this script run properly. Here's the link to the tutorial I tried. var xmlRequest:URLRequest = new URLR...

sIFIR does ot work when saved in Flash CS4

Helow! I am trying to use (sIFR) version 3, revision 419 When i test the defaults SWF files( that came whit the package ), it works fine. But when i edit with my own fonts, it does not work properly. Is there any issue, or something that i must to do? ...

Save captured still image from webcam in Flash

Hi there, I have written enough code to preview the webcam video in Flash. Now, I want to capture images at 10 second intervals. Here's my code: import flash.display.BitmapData import flash.geom.Matrix import com.adobe.images.JPGEncoder; import flash.net.FileReference; //get the default camera //change your Default camera using the...

Help needed with AS3 Sound.extract()

I'm trying to create a parametric equalizer in Flash. I've been looking for a way to read audio data and mess around with the samples before Flash plays them on the fly. Loading a sound in one Sound object and using Sound.extract() to read the data, processing it, then play a second second empty Sound object and writing the data to its s...

AS3 Errors: 1046: & 1180: Importing custom class into mc on second frame?

Pulling my hair out here trying to solve this one. I have no experience with classes...I code everybit of AS3 into the frames usually. I was trying a custom class out and it just isn't working well. I have a movieclip called mc_info_panel that I have placed onto my stage in frame one of my main timeline. One frame one of mc_info_panel i...

Flash and JavaScript communication within IE

I am having in issue with IE passing a string back into an swf using the EternalInterface class in Flash CS4. I have an swf with the following code: var externalString:String = ExternalInterface.call("IncomingJS") which is inside an event listener attached to an Event.ENTERFRAME and an if statement waiting for ExternalInterface.avai...

Document class silently fails

Hi everyone, I have this weird issue while compiling my .fla file : it won't use the Document class. Here is the document class. (note that the parent class EditorPlugin extends Sprite). package com.myproject.plugins.editor { import flash.display.MovieClip; import com.myproject.editor.EditorPlugin; import com.myproject.editor.tools.Epis...

Accessing Variables in another class?

First off I don't understand classes, how to "call" or "initiate" them. I'm class ignorant. I have two .fla files. One of my .fla files consist of 15+ .as files; we'll call this one XML editor. The other .fla file consists of 10+ .as files; we'll call it the interface. The xmleditor.swf loads the interface.swf. Within the xmleditor.s...

How to create a transparent background to a flash animation?

I want to create a transparent background to my flash animation and save it in GIF format. please help me.. ...

TypeError: Error #1006: myInitializer is not a function. - AS3

Hello everyone, I'm having a difficult time working on my flash application. Everytime I run my code, this error bumps at me. TypeError: Error #1006: myInitializer is not a function. I am quite sure that my myInitializer() function is indeed a function: public class newClass extends MovieClip { public function newClass() { ...

Flash AS3 FlvPlayback Skin calling parent swf

Hello, I have an FlvPlayback skin, which works really well, except the custom button. Basically this button needs to be able to call a function in the parent movieclip (that loaded the FlvPlayback, which in turn loaded the skin). I am not really a Flash developer, and have not found anything on Google relating to this. It seems like a ...

How to add a simple button actionscript

Hi, I am using Adobe Flash CS4. I don't know why I do the sample actionscript code here. on (release) { gotoAndPlay(1); } And now I'm dealing with a button function. I already created a box then press "F8" and choose button. Now I click on the button box, and press "F9" for the actionscript. It said that "Current selection cannot...

What are the differences between the Flash Professional and the Flash Builder?

I couldn't find a comparation on the web, so, what's the difference between the Flash Professional and the Flash Builder? --update I saw in a video that I can edit some code in the Flash Professional. And I just saw coding in Flash Builder. So, my understand is that Flash Professional does what Flash Builder does, but not the oposite. ...

If I have the equation of a line, how do I find a point on that line that is a specific distance from another?

I have two points and I need to create a line that is perpendicular to the line they form. Also the intersection has to be 5 (units) away from the first point. I know how to get a perpendicular line but not how to get the point on the first line that is 5 units away from the first point. ...

remove contents (graphic line) from MovieClip

Hi, I have an image gallery which loads a detail image, then draws a line next to the image on one side based on image dimensions. Clicking on the image returns one back to the main image thumbnail list, then clicking a thumb loads another image into detail holder. Everything works fine with it, except that the lines, rather than disap...