Discussion on the design of circle in Flash

Source: Internet
Author: User
Tags copy
Design

Original tutorial, reproduced please indicate the source: Web Teaching Network

Here I give you a flash of the design of the circle in the way, here I give you two ways to make special effects of the circle.

When we do a circle, we usually use the round tool provided by Flash to design, as shown in the figure:



We can easily draw a circle through the above settings.

But what if you want to design a circle as shown in the following figure? Flash has no ready-made tools.

Of course, with other mapping software can be plotted as shown in the circle and a lot of methods, now we discuss the production of Flash in the image of the circle as the effect of the method, if you have any other good way to discuss with me to study.

Below I start to say in Flash how to do? One way to do this is to create a movie and then copy and rotate the instance to do it, and one way we can do it with the Flash action command.

One, use action to achieve the method of drawing a circle:

Specific steps:

1. Create a flash new file to save as "Circle_basic.fla".

2. Press Ctrl+f8 (or "Insert"-->> "new symbol") to insert a new component, named "Holder", Behavior: Movie clip.

3. Press O to select the Ellipse tool and set the properties of the Ellipse tool in the Properties window, as shown in figure:

4. Hold down SHIFT and draw a circle of the right size, then press Ctrl+k to open the Alignment panel, then select horizontal and vertical, and select relative to the stage. As shown in figure:

5. When the circle is automatically aligned to the center of the stage, select the Circle and press F8 to convert it to a component, and set the properties of the component according to the following figure:

6. We open the MC, now we have to set up the MC. Zoom in on the movie, open the ruler, guides, grids to draw a figure, as shown in the drawing process, we need to use part of the circle. Delete the extra lines in the diagram to get our specific graphics.

7. We are now back to "Holder" in the Select MC Instance, open the property panel to the instance of a name for the MC. As shown in figure:

8. Then we go back to Scenario 1, open the library, drag the holder component from the library onto the stage, select the holder instance in the same way as above to open the Properties panel and start an instance name holder.

9. Then add a new layer, adding the following code to the newly added layer:


Stop ();
_root.holder.mc._visible=false;
for (i=0;i<18;i++)
{
_root.holder.mc.duplicatemovieclip ("MC" +i,i);
_root.holder["MC" +I]._ROTATION=I*20;
}

Save and test your video to see how it works!

  Download. fla source file (CIRCLE_BASIC.FLA)

Second, the use of the transformation panel to draw a special circle method:

Follow the steps above to first draw an example as shown in the figure.

Convert to a symbol and press Ctrl+t to open the transform panel as shown:

Set the angle to 20, press and hold the button as shown to copy and apply the transform, you can get the effect. As shown in figure:

  Download. fla source file (CIRCLE_BASIC_01.FLA)



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.