Chapter 6
186
About tweening in Director
To use tweening in Director, you define properties for a sprite in frames called keyframes and let
Director change the properties in the frames in between. Tweening is very efficient for adding
animation to movies for websites, since no additional data needs to download when a single cast
member changes.
A keyframe usually indicates a change in sprite properties. Properties that can be tweened are
position, size, rotation, skew, blend, and foreground and background color. Each keyframe
defines a value for all of these properties, even if you only explicitly define one.
Tweening the path of a sprite
Sprite paths are the lines Director displays on the Stage to show the movement of a sprite. Sprite
paths are controlled by the Sprite Overlay Settings dialog box. You can change settings to make
the paths appear for all sprites, for selected sprites, or only when the pointer rolls over a sprite. See
“Using the Sprite Overlay” on page 164.
You can tween a sprite directly on the Stage by editing the sprite’s path. Director displays the
path of the selected sprite directly on the Stage. You can adjust the path by dragging keyframe
indicators.
To tween the path of a sprite:
1
Place a sprite on the Stage where you want the path to start. If the sprite is already on the
Stage, select it.
This places the start frame of the sprite in the proper location. The start frame is also the first
keyframe of the sprite.
2
If necessary, select View > Sprite Overlay > Show Paths.
The Show Paths option is on by default. With this option turned on, Director displays the
paths of moving sprites on the Stage. Keyframes appear as hollow circles. Small tick marks
show the sprite’s position in tweened frames.
3
Insert keyframes in any additional frames where you want the sprite’s animation path
to change.
Keyframes
Start frame
End frame
Keyframes
Start frame
End frame
(not a keyframe)
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...