User Guide
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.