Using Director > Using Interactive Media Types > Controlling a Flash movies's appearance with Lingo > Controlling a Flash movie's bounding rectangle and registration points

 

Controlling a Flash movie's bounding rectangle and registration points

You can use to Lingo to control a Flash movie's bounding rectangle and to set a Flash movie's registration points.

To control which part of a Flash movie appears within its sprite's bounding rectangle, set the viewH, viewpoint, viewScale, and viewV properties. See viewH, viewPoint, viewScale, and viewV.

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. See defaultRect and defaultRectMode.

To determine the original size of a Flash cast member, test the flashRect property. See flashRect.

To specify a Flash movie's registration point around which scaling and rotation occurs, set the originH, originMode, originPoint, and originV properties. See originH, originMode, originPoint, and originV.

To recenter a Flash cast member's registration point after resizing the cast member, set the centerRegPoint property to TRUE. See centerRegPoint.