542 Chapter 12: ActionScript Dictionary
MovieClip._xscale
Availability
Flash Player 4.
Usage
my_mc._xscale
Description
Property; determines 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
whole 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 the number of pixels as it would if the movie were set at 100%.
See also
MovieClip._x
, MovieClip._y, MovieClip._yscale
MovieClip._y
Availability
Flash Player 3.
Usage
my_mc._y
Description
Property; sets the y coordinate of a movie clip relative to the local coordinates of the parent movie
clip. If a movie clip is in the main Timeline, then its coordinate system refers to the upper left
corner of the Stage as (0, 0). If the move clip is inside another movie clip that has transformations,
the movie clip is in the local coordinate system of the enclosing movie clip. Thus, for a movie clip
rotated 90 degrees counterclockwise, the movie clip’s children inherit a coordinate system that
is rotated 90 degrees counterclockwise. The movie clip’s coordinates refer to the registration
point position.
See also
MovieClip._x, MovieClip._xscale, MovieClip._yscale