EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 504

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...
504 Chapter 12: Methods
Example
This command removes the model named gbCyl from the 3D world of the cast member
named Scene:
member("Scene").model("gbCyl").removeFromWorld()
removeLast()
member(whichCastmember).model(whichModel).bonesPlayer.removeLast()
member(whichCastmember).model(whichModel).keyframePlayer.\
removeLast()
Description
3D keyframePlayer and bonesPlayer modifier command; removes the last motion from the
modifier’s
playlist.
Parameters
None.
Example
This statement removes the last motion from the playlist of the bonesPlayer modifier for the
model named Walker:
member("MyWorld").model("Walker").bonesPlayer.removelast()
removeModifier
Usage
member(whichCastmember).model(whichModel).removeModifier.\
(#whichModifier)
Description
3D command; removes the specified modifier from the specified model.
This command returns
TRUE if it completes successfully, and FALSE if #whichModifier is not a
valid modifier, or if the modifier was not attached to the model.
Parameters
whichModifier Required. Specifies the modifier to remove.
Example
This statement removes the #toon modifier from the model named Box:
member("shapes").model("Box").removeModifier(#toon)
See also
addModifier, modifier, modifier[], modifiers