flash-cs4

Button Disappearing in Actionscript 3d

I've got this weird thing happening (maybe weird) when I use the 3d stuff in cs4. Basically, I have a stage that is 1100.wide and 500.tall. I have a custom class called Cube.as that if I import and place in the middle of the stage i.e.; var cube:Cube = new Cube(); addChild(cube); cube.x = 550; cube.y = 250; All the sides, when cli...

Is there a way to animate letter tracing, based on fonts in flash?

I want to create an animation in which text is written to the screen as though one were following the action of a pen, in real time. Ideally, the bezier line points of a given font would be translated on the fly and then a string could be "drawn" character by character. Has anyone done anything like this, and if so... how? ...

no intellisense for controls in Adobe Flash CS 4 Professional

i don't have intellisense when writing AS3 script in flash cs4, and it's only for the controls anybody knows how to enable it ? ...

Error on debug if naming a textarea with _txt ending in flash cs 4 AS3

I was doing a tutorial, and i notice that if i put the name of a text area with a _txt ending i end up with this error TypeError: Error #1034: Type Coercion failed: cannot convert fl.controls::TextArea@1ef0221 to fl.controls.TextInput. anybody knows why ? ...

Is there an easy explanation for coding in AS3 w/ Flash?

I understand the syntax of AS3 just fine, but all the types and the strange hierarchy and all the inheritance is a bit confusing, and I am having trouble just getting something to show up. I see all these commands like addChild(etc); but they aren't tell me how I use it to do anything. And what is the main flash window called? How can I ...

How do you reset an AS3 list component so that nothing is selected (NOT selectedIndex=0)

I have a list component on the stage in an AS3 movie. I populate it with values at runtime and the user can select multiple values. When a button is clicked I want the list to reset to a state where nothing is selected, all I can figure out is to set the selected index to 0 and have the first position on the list either blank or readin...

Password Expiration Time CS4

Hi, I have a password-protected website in Flash CS4. I want to make so that if someone submits the password and leaves, he won't have to do it again if he returns within x time. Do you have any ideas how such things can be done? Thanks! ...

Flash with as3 problem

Hello, I want to make a game where a ship shoots through 2 fireguns. The problem is that it doesn't shoot. When i code to shoot from the ship it's working but not from the fireguns and i don't have any compile errors. Here is the code: //variables var steps:Number=10; var left:Boolean=false; var right:Boolean=false; var cTime:Number=0...

Flash MovieClipLoader instance behaves incorrect

Hi there I currently have a few movieclips that I load into another movieclip container. I use the MovieClipLoader class to load them and make use of the onLoadProgress, onLoadStart, onLoadInit, onLoadComplete and onLoadError listeners. In the onLoadProgess listener, I listen for the loaded bytes and total bytes and put the the percent...

Flash Text Input Bug Firefox

I've had this bug pop up before with Firefox wherein my .swf files that contain text input fields, when typing the cursor stays in one place and only last letter I typed appears. Anybody familiar with this and know what's causing it or how I can avoid it? ...

Flash CS4 create aperture blurring affect from different focal points

Using Flash CS4 how can I create a function that will replicate the affects of different aperture settings on a camera. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus. In essence I want the blurring affect to...

Scaling onstage MovieClip w/ "scaleX" breaks timeline animation ...really?

I'm scaling onstage MovieClips via AS properties "scaleX" or "scaleY", which kills any kind of animation the clips have within their container MovieClip, be it Classic or Motion Tweens. When I don't scale the MovieClips, they animate fine. I'm able to tell the clips to "gotoAndStop" on their own internal frames, and that doesn't affect t...

Blur Effect - Flash CS4 (Replicate aperture settings)

Using Flash CS4 how can I create a function that will replicate the affects of different aperture settings on a camera. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus. In essence I want the blurring affect to ...

Flash AS3 Preloader error: 1120 access of undefined property, preloader?

I'm a complete newbie to this, I've been watching tons of tutorials, reading tutorials, reading the Adobe site, etc... The last time I programmed was BASIC on Apple IIe... I'm trying to create a preloader that my html page will link to, and when the main .swf file (Portfolio.swf) is loaded, it will display and stop (it's a print swf, ...

AS3 - Tile image/movieclip along a line

If possible I would like to tile an image or MovieClip along a line using the standard moveTo() and lineTo() methods, The lines are directional so need to show something similar to >>>>>>>>>>>>>. The lines can be at any angle, so using drawRect() with beginBitmapFill() isn't an option. Also if possible I would like to have the lines anim...

AS3 incorrect Button dimensions

I have a MovieClip created in Flash CS4 which so far only has two textfields and a button in it. The buttons width and height are set to 60 and 22. If I select everything in Flash it confirms that the width and height of the entire movieclip is 130 and 120. The problem is when I try and get the size in AS it returns 170 and 200. After ...

Drag and Drop, Orderable List in ActionScript 3

I am trying to create a set of drag-and-drop, orderable lists with ActionScript. I know this is possible in Flex. The behavior I am going for can be seen here: Two-way drag-and drop support (you'll have to scroll down) Here is the source code Does something like this already exist in AS? Can I use the Flex component in Flash? ...

How do you run multiple 'Test Movies' in Flash CS4 IDE? (Need the Sandbox Mode)

I'm making a binary socket server for Flash and I'm trying to figure out a way to run Multiple clients in a local environment for testing purposes. Tried to run the exported flash movie in my browser (to open multiple tabs of flash swf) but I just could not figure out how to solve the cross-domain problem. I'm running my server right f...

Convert Flash art to OpenGL-ready vector format?

Say I have some 2D artwork in Flash CS4 format .FLAs, and I'd like to put it into an iPhone game that uses OpenGL ES, keeping it in vector format. An OpenGL-ready format could just be a list of vertex positions and colors for a triangle strip. Is there a converter available that can do that easily? ...

Do flash assets in my library need recompiled once I switch from Educational to Commercial CS4?

Just wondering, but I built a lot of SWFs for various uses during college and if I upgrade to Commercial license of CS4 will I need to go back and open up all my FLAs to recompile them with the commercial install of flash or will the files not be different? Is there a legal issue here? ...