Special Effects | stars
In this tutorial we use Flash 8 ActionScript to make dancing star animations.
First look at the effects and source files:
Click here to download the source file (decompression password: www.webjx.com)
1, first set up a new Flash document:
2, draw a star, the method is relatively simple, not in detail:
3, select the above stars (note to all selected AH) by F8 into film clip components:
4. Double-click on the newly created movie clip to edit it. To first keep the graphics selected, we turn F8 into graphic components:
5, in the 7th frame, the 12th frame, the 17th frame presses F6 inserts the key frame respectively:
6, back to the 12th frame, and then use any deformation tool to make the stars a little bit smaller. Select Frame 12th, and then press CTRL+F3 to open the Properties panel, which is set as follows:
Select Frame 7th, also open the Properties panel, set ease 100, rotate: counterclockwise.
Finally, press F5 at frame 25th to insert the frame.
7, back to the scene 1 main scene, select the Star graphics, and then press F9 to open the action panel to add the following action instructions:
Onclipevent (enterframe) {
if (random (25) ==1) {
Num=random (25);
}
This.gotoandplay (num);
}
8, select the Star graphics, and then press Ctrl+d to copy several times:
Then put the copied stars in the right place, I do the following effect:
Save, press Ctrl+enter Test!!