Table of Contents

Button._y Property Flash 6

vertical location of the button, in pixels read/write
theButton._y

Description

The floating-point _y property indicates the vertical position of theButton's registration point. It is measured relative to one of two possible coordinate spaces:

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


Table of Contents