Found this tutorial to create a Fireworks animation. I need it to work with Flash Player 8, but it will only work in Flash Player 6. When in 8, it gives 6 Compiler Errors, and I don’t know how to fix them.
Here is the link to the tutorial, it has a downloadable .fla file so that way you can test it in Flash Player 8 and see the errors for yourself. I’ll also post the two chunks of AS and the Errors.
http://www.wipeout44.com/tutorials/flash_fireworks.asp
for (n=8; n<50; n++) {
duplicateMovieClip(“bluebit”, “bluebit” add n, n);
setProperty(“bluebit” add n, _rotation, random(360));
setProperty(“bluebit” add n, _alpha, random(30)+80);
setProperty(“bluebit” add n, _xscale, 50+Number(random(60)));
setProperty(“bluebit” add n, _yscale, 50+Number(random(60)));
tellTarget (“bluebit” add n) {
gotoAndPlay(random(5));
}
}
for (n=8; n<80; n++) {
duplicateMovieClip(“spinner”, “spinner” add n, n);
setProperty(“spinner” add n, _rotation, random(360));
setProperty(“spinner” add n, _alpha, random(30)+80);
setProperty(“spinner” add n, _xscale, 50+Number(random(60)));
setProperty(“spinner” add n, _yscale, 50+Number(random(60)));
tellTarget (“spinner” add n) {
gotoAndPlay(random(5));
}
}
Thank you for your help!