Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 125
6 Move the red playhead to the end of the tween span at frame 190.
7 Select the instance of the cityscape on the Stage, and while holding down the
Shift key, move the instance up the Stage.
Holding down the Shift key constrains the movement to right angles.
8 For more precision, set the value of Y to 0 in the Properties inspector.
A small black diamond appears in frame 190 at the end of the tween span. This
indicates a keyframe at the end of the tween. Flash smoothly interpolates the
change in position from frame 1 to frame 190 and represents that motion with
a motion path. Hide all the other layers to see the results of the motion tween
on the cityscape.
P Note: Remove a
motion tween by right-
clicking/Ctrl-clicking
the motion tween on
the Timeline or the
Stage and choosing
Remove Tween.
116
Lesson 4
9 Drag the red playhead back and forth at the top of the Timeline to see the
smooth motion. You can also choose Control > Play (Enter) to make Flash play
the animation.
Animating changes in position is simple, because Flash automatically creates
keyframes at the points where you move your instance to new positions. If you
want to have an object move to many different points, simply move the red
playhead to the desired frame, and then move the object to its new position.
Flash takes care of the rest.
Adding Animation