User Guide
1380 UIObject class
Description
Property; a number indicating the scaling factor in the x direction of the object, relative to
its parent.
Example
The following example makes the check box twice as wide and sets the tmp variable to the
horizontal scale factor:
checkbox.scaleX = 200;
var tmp:Number = checkbox.scaleX;
UIObject.scaleY
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
componentInstance.scaleY
Description
Property; a number indicating the scaling factor in the y direction of the object, relative to
its parent.
Example
The following example makes the check box twice as high and sets the tmp variable to the
vertical scale factor:
checkbox.scaleY = 200;
var tmp:Number = checkbox.scaleY;