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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.