521
CHAPTER 20
Controlling the 3D World
Macromedia Director MX provides powerful methods for overall control of the
three-dimensional (3D) world, including Lingo for handling new 3D-generated events, selecting
models (picking), vector math operations, and transforms. In addition, the properties and
methods of the Director global renderer services object supply common rendering properties for
all 3D sprites and cast members. Finally, 3D cast member and sprite properties and commands
allow additional control of their content during playback.
You can also find the commands and properties given here in tabular form in alphabetical form,
with accompanying syntax, definitions, and examples, in the Lingo Dictionary (Help > Lingo
Dictionary).
3D Lingo events
Event handling lets you use the
registerForEvent
command to specify a handler to run when a
particular event occurs within a specific cast member. With the
registerForEvent
command
you specify the type of event that will trigger the handler, the handler name, and the script object
that contains the handler. The script object can be a child script, an instance of a behavior
attached to a sprite, or any other script. If the script object isn’t specified, the handler is called in
the first movie script in which it is found.
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...