I was bored today so I made a quick... thingy with actionscript on Flash. Its pretty cool, and simple. You can find it here.
If any fellow BYONDers made any cool effects using actionscript, animation, or even anything non-flash, post it here.
Also, if you are a fan of flash, or make flash, regardless of your skill, join my guild, The Flash Animators Clan
ID:16289
Jul 30 2006, 2:53 pm (Edited on Jul 30 2006, 3:05 pm)
|
|
Jul 30 2006, 3:31 pm
|
|
I'm a total noob to actionscript, how'd you do that?
|
Tell me your AIM address or e-mail address and I'll send you the .fla.
basically what I did was make a movie clip, make a ball, and made a motion tween. The last frame had alpha set at 25, and in the frame I put stop(); and this.removeMovieClip(); then put that movie clip into another movie clip, and made 2 idential keyframes. I gave the 2 frame movieclip the instance name of ball. The first keyframe had the following script in it: duplicateMovieClip("ball", "ball"+id, id); setProperty("ball"+id, _rotation, Math.random()*360); setProperty("ball"+id, _xscale, Math.random()*32); setProperty("ball"+id, _rotation, Math.random()*32); id = id+1 //what this did was duplicate the movie //clip every time the frame is //encountered, then set the rotation to //a random amount between 0 and 360. //Then did the same for xscale and //yscale, creating alot of completely //random scaled balls in a random //direction. Then what I did was loop it, by putting gotoAndPlay(1); in the second keyFrame of my ball movieClip. Then I had the ball movieclip on the main stage, and in the movieclip, put this script to make it follow my mouse. onClipEvent(load) {startDrag("",true);} I'm probably leaving stuff out, but just post your e-mail here, and I'll e-mail you the .fla file, so you can have a look yourself. |
Hah! Thats what I thought too, but its pretty simple once you look at it piece by piece.
|