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

Example

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

Version 8

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00002606.html