UIObject.scaleX

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

componentInstance.scaleX

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 = checkbox.scaleX;