 |
The _x and _y properties are in
pixels, with the upper left corner of the Stage being (0, 0). |
|
The _x and _y properties
are specified in the local coordinate system of the movie clip's
parent. 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. |
|
For example, suppose that animated movie clip A
sets the _x property for every frame in order to
animate a circle moving from the left to the right. If you place
movie clip A into movie clip B, which is rotated 90 degrees
counterclockwise, the circle in movie clip A will travel from
bottom to top instead of left to right, even though the _x
property is being set. The rotation of the parent movie clip has
rotated the coordinate system of the children. |
 |
The movie clip's coordinates refer to the registration point
position. If Use Center Point is checked in the Object Properties
dialog box, the center point location is the registration point.
Otherwise, the center point location is the upper left corner of
the object. |
 |
_xscale and _yscale are measured in
percentages with the default set to 100. Scaling is applied from
the registration point of the movie clip. |
|
Scaling of the local coordinate system affects what
the _x and _y properties mean. At the
top level, the _x and _y properties are
values in whole pixels. In the example of a moving circle, if the
parent movie clip is scaled to 50%, setting the _x
property moves the circle half the number of pixels as when the
scale was 100%. |
 |
_rotation is set in degrees. |
 |
The _x, _y, _rotation, _xscale
and _yscale properties are all cumulative. They
transform not only the movie clip but any children the movie clip
has. They are affected by the transformations on the movie clips'
parent. |
 |
_url is the URL where the movie clip resides. |
 |
_visible can be set to True (default) or False. If
False, the movie hides the movie clip instance and it is not
"hit"tested. The button or frame actions in that clip
will not work. |