EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Yscale (Button._Yscale Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
380 ActionScript classes
mouse_txt.htmlText = table_str;
};
Mouse.addListener(mouseListener);
See also
_xmouse (Button._xmouse property)
_yscale (Button._yscale property)
public _yscale : Number
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).
Availability: ActionScript 1.0; Flash Player 6
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
_y (Button._y property), _x (Button._x property), _xscale (Button._xscale
property)

Table of Contents

Related product manuals