User Guide

optionDown 901
The smoothness of the cylinders surface depends upon the value specified for this property. The
greater the property value the smoother the cylinders surface will appear.
Example
This statement sets the numSegments property of the model resource named Cylinder03 to 10:
member("3D World").modelResource("Cylinder03").numSegments = 10
obeyScoreRotation
Usage
member(flashMember).obeyScoreRotation
Description
Flash cast member property; set to TRUE or FALSE to determine if a Flash movie sprite uses the
rotation information from the Score, or the older rotation property of Flash assets.
This property is automatically set to
FALSE for all movies created in Director prior to version 7 in
order to preserve old functionality of using the member rotation property for all sprites
containing that Flash member.
New assets created in version 7 or later will have this property automatically set to
TRUE.
If set to
TRUE, the rotation property of the member is ignored and the Score rotation settings are
obeyed instead.
Example
The following sprite script sets the obeyScoreRotation property of cast member "dalmation" to 1
(
TRUE), then rotates the sprite which contains the cast member 180°.
on mouseUp me
member("dalmation").obeyScoreRotation = 1
sprite(1).rotation = sprite(1).rotation + 180
end
This property can be tested and set.
See also
rotation
optionDown
Usage
-- Lingo syntax
_key.optionDown
// JavaScript syntax
_key.optionDown;
Description
Key property; determines whether the user is pressing the Alt key (Windows) or the Option key
(Macintosh). Read-only.
This property returns
TRUE if the user is pressing the Alt or Option key; otherwise, it
returns FALSE.