Chapter 6
194
To animate a sprite with multiple cast members:
1
Create a sprite by placing the first cast member in the animation on the Stage in the
appropriate frame.
2
Change the length of the sprite as needed.
Drag the start or end frame in the Score, or enter a new start or end frame number in the
Sprite Inspector.
3
Select View > Display > Cast Member.
This setting displays the name of the cast member on each sprite. For more information, see
“Displaying sprite labels in the Score” on page 165.
4
Select View > Sprite Labels > Changes Only.
This setting changes the view of the Score to show the name of each sprite’s cast member when
it changes. This makes it easy to identify frames where the cast member changes. For more
information, see “Displaying sprite labels in the Score” on page 165. You may also want to
zoom the score to 800% so the frames are wide enough to display the cast member
information.
5
Select Edit > Edit Sprite Frames.
Edit Sprite Frames makes it easier to select frames within a sprite. See “Editing sprite frames”
on page 192.
6
Select the frames in the sprite where you want a different cast member to appear.
7
Open the Cast window and select the cast member you want to use next in the animation.
8
Select Edit > Exchange Cast Members.
Director replaces the cast member in the selected frame with the cast member selected in the
Cast window.
9
Repeat steps 6-8 to complete the animation. Select Edit > Edit Entire Sprite when you’re done.
Sometimes a series of cast members placed in the Score jumps unexpectedly when you play the
movie. This occurs because the cast members’ registration points aren’t aligned properly. When
you exchange cast members, Director places the new cast member’s registration point precisely
where the previous cast member’s registration point was. By default, Director places registration
points in the center of a bitmap cast member’s bounding rectangle.
For information about aligning registration points, see “Changing registration points”
on page 219. You can also align sprites relative to their bounding rectangles. See “Positioning
sprites using guides, the grid, or the Align window” on page 169.
Содержание 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...