Adding Keyframes to Motion Tweens


After you have set up a motion tween, Flash creates new keyframes for you when you reposition a tweened graphic on an in-between frame. You can also add new keyframes by choosing Insert > Timeline > Keyframe.

To add keyframes by repositioning a tweened graphic

1.

Create a 10-frame motion tween of a bouncing ball, following the steps in the preceding task.

2.

In the Timeline, select frame 3.

On the Stage, you see the ball symbol in one of the in-between positions Flash created.

3.

In the Tools panel, select the selection tool.

4.

Drag the ball to a new positionslightly to the right of its current position, for example.

Flash inserts a new keyframe at frame 3 and splits the preceding five-frame tween into separate tweens (Figure 9.6). The new keyframe contains another instance of the ball symbol.

Figure 9.6. Repositioning the ball in an in-between frame that's part of a tween creates a new keyframe and a revision of the tweened frames.


To add keyframes by command

1.

Continuing with the document from the preceding task, select frame 7 in the Timeline.

2.

Choose Insert > Timeline > Keyframe.

Flash creates a new keyframe in frame 7. A new instance of your symbol appears on the Stage in the position Flash created for it in that in-between frame. You can now reposition the symbol.




Macromedia Flash 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Flash 8 for Windows & Macintosh
ISBN: 0321349636
EAN: 2147483647
Year: 2005
Pages: 204

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net