MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 293

Extending flash
Table of Contents

Advertisement

halfEdge.id
Availability
Flash MX 2004.
Usage
halfEdge.id
Description
Read-only property; a unique integer identifier for the HalfEdge object.
Example
The following example displays a unique identifier for the specified half edge in the
Output panel:
var shape = fl.getDocumentDOM().selection[0];
alert(shape.contours[0].getHalfEdge().id);
halfEdge.index
Availability
Flash MX 2004.
Usage
halfEdge.index
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;
HalfEdge object
293

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents