Chapter 3
114
Specify the panning trigger for the opposite direction
Naturally, you want to give your user the ability to pan the camera to the right as well as to the
left. The procedure to add a keyboard input to pan left is similar to the keyboard input procedure
you just completed.
1
You’ve already used the Keyboard Input behavior once, making it part of your cast. 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 Right Arrow.
•
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 Right.
Then click OK.
Attached behaviors
become part of the cast
Содержание 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...