
Chapter 11
298
Flipping, rotating, and skewing Flash sprites
Lingo can flip, rotate, and skew Flash sprites as the movie plays. For more information, see the
Lingo Dictionary.
•
To flip a Flash sprite, set the
flipH
and
flipV
sprite properties.
•
To skew a Flash sprite, set the
skew
sprite property.
•
To rotate a Flash sprite, set the
rotation
property. Set the
obeyScoreRotation
property to
specify whether a Flash sprite obeys the rotation specified in the Score.
If
obeyScoreRotation
is set to
TRUE
, Director ignores the cast member’s
rotation
property and obeys
the Score rotation settings instead.
Colorizing and blending Flash sprites
You can use Lingo to change a sprite’s color and blend as the Director movie plays. For more
information, see the Lingo Dictionary.
To specify the color of a Flash sprite:
•
Set the
color
sprite property.
To specify the blend for a Flash sprite:
•
Set the
blend
sprite property.
Scaling Flash movies
You can use Lingo to scale Flash cast members and sprites. For more information, see the
Lingo Dictionary.
To control the scaling of a Flash movie:
•
Set the
scale
and
scaleMode
properties.
To set the scale percentage of a Flash movie within its sprite’s bounding rectangle:
•
Set the
viewScale
property.
Obeying a Flash movie’s cursor settings
Flash movies can be designed to use different cursors depending on which part of the Flash movie
the mouse pointer is rolled over. To allow a Flash sprite to use the cursor settings defined in the
Flash movie, attach the Flash Cursor behavior to the Flash sprite.
To write your own Lingo to test the cursor settings of the Flash movie, use the
getFlashProperty()
function and test for the
#cursor
property.
Summary of Contents for Director MX
Page 1: ...Using Director MX Macromedia Director MX ...
Page 12: ...Contents 12 ...
Page 156: ...Chapter 4 156 ...
Page 202: ...Chapter 6 202 ...
Page 244: ...Chapter 7 244 ...
Page 292: ...Chapter 10 292 ...
Page 330: ...Chapter 12 330 ...
Page 356: ...Chapter 13 356 ...
Page 372: ...Chapter 14 372 ...
Page 442: ...Chapter 16 442 ...
Page 472: ...Chapter 18 472 ...
Page 520: ...Chapter 19 520 ...
Page 536: ...Chapter 20 536 ...
Page 562: ...Chapter 23 562 ...
Page 566: ...Chapter 24 566 ...
Page 602: ...Chapter 27 602 ...