EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 542

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 clips children inherit a coordinate system that
is rotated 90 degrees counterclockwise. The movie clips coordinates refer to the registration
point position.
See also
MovieClip._x, MovieClip._xscale, MovieClip._yscale

Table of Contents

Related product manuals