There are usually several ways to create the same animations and effects in Flash. Whether animated on the timeline or dynamically generated with ActionScript, it allows the user to work in a comfortable environment. A simple aperture transformation can be made in several different ways. I personally do not know where this animation code starts, but give me a timeline and some key frames, I will enter my work environment.
1. The first step is to create a circle with an elliptical tool. Any fill color, holding down the SHIFT key while drawing to make it a positive circle. Do not convert this shape to a symbol, but instead convert the layer to a mask layer.
Figure 1
2, in the 1th frame will be reduced to the smallest circle. Open the Zoom and rotate panel with ctrl+alt+s, enter a percentage, and click OK. Use the Alignment panel (ctrl+k) to align the circles in the center relative to the stage.
Figure 2
3. Insert KeyFrames After some frames on the mask layer timeline. Enlarges the circle to cover the entire stage. Convert this shape to contour line, (Translator Note: In the layer name that column point right > property, and then in the lower half of the pop-up property panel has a "turn layer to outline" before the hook. So you can see the stage underneath it. Add a tween shape so that the circle covers the entire stage from small to large.
Figure 3
4, add a new layer and drag it through the mask layer, so that it is connected to the mask layer. Include what you want to display at this level. If the content you are displaying requires multiple layers, make sure they are all masked, or move all the display content to a new component and drag the component to the mask layer.
Figure 4
5. Create a new layer below all layers (not masked layer) and draw a black rectangle with the same size as the stage. Color can be any color you choose, but Black is better for this effect. You can add another tween shape by copying and flipping the key frame of the mask animation on the stage.
Figure 5
6. Since then you have created an aperture effect with an animated mask. You can easily control the focus area of the aperture on the stage. In the last keyframe, the positioning circle is on the role's eye clear. When the animation is played, the circle moves toward the eye-a typical technique used in each cartoon.
Figure 6
Tip: Free to replace black test with other colors. Sometimes a radiation gradient can add some interesting layers to the transformation. It's easy to change the different colors to change the background and get the effect you want.