Adobe Extending Flash Professional CS5 User Manual
Page 409
Advertising

387
EXTENDING FLASH PROFESSIONAL
Shape object
Last updated 5/2/2011
Description
Read-only property; an array of Vertex objects (see
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.");
Advertising
This manual is related to the following products: