User Guide

UIObject class 823
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 = 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 = checkbox.scaleY;
UIObject.setSize()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.setSize(width, height)
Parameters
width
A number that indicates the width of the object, in pixels.
height A number that indicates the height of the object, in pixels.
Returns
Nothing.