1056
Chapter 14: Properties
if sprite(10).trackType(5) = #text then
textFormat
end if
end
// JavaScript syntax
function checkForText() {
var tt = sprite(10).trackType(5);
if (tt = "text") {
textFormat();
}
}
trails
Usage
sprite(
whichSprite
).trails
the trails of sprite
whichSprite
Description
Sprite property; for the sprite specified by
whichSprite
, turns the trails ink effect on (1 or
TRUE
)
or off (0 or
FALSE
). For the value set by Lingo to last beyond the current sprite, the sprite must
be a scripted sprite.
To erase trails, animate another sprite across these pixels or use a transition.
Example
This statement turns on trails for sprite 7:
sprite(7).trails = 1
See also
directToStage
transform (property)
Usage
member(
whichCastmember
).node(
whichNode
).transform
member(
whichCastmember
).node(
whichNode
).transform.
transform
\
Property
member(
whichCastmember
).model(
whichModel
).bonesPlayer.\
bone[boneID].transform
member(
whichCastmember
).model(
whichModel
).bonesPlayer.\
bone[boneID].transform.
transformProperty
Description
3D property and command; allows you to get or set the transform associated with a particular
node or a specific bone within a model using the
bonesPlayer
modifier. As a command,
transform
provides access to the various commands and properties of the transform object. A
node can be a camera, group, light or model object.
For node objects, this property defaults to the identity transform. A node’s transform defines the
position, rotation and scale of the node relative to is parent object. If a node’s parent is the World
group object, then the
transform
property of the node has the same value as is returned by the
getWorldTransform()
command.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...