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
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...