About shape tweens
In shape tweening, you draw a vector shape at one specific frame in the Timeline, and change that shape or draw another shape at another specific frame. Flash Professional then interpolates the intermediate shapes for the frames in between, creating the animation of one shape morphing into another.
Shape tweens work best with simple shapes. Avoid shapes with cutouts or negative spaces in them. Experiment with the shapes you want to use to determine the results. You can use shape hints to tell Flash Professional which points on the beginning shape should correspond to specific points on the end shape.
You can also tween the position and color of shapes within a shape tween.
To apply shape tweening to groups, instances, or bitmap images, break these elements apart. See Break apart a symbol instance.
To apply shape tweening to text, break the text apart twice to convert the text to objects. See Break apart a symbol instance.
The following video tutorials demonstrate how to create shape tweens. Some videos may show the Flash Professional CS3 or CS4 workspace, but are still applicable to Flash Professional CS5.
Create a shape tween
The following steps show how to create a shape tween from frame 1 to frame 30 of the Timeline. However, you can create tweens in any part of the Timeline that you choose.
Control shape changes with shape hints
To control more complex or improbable shape changes, you can use shape hints. Shape hints identify points that should correspond in starting and ending shapes. For example, if you are tweening a drawing of a face as it changes expression, you can use a shape hint to mark each eye. Then, instead of the face becoming an amorphous tangle while the shape change takes place, each eye remains recognizable and changes separately during the shift.
Shape hints contain letters (a through z) for identifying which points correspond in the starting and ending shapes. You can use up to 26 shape hints.
Shape hints are yellow in a starting keyframe, green in an ending keyframe, and red when not on a curve.
For best results when tweening shapes, follow these guidelines:
In complex shape tweening, create intermediate shapes and tween them instead of just defining a starting and ending shape.
Make sure that shape hints are logical. For example, if you’re using three shape hints for a triangle, they must be in the same order on the original triangle and on the triangle to be tweened. The order cannot be abc in the first keyframe and acb in the second.
Shape hints work best if you place them in counterclockwise order beginning at the top-left corner of the shape.
Use shape hints
- Select the first keyframe in a shape-tweened sequence.
- Select Modify > Shape > Add Shape Hint. The beginning shape hint appears as a red circle with the letter a somewhere on the shape.
- Move the shape hint to a point to mark.
- Select the last keyframe in the tweening sequence. The ending shape hint appears somewhere on the shape as a green circle with the letter a.
- Move the shape hint to the point in the ending shape that should correspond to the first point you marked.
- To view how the shape hints change the shape tweening, play the animation again. To fine-tune the tweening, move the shape hints.
- Repeat this process to add additional shape hints. New hints appear with the letters that follow (b, c, and so on).
Select
View > Show Shape Hints. The layer and keyframe that
contain shape hints must be active for Show Shape Hints to be available. 