Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 518 Bytes

File metadata and controls

23 lines (13 loc) · 518 Bytes

shape.vertices

Availability

Flash MX 2004.

Usage

shape.vertices

Description

Read-only property; an array of Vertex objects (see Vertex object).

Example

The following example stores the first selected object in the someShape variable, and then shows the number of vertices for that object in the Output panel:

var someShape = fl.getDocumentDOM().selection[0];
fl.trace("The shape has " + someShape.vertices.length + " vertices.");