Draw a vector using any of the drawing tools in Flash, say a small circle and convert it into a symbol (F8) by selecting the Graphic option and name the symbol say 'ball'.
Click the 20th frame in the Timeline and insert a frame (F5).
Now right-click the 20th frame in the Timeline and
select Create Motion Tween (or Motion option from the Tween panel of
the Properties inspector) and insert a Key Frame (F6).
Select the 10th frame and insert a Key frame (F6)
and move the ball to a different position say, above the current
position to create a motion sequence (automatically tweened by Flash).
Save your work and test the Movie (Ctrl + Enter). That's it you have created simple animation using Motion Tween.
Fig: Timeline of Motion Tween
Note: Use the Color Panel of the
Properties inspector to reduce the Alpha value from 100 to 32 for the
1st and last frames to produce Simple Alpha Tweening as shown in the
Example.
B. Creating Shape Tween in Flash
You can create Shape Tweened animations using
Shape option from the Tween panel of the Properties inspector. Draw a
vector using any of the drawing tools in Flash, say a small circle and
remove its border.
Click the 10th frame in the Timeline and insert a Key Frame (F6). Now draw another shape say a diamond using the rectangle tool without a border.
Now right-click on any frame in between these two
Key Frames and select Shape option from the Tween panel of the
Properties inspector.
Save your work and test the Movie (Ctrl + Enter). That's it you have learnt how to create Shape Tween in Flash.
Fig: Timeline of Shape Tween
Note: Only vectors can be Shape
Tweened (Not for Symbols). Note both the Tweens have different colors
along the Timeline as shown above. Make sure that the line is smooth
without being broken to ensure correct Tweening.
Fig: Timeline of Broken Tween
C. Frame-by-Frame Animation
Create a vector/plain text using any of the
drawing tools in Flash, say a text with 'Animation' typed as shown in
the example and break it using Break Apart (Ctrl + B) to separate the alphabets as shown below:
Fig: Showing Text after Break Apart
In Frame-by-Frame animation we create the object for each frame so as to produce an animation sequence.
Insert Keyframe (F6) and move the alphabets so as to produce an animation sequence.
Repeat the above step as far as desired to create Frame-by-Frame animation as shown in the example.
Save your work and test the Movie (Ctrl + Enter). That's it you have created an animation using Frame-by-Frame animation.
Fig: Timeline of Frame-by-Frame Animation
D. Creating a Guided Motion Tween in Flash
Create a vector/plain text using any of the
drawing tools in Flash, say a text with 'Flash' typed and break it using
Break Apart (Ctrl + B) as done in the previous example and put each alphabet in different layers and name the layers as shown in the picture below.
Insert a guide layer by right-clicking the topmost layer and select 'Add Guide Layer' (Insert-->Timeline-->Motion Guide), draw any path using the pencil tool in the guide layer as shown in the example.
Now create Motion tween by selecting the object in the 1st frame and snapping its registration point to one end of the path.
Snap the object in the last frame to the other end of the path in the guide layer.
Repeat the same for all the objects (alphabets) by snapping their registration points to the path in the guide layer.
Save your work and test the Movie (Ctrl + Enter). That's it you have learnt how to create motion along a guided path.
Action Script is an object-oriented language originally developed by Macromedia Inc. (now owned by Adobe Systems). It is a dialect of ECMAScript (meaning it has a superset of the syntax and semantics of the more widely known JavaScript), and is used primarily for the development of websites and software targeting the Adobe Flash Player platform, used on Web pages in the form of embedded SWF files. The language itself is open-source in that its specification is offered free of charge and both an open source compiler (as part of Adobe Flex) and open source virtual machine (Mozilla Tamarin) are available.