
Button._ymouse Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
478
|
ActionScript Language Reference
The _y property (along with all vertical coordinates in Flash) increases downward and
decreases upward—the opposite of the Cartesian coordinate system.
Button._y is directly analogous to MovieClip._y; see that property entry for full details.
Example
// Place quit_btn directly on its parent's registration point.
quit_btn._x = 0;
quit_btn._y = 0;
See Also
Button._x, MovieClip._y
Button._ymouse Property
vertical location of mouse pointer, relative to the button’s registration point
Flash 6
read-only
theButton._ymouse
Description
The floating-point _ymouse property indicates the vertical location of the mouse pointer’s
hotspot, relative to
theButton’s registration point. To obtain a consistent _ymouse coordi-
nate that is always measured relative to the Stage, use
_root._ymouse.
See Also
Button._xmouse, MovieClip._ymouse
Button._yscale Property
height of a button, as a percentage
Flash 6
read/write
theButton._yscale
Description
The floating-point _yscale property specifies the height of theButton, relative to its original
height, expressed as a percentage. Its “original height” is the pixel height of its Library
symbol. When the current height of
theButton is the same as its original height, _yscale is
100. A
_yscale of 300 triples theButton’s