Point (flash.geom.Point)

Object
  |
  +-flash.geom.Point

public class Point
extends Object

The Point class represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.

The following code creates a point at (0,0):

var myPoint:Point = new Point();

Availability: ActionScript 1.0; Flash Player 8

Property summary

ModifiersPropertyDescription
 length:NumberThe length of the line segment from (0,0) to this point.
 x:NumberThe horizontal coordinate of the point.
 y:NumberThe vertical coordinate of the point.

Properties inherited from class Object

constructor (Object.constructor property),
 __proto__ (Object.__proto__
property), prototype (Object.prototype property),
 __resolve (Object.__resolve ...

Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.