Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Point (flash.geom.Point) > x (Point.x property) | |||
public x : Number
The horizontal coordinate of the point. The default value is 0.
Availability: ActionScript 1.0; Flash Player 8
The following example creates a Point object myPoint and sets the x coordinate value.
import flash.geom.Point; var myPoint:Point = new Point(); trace(myPoint.x); // 0 myPoint.x = 5; trace(myPoint.x); // 5
Flash CS3