Demo Effect:
Click here to download the source file
Tutorial : Beginners Flash friends, find their own animation is a cycle without stopping, how to make their own animation to stop it? Now let's use a very simple example to illustrate the problem.
1. Draw a circle on the stage.
2. Insert key frame at 40 hardwood.
3, drag the circle to another location.
4, select the first frame, open the property panel, open the Tween drop-down menu, select the shape, so that completes a simplest timeline animation. As shown in figure:
5, select the 40th frame, open the following action panel (if there is no action panel below, then click the Window | | Development Panel | | Action, or press F9).
6, in the Action writing panel input
Stop ();
As shown in figure:
7, press Enter+ctrl or select Menu Control | | Test the movie.
We will find that the circle to the right, after listening to, we can be popular to understand this: when the time axis playback head to 40 frames, get stop command, it stopped at 40 frame will not move.
Practice Advice : Please continue to add a gotoplay (*) or gotostop (*) meaning to the Stop command frame. When the 40th frame gets stopped command, continue to accept the command: Jump and play which frame, jump and stop in which frame, in order to deepen the perceptual knowledge of AS.