Button._xscale

Availability

Flash Player 6.

Usage

my_btn._xscale

Description

Property; the horizontal scale of the button as applied from the registration point of the button, expressed as a percentage. The default registration point is (0,0).

Scaling the local coordinate system affects the _x and _y property settings, which are defined in pixels. For example, if the parent movie clip is scaled to 50%, setting the _x property moves an object in the button by half the number of pixels as it would if the SWF file were at 100%.

See also

Button._x, Button._y, Button._yscale