Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > UIObject class > UIObject.x | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
componentInstance.x
Property (read-only); a number indicating the left edge of the object, in pixels. To set this property, call UIObject.move().
The following example moves the check box 10 pixels to the right:
myCheckbox.move(myCheckbox.x + 10, myCheckbox.y);
Flash CS3