|
Flash CS4 Resources |
edge.cubicSegmentIndexAvailabilityFlash CS4 Professional. Usageedge.cubicSegmentIndex DescriptionRead-only property; an integer that specifies the index value of a cubic segment of the edge (see shape.getCubicSegmentPoints()). ExampleThe following code displays the index values of all the cubic segments of the specified edge: var theShape = fl.getDocumentDOM().selection[0];
var edgesArray = theShape.edges;
for(var i=0;i<edgesArray.length; i++) {
fl.trace(edgesArray[i].cubicSegmentIndex);
}
|