Button._width
Availability
Flash Player 6.
Usage
my_btn._width:Number
Description
Property; the width of the button, in pixels.
Example
The following example increases the width property of a button called
width in the Output panel. Enter the following ActionScript in Frame 1 of the Timeline:
my_btn.onRelease = function() {
trace(this._width);
this._width *= 1.1;
};
See also
MovieClip._width
166
Chapter 2: ActionScript Language Reference
, and displays the
my_btn
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