Animation
189
To tween sprite properties:
1
If the Score isn’t open, select Window > Score.
2
Position a sprite on the Stage and make sure it spans all the frames in which you want the
sprite to change.
3
Select the start frame of the sprite in the Score.
4
To tween size, scale the sprite or resize the sprite on the Stage. See “Resizing and scaling sprites”
on page 175.
5
To define the beginning property settings, click the Sprite tab of the Property inspector and do
any of the following:
•
To make the sprite fade in or out, enter a blend setting in the Property inspector (in List view).
Enter 0 to make the sprite fade in or 100 to make it fade out. For more information, see
“Setting blends” on page 180.
•
To tween rotation or skew, manually rotate or skew the sprite to the beginning position on
the Stage or enter an angle in the Property inspector. See “Rotating and skewing sprites”
on page 176.
•
To tween color, use the color boxes in the Property inspector to open the color palette for
foreground and background color, or enter the RGB values for a new color in the boxes at the
right (List view) or left (Graphical view).
6
In the Score, select the end frame of the sprite and select Insert > Keyframe.
The end frame is not a keyframe unless you create one there.
7
Make sure only the keyframe is selected (not the entire sprite), and then enter the ending
values of the sprite properties you are tweening.
For example, if you entered a blend setting of 0 in the first frame, you could enter a blend
setting of 100 in this frame.
8
If necessary, create additional keyframes in the sprite and enter new values for the tweened
properties.
9
To make the property changes defined by a keyframe occur at a different time, drag a keyframe
in the Score to a new frame within the sprite.
10
To view the tweening, rewind and play the movie. Director gradually changes the value of the
tweened property in the frames between the keyframes.
Содержание 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...