-
Flash 6 to Flash 8 = Frozen Animation :(
I have an animation script for particles that was created in Flash 6. I'm trying to recreate it in my flash document that is setup as Flash 8. I couldn't get the animation to play and then I figured out that if I go back to this original Flash 6 document and change it to Flash 8, it won't play in that document either.
I'm really new to Flash and scripting in general. Is there a solution that preferably involves changing the Flash 6 particles effect document so that I can recreate it in my Flash 8 document and have it animate?
Thanks!
-
This is the code that I'm using.
For the timeline:
c=0;
totalParticles = 100;
while (c<totalParticles) {
c++;
duplicateMovieClip("particle0","particle"+c,c);
}
for the movie object:
onClipEvent (enterFrame) {
r++;
yvel+=(yvel2-yvel)/10;
xvel+=(xvel2-xvel)/10;
if (r==quant) {
quant=minVal+random(rnd);
r=0;
yvel2=random((rvel*2)+1)-rvel;
xvel2=random((rvel*2)+1)-rvel;
}
_x+=xvel;
_y+=yvel;
}
onClipEvent (load) {
_xscale = _yscale = 10 + random(50);
_x = random(Stage.width);
_y = random(Stage.width);
minVal=25;
rnd=25;
quant=minVal+random(rnd);
rvel = 1;
yvel2=random((rvel*2)+1)-rvel;
xvel2=random((rvel*2)+1)-rvel;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|