Button._Y - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Button._y

Availability
Flash Player 6.
Usage
my_btn._y:Number
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 º
counterclockwise, the enclosed button inherits a coordinate system that is rotated 90 º
counterclockwise. The button's coordinates refer to the registration point position.
Example
The following example sets the coordinates of
and enter the following ActionScript in Frame 1 of the Timeline:
my_btn
my_btn._x = 0;
my_btn._y = 0;
See also
Button._x, Button._xscale,
170
Chapter 2: ActionScript Language Reference
my_btn
Button._yscale
to 0 on the Stage. Create a button called

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents