Flash8 makes dancing stars. Visual effects

Source: Internet
Author: User
Tags window
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!!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.