Button._yscale
Availability
Flash Player 6.
Usage
my_btn._yscale:Number
Description
Property; the vertical scale of the button as applied from the registration point of the button,
expressed as a percentage. The default registration point is (0,0).
Example
The following example scales a button called my_btn. When you click and release the button, it
grows 10% on the x and y axis. Enter the following ActionScript in Frame 1 of the Timeline:
my_btn.onRelease = function(){
this._xscale *= 1.1;
this._yscale *= 1.1;
};
See also
Button._y, Button._x,
172
Chapter 2: ActionScript Language Reference
Button._xscale
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?