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...
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?
...
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 ?
...
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 ?
...
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 ...
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...
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!
...
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...
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...
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?
...
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...
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...
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 ...
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, ...
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...
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 ...
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?
...
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...
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?
...
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?
...