What's New in Director 8.5 > Director 8.5 Tutorial > Use the camera > Apply the first keyboard input trigger behavior

 

Apply the first keyboard input trigger behavior

Although you've added the action for the camera to pan horizontally, you still must identify how the user activates and controls panning during movie playback. As you learned earlier, Pan Camera Horizontal is an action behavior; you apply a trigger behavior to control the action. You'll now add a trigger behavior.

1

In the Library List pop-up menu, choose 3D > Triggers.

2

Drag the Keyboard Input behavior from the Library palette to the Magic tricks sprite on the Stage.

3

In the Parameters for Keyboard Input dialog box, specify the following:

In the "Which key will be used?" pop-up menu, select Left 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, confirm that Group Pan - Pan Camera Left appears. Then click OK.