EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 309

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...
Button._xmouse 309
Button._x
Availability
Flash Player 6.
Usage
my_btn._x
Description
Property; an integer that sets the x coordinate of a button relative to the local coordinates of the
parent movie clip. If a button is on the main Timeline, then its coordinate system refers to the
upper left corner of the Stage as (0, 0). If the button is inside a 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 buttons coordinates refer to the
registration point position.
See also
Button._xscale, Button._y, Button._yscale
Button._xmouse
Availability
Flash Player 6.
Usage
my_btn._xmouse
Description
Property (read-only); returns the x coordinate of the mouse position relative to the button.
See also
Button._ymouse

Table of Contents

Related product manuals