Property
displayFace
displayMode
member(1).
extrude3d
(member(2))
smoothness
tunnelDepth
Using 3D behaviors
Director MX includes a library of behaviors that let you build and control a 3D environment
without any knowledge of Lingo. Although scripting is still required for complex projects, you
can build simple 3D movies with behaviors alone.
Behavior types
Director MX provides two types of 3D behaviors: trigger and action. Action behaviors are divided
into three types: local, public, and independent. These behavior types and subtypes are detailed in
the following table.
Type
Trigger
Local action
Public action
Independent action
If you're familiar with behaviors from earlier versions of Director, you'll recognize that the trigger/
action distinction is new. In previous versions, the trigger instruction had to be included as a
handler, such as
on mouseDown
reuse action behaviors in different ways with different triggers. These behaviors can be used with
any 3D cast member.
466
Chapter 18
Access
Description
Get and set
Faces of shape to display.
Get and set
Specifies how the text appears.
Not applicable
Creates a new model resource in
member 2 by extruding the text in
member 1. Member 1 must be a text cast
member.
Get and set
Number of subdivisions for curved
outlines.
Get and set
Extrusion depth.
Function
A behavior that sends an event, such as a mouse click, to an action behavior
A behavior that is attached to a particular sprite and that can accept triggers only
from that sprite
A behavior that can be triggered by any sprite
A behavior that needs no trigger
, inside the behavior. The trigger behavior type makes it easier to
Range or
Default
#front
#tunnel
#back
Default is to show all three
faces
#modeNormal
#Mode3D
Default is #modeNormal, which
is 2D text
Specify an existing 3D cast
member
Integer from 1 to 100
Default is 5
Floating-point value from 1.0
to 100.0
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers