Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 205
10 Select the first keyframe.
Note that the initial shape hints are yellow, indicating that they are
correctly placed.
P Note: You can add a
maximum of 26 shape
hints to any shape
tween. Be sure to add
them in a clockwise
or counterclockwise
direction for best
results.
11 Choose Control > Test Movie > in Flash Professional to see the effects of the
shape hints on the shape tween.
The shape hints force the dip of the first shape to map to the dip of the second
shape, causing the shape tween to appear more like a traveling wave instead of
an up-and-down bobbing motion. Use shape hints to lock down certain parts of
the shape (such as the “a” and “c” hints in this example), or to tell Flash where to
move the shape (such as the “b” hint).
removing shape hints
If you’ve added too many shape hints, you can easily delete the unnecessary ones.
Removing a shape hint in one keyframe will remove its corresponding shape hint in
the other keyframe.
• Drag an individual shape hint entirely off the Stage and Pasteboard.
• Choose Modify > Shape > Remove All Hints to delete all the shape hints.
Simulating physics with inverse Kinematics
Now that you’ve animated the undulating water beneath the crane, it would be nice
to see the red buoy bob up and down along the surface as well. You could create
a motion tween so it floats along the water. However, since the buoy has a flexible
flag attached, it’ll be more realistic to see the flag and the pole wave and bend as the
buoy moves. The Spring feature helps you do this easily.
The Spring feature simulates physics in any animated armature. A flexible object
(like a flag or a flag pole) normally would have some “springiness” that would cause
it to jiggle on its own as it moves, and continue to jiggle even after motion of the
entire body stops. The amount of springiness can be set for each bone in an arma-
ture to help you get the exact amount of rigidity or flexibility in your animation.
196
Lesson 5
Articulated Motion and Morphing