Chapter 2
74
4
The new Cloud sprite has a bounding box around it and a round dot in the middle. Click and
drag the round dot in the middle of the cloud to the right edge of the Stage.
A line connects the original location of the cloud to the new location of the dot. There is still a
dot in the middle of the Cloud sprite, but it is a different color from the dot that you dragged.
You have performed your first tweening operation. Tweening is a technique in which you specify
values for certain properties of a sprite at certain times and then let Director calculate the values
for those properties for all the times in between. The term tween comes from the word between.
In this case, you dragged the dot on the sprite to a new location. These dots on sprites represent
points in the sprite’s animation path. When you first drop a sprite on the Stage, there is no
animation, so there’s only one dot. The line on the Stage that connects the dots represents the
animation path of the Cloud. By dragging the dots, you are specifying the sprite’s location on the
Stage at the beginning and at the end of its sprite span in the Score. The blue dot that remains in
the middle of the Cloud sprite represents its starting location. The red dot at the other end of the
line represents its end location.
Scrub the playhead to view your animation
You can move the playhead to see your animation.
•
Drag the playhead back and forth from frame 15 to frame 24 in the Score. This is called
“scrubbing the playhead.”
The cloud moves rather quickly across the Stage. To make the animation look more realistic,
you can lengthen the Cloud sprite’s duration in the Score. This way, the cloud will move the
same distance on the Stage during a longer period of time.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...