EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 960

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
960 Chapter 14: Properties
Example
This statement sets romanLingo to TRUE, which causes Lingo to use a single-byte character set:
set the romanLingo to TRUE
See also
inlineImeEnabled
rootLock
Usage
member(whichCastmember).model(whichModel).keyframePlayer.rootLock
member(whichCastmember).model(whichModel).bonesPlayer.rootLock
Description
3D #keyframePlayer and #bonesPlayer modifier property; indicates whether the translational
components of a motion are used (
FALSE) or ignored (TRUE).
The default value of this property is
FALSE.
Example
This statement forces the model named Alien3 to remain at its starting position while executing
its motions, resulting in a character that will walk in place:
member("newalien").model("Alien3").keyframePlayer.rootLock = 1
rootNode
Usage
member(whichCastmember).camera(whichCamera).rootNode
sprite(whichSprite).camera.rootNode
Description
3D property; allows you to get or set which objects are visible within a sprite. When a camera is
first created, it shows all nodes within the world. The
rootNode property allows you to modify
this by creating a different default view that limits what’s shown to a particular node and
its children.
For example, light C is a child of model A., if you set the
rootNode property to
camera("defaultView").rootNode=model(A), the sprite will show only model A as
illuminated by light C. The default is group("world"), meaning that all nodes are used.
Example
The following statement sets the rootNode of the camera of sprite 5 to the model Pluto. Only
Pluto and its children will be visible in sprite 5.
sprite(5).camera.rootNode = member("Scene").model("Pluto")