Simple steps initially will help to write more complicated action scripts. Let us see an example for Start ans Stop Action Scripting.
Video Tutorial:
Basic Start and Stop Action Scripting:
The above video teaches you how to animate a ball by using a play button.
Let us consider a football for the animation. Initially draw two lines on the stage between which a ball has to be animated.
Now create a motion tween for a "football".
Keyframes are included at regular intrevals.
Create a new layer and add play button.
Using the "selection tool" the football is moved to up and down positions.
The frames are copied to alternate keyfames using "copy frames".
Write the action script in the keyframe of the newly created layer to stop the animation. The script used is "stop();"
To start the animation, right click on the button to write action scripting. The script would be "on(press) { play() }".
A Note
Flash is one of the most used 2D animation tool in the world.
With simple introduction, basic animation and examples, begin creating flash movies on your own. Hope you enjoy this tutorial. Do send us your
feedback or suggestions on this video tutorial. This is a copyright content.