Chapter 3
116
Add a trigger for the Pan Camera Vertical action
Again, you must associate triggers with the action. First, you will specify a trigger to pan the
camera upward.
1
Drag the Keyboard Input behavior from the Cast window to the Magic trick sprite on
the Stage.
2
In the Parameters for Keyboard Input dialog box, specify the following:
•
In the Which Key Will Be Used pop-up menu, select Up Arrow.
•
Verify that the second text box is blank and that No Modifier Key appears in the third text box.
•
Confirm that Group Pan – Pan Camera Up appears in the Select a Group and Its Action
pop-up menu. Then click OK.
Add the panning trigger for the opposite direction
You can probably guess how to establish downward panning:
1
Again, drag the Keyboard Input behavior from the Cast window to the Magic trick sprite.
2
In the Parameters for Keyboard Input dialog box, specify the following:
•
In the Which Key Will Be Used pop-up menu, select Down Arrow.
•
As before, verify that the second text box is blank and that No Modifier Key appears in the
third text box.
•
In the Select a Group and Its Action pop-up menu, select Pan – Pan Camera Down. Then
click OK.
Содержание 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...