What's New in Director 8.5 > Director 8.5 Tutorial > Use the camera > Apply the Pan Camera Horizontal behavior |
![]() ![]() ![]() |
Apply the Pan Camera Horizontal behavior
When you pan a movie camera, you turn the camera on its own axis, such as when a camera turns from side to side on a tripod.
You use two panning behaviors in the Library palette to pan the camera up, down, left, and right. Specifying parameters for the panning behaviors gives you precise control over the camera movement.
1 |
Verify that 3D action behaviors are still visible in the Library. |
![]() |
To effectively attach most 3D behaviors to a movie, you work with action and trigger pairs. (The Automatic Model Rotation behavior that you attached to the title text is an exception; it's an action that does not require a trigger.) Triggers are mouse and keyboard inputs that set actions into motion. A trigger-dependent action does not "act" unless the user completes the defined mouse or keyboard input.
2 |
Drag the Pan Camera Horizontal behavior from the Library palette to the Magic tricks sprite on the Stage. |
3 |
In the Parameters for Pan Camera Horizontal dialog box, specify the following: |
![]() |
In the "Degrees to pan per frame" text box, type 10. |
![]() |
In the "Which group does this behavior belong to?" text box, type Pan. Then click OK. |
You are creating a group, named Pan, to which you'll add actions and triggers. An action and its trigger must be in the same group to work together. You are, in effect, grouping actions with their associated triggers.
|
|
![]() |
![]() ![]() ![]() |