User Guide

Using Flash and Other Interactive Media Types 299
Controlling a Flash movie’s bounding rectangle and registration points
You can use to Lingo to control a Flash movies bounding rectangle and to set a Flash movies
registration points. For more information, see the Lingo Dictionary.
To control which part of a Flash movie appears within its sprite’s bounding rectangle, set the
viewH, viewpoint, viewScale, and viewV properties.
To control the default size for all new Flash sprites, set the defaultRect property. Use the
defaultRectMode property to control how the default size is set.
To determine the original size of a Flash cast member, test the flashRect property.
To specify a Flash movies registration point around which scaling and rotation occurs, set the
originH, originMode, originPoint, and originV properties.
To center a Flash cast members registration point after resizing the cast member, set the
centerRegPoint property to TRUE.
Placing Flash movies on the Stage
Lingo can set whether a Flash movie appears at the front of the Stage and whether specific areas of
a Flash movie and the Stage overlap. For more information, see the Lingo Dictionary.
To determine whether a Flash movie plays in front of all other layers on the Stage and whether
ink effects work, set the
directToStage property.
To determine which Stage coordinate coincides with a specified coordinate in a Flash movie,
use the
flashToStage() function.
To determine which Flash movie coordinate coincides with a specified coordinate on the
Director Stage, use the
stageToFlash function.
To improve performance for a Director movie that uses a static (not animated) Flash movie, set
the
static property.
To control whether a Flash movies graphics are visible, set the imageEnabled property.
To control whether a Flash movie plays sounds, set the sound property.
To control whether Director uses anti-aliasing to render a Flash movie, set the quality
property.