Flash 3d Effect Example--dynamic sphere

Source: Internet
Author: User
Dynamic usually we draw in the flash of the ball is flat, and sometimes need some with three-dimensional effect of the ball, here to use some small tricks to achieve such a stereo effect, the final effect of this example is as follows:

Animation effect:



source File Download >>>>>>


   specific production steps:

1. Start Flash First, create a new movie, set the movie stage size to 150px*150px (in pixels), set the background color of the film to light blue, color code for #99cccc.

2. First, using the Ellipse tool, while pressing the SHIFT key to draw a positive circle, the color can be temporarily arbitrary settings, here first set it to black, as shown in Figure 1:


Figure 1 Drawing a black positive circle

3. Open the Color mixer panel, set the fill type to a radial gradient in the Fill style Drop-down list, and then set the two slider color for the bottom of the left slider, set the color to light green (RGB color code 153,204,204), and set the right color block to black, as shown in Figure 2;


Figure 2 Setting the fill color

4. After setting the fill gradient, click on the positive circle to set the green-black gradient, as shown in Figure 3;


Figure 3 to fill the positive circle color

5. Then you need to change the center of the gradient, which is the current central position of the circle, here is the center of the gradient divergence. Select the Fill Transform tool in the toolbox and then select a positive circle on the stage, when several rotation handles appear around the circle, and a small circle appears in the center of the gradient diffusion, as shown in Figure 4:


Figure 4 Rotation handles around a positive circle

Which is the center of the small circle is to adjust the gradient diffusion center, using the mouse to drag the small circle position to the top left of the positive circle, this time the effect of the fill color will change, as shown in Figure 5:


Figure 5 Changing the center of the fill color

6. Insert the key frame at frame 15th and frame 30th, go back to frame 15th, adjust the center position of the positive circle fill to the lower right in the same way as above, as shown in Figure 6;


Figure 6 Changing the fill center to the lower right

7. Finally, the 1th frame to the 15th frame, the 16th frame to the 30th frame of the shape gradient effect can be, the timeline as shown in Figure 7;


Figure 7 The last timeline window

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.