MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1056

Director scripting reference
Table of Contents

Advertisement

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
or off (0 or
FALSE
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
provides access to the various commands and properties of the transform object. A
transform
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
getWorldTransform()
1056
Chapter 14: Properties
). For the value set by Lingo to last beyond the current sprite, the sprite must
property of the node has the same value as is returned by the
transform
command.
, turns the trails ink effect on (1 or
whichSprite
modifier. As a command,
bonesPlayer
)
TRUE

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents