Chapter 2
76
4
Drag the dot in the middle of the Sun sprite downward, in a slight diagonal toward the left, to
the bottom of the Stage. A line appears, connecting the dots. This line is the sun’s tweened
animation path.
5
Click the end frame of the Sun sprite in frame 24 of the Score, and drag the end frame from
frame 24 to frame 50.
6
Drag the playhead back and forth from frame 15 to frame 50. The sun and the cloud animate,
but the animation requires modification.
Change the stacking order of sprites in the Score
In your animation, the sun appears on top of the cloud and mountains because the stacking order
of sprites on the Stage is from the lowest numbered Score channel to the highest numbered
channel. The sprites in lower numbered channels appear below sprites in higher numbered
channels. The solution is to move the sprites in the Score so the Sun sprite is in the lowest
numbered channel. This lets it appear beneath the other sprites in the scene.
To change the stacking order of a sprite in the Score, you drag it to a new location.
1
Select the Mountain, Cloud, and Sun sprites in the Score by Shift-clicking them.
2
Drag the three sprites down in the Score so they occupy channels 2 through 4 instead of 1
through 3. Be sure the three sprites remain in frames 15 through 50.
3
Click an empty cell in the Score to deselect the three sprites.
Содержание 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...