Chapter 3
112
View a 3D world
Click the magic shop scene on the Stage. The scene is comprised of models within a single sprite
named Magic trick.
The Magic trick cast member is an example of a 3D world. The 3D world contains models,
which are the visible objects within the world, such as the tables. Your view of a world depends on
the position of the camera.
Use the camera
The camera is the lens through which you view the world. As with a film camera, you can move
the Director camera to view the world at various angles and from different distances.
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 trick sprite
on the Stage.
Magic trick sprite
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...