648
Chapter 14: Properties
autoTab
Usage
-- Lingo syntax
memberObjRef
.autoTab
// JavaScript syntax
memberObjRef
.autoTab;
Description
Cast member property; determines the effect that pressing the Tab key has on the editable field or
text cast member specified by
whichCastMember
. The property can be made active (
TRUE
) or
inactive (
FALSE
). Tabbing order depends on sprite number order, not position on the Stage.
Example
This statement causes the cast member Comments to automatically advance the insertion point
to the next editable field or text sprite after the user presses Tab.
--Lingo syntax
member ("Comments").autotab = TRUE
// JavaScript syntax
member ("Comments").autotab = true;
axisAngle
Usage
member(
whichCastmember
).model(
whichModel
).transform.axisAngle
member(
whichCastmember
).camera(
whichCamera
).transform.axisAngle
member(
whichCastmember
).light(
whichLight
).transform.axisAngle
member(
whichCastmember
).group(
whichGroup
).transform.axisAngle
transformReference.axisAngle
Description
3D transform property; describes the transform’s rotation as an axis/angle pair.
The
axisAngle
property is a linear list containing a vector (the axis) and a float (the angle).
The vector is the axis around which the transform is rotated. The float is the amount, in degrees,
of rotation.
The default value of this property is
[vector( 1.0000, 0.0000, 0.0000 ), 0.0000]
.
Example
This statement shows the rotation of the model named Mailbox as an axisAngle. The model is
rotated 145.5 degrees counterclockwise about the y axis.
put member("Yard").model("Mailbox").transform.axisAngle
-- [vector( 0.0000, 1.0000, 0.0000 ), -145.5000]
See also
rotation (transform)
Summary of Contents for DIRECTOR MX 2004
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...