Flash special effects for analog space-time tunnels

Source: Internet
Author: User

Specific production steps:

1. Create a new FLA file, named Circle.fla parallel disk

2. Select Modify/movie, modify the movie properties as shown in the picture

3. Select Insert/new symbol, open the Create new Symbol dialog, set new Component properties as shown in the figure

4. Select the Ellipse tool to open the Properties panel and set the circle properties as shown in the figure

5. Select the Circle object, select Modify/Shape/convert to fill, convert the drawn circle to [ring]

6. Select the Fill tool in the toolbox and set the fill color to fill the multicolored gradient provided by Flash, as shown in the figure

7. Select the Fill object, press F8 to convert to a component, and property settings as shown in the figure

8. Open [color ring] edit state, in the 1th frame right click, choose [Create animation action], frame 15th Insert keyframe, open [transform] panel, set 180 degrees rotation, as shown in the picture

9. Insert the keyframe at frame 30th and set the rotation angle to 0.1 degrees in the conversion panel. Switch to Stage

10. Drag the [spacetime ring] onto the stage with the instance name: Circle0, adjust its position appropriately and center it in the alignment panel as shown in the figure

11. At the stage of frame 1th enter the following as:

i = 0;

do {

SetProperty ("/circle" +i, _xscale, i*2);

SetProperty ("/circle" +i, _yscale, i*2);

SetProperty ("/circle" +i, _rotation, i*10);

i = i+1;

Duplicatemovieclip ("/circle0", "Circle" +i, i);

while (I<50);

Another form of expression of the above code: (Netizen xox5229 Note)

for (i=1;i<=49;i++) {

Duplicatemovieclip ("Circle0", "circle" + I, I);

With (this["circle" + i]) {

_xscale=_yscale=i*2;

_rotation= i*10;

}

}

Explanation: Here you copy the 50 "spatiotemporal loops" with the Do While statement, and each name is Circlei, where I is an integer between 1~49. Three setproperty sets the _xscale, _yscale, _rotation properties of the replication instance, respectively

12. Save, you can test the animation!

Related Article

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.