Chapter 3
118
Add the triggers for the Dolly Camera behavior
You have already associated triggers with all four of the arrow keys. You’ll now specify that the F
and B keys trigger the forward and backward dollying action.
1
Drag the Keyboard Input behavior from the Cast window to the Magic trick sprite either on
the Stage or in the Score.
2
In the Parameters for Keyboard Input dialog box, specify the following:
•
In the Which Key Will Be Used pop-up menu, select The Custom Key I’ve Entered Below, if
it’s not already selected.
•
In the If Using a Custom Key, Enter It Here text box, type
f
.
•
Verify that No Modifier Key is selected from the Which Modifier Key Will Be Used
pop-up menu.
•
Verify that Group Dolly – Move Camera In is selected from the Select a Group and Its Action
text box. Then click OK.
You also want to offer the user the ability to dolly the camera out. To create the Dolly Out
behavior, you’ll follow similar steps to configure the trigger behavior.
3
Drag the Keyboard Input behavior from the Cast window to the Magic trick sprite
on the Stage.
Содержание 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...