Chapter 3
82
Using traditional Lingo syntax, the script is written as:
on mouseEnter
set the autoMask of member 5 = TRUE
end
on mouseLeave
set the autoMask of member 5 = FALSE
end
autoTab
Syntax
member(
whichCastMember
).autoTab
the autoTab of member
whichCastMember
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.
This property is always
TRUE
in an applet created with the Save as Java feature of Director.
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.
Dot syntax:
member ("Comments").autotab = TRUE
Verbose Lingo syntax:
set the autoTab of member "Comments" to TRUE
axisAngle
Syntax
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]
.
Examples
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)
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...