Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Button > _width (Button._width property) | |||
public _width : Number
The width of the button, in pixels.
Availability: ActionScript 1.0; Flash Player 6
The following example increases the width property of a button called my_btn, and displays the 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;
};
_width (MovieClip._width property)
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001471.html