Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > UIObject class > UIObject.width | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
componentInstance.width
Property (read-only); a number indicating the width of the object, in pixels. To change the width, call UIObject.setSize().
The following example makes the check box wider:
myCheckbox.setSize(myCheckbox.width + 10, myCheckbox.height);
Flash CS3