MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 310

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

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
pixels. For example, if the parent movie clip is scaled to 50%, setting the
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._y
Availability
Flash Player 6.
Usage
my_btn._y
Description
Property; the y coordinate of the button relative to the local coordinates of the parent movie clip.
If a button is in the main Timeline, its coordinate system refers to the upper left corner of the
Stage as (0, 0). If the button is inside another movie clip that has transformations, the button is in
the local coordinate system of the enclosing movie clip. Thus, for a movie clip rotated 90 degrees
counterclockwise, the enclosed button inherits a coordinate system that is rotated 90 degrees
counterclockwise. The button's coordinates refer to the registration point position.
See also
Button._x, Button._xscale,
310
Chapter 12: ActionScript Dictionary
Button._yscale
Button._yscale
and
property settings, which are defined in
_x
_y
property moves an
_x

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents