_xscale

Availability

Flash Lite 1.0.

Usage

my_mc:_xscale

Description

Property; sets the horizontal scale (percentage) of the movie clip, as applied from the registration point of the movie clip. 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 movie clip by half of the number of pixels that it would if the movie were set at 100%.

Example

The following example changes the horizontal scale of the my_mc movie clip when the user presses the 7 key:

on(keyPress "7") {
    my_mc:_xscale = 10;
} 

See also

_x, _y, _yscale