beautypg.com

Adobe Extending Flash Professional CS5 User Manual

Page 330

background image

308

EXTENDING FLASH PROFESSIONAL

HalfEdge object

Last updated 5/2/2011

Description
Read-only property; an integer with a value of 0 or 1 that specifies the index for this HalfEdge object in the parent edge.

Example
The following example displays the index value for the specified half edge in the Output panel:

var shape = fl.getDocumentDOM().selection[0];

var hEdge = shape.edges[0].getHalfEdge(0);

var heIndex = hEdge.index;

This manual is related to the following products: