beautypg.com

Adobe Extending Flash Professional CS4 User Manual

Page 77

background image

55

EXTENDING FLASH CS4 PROFESSIONAL

Contour object

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

elt.beginEdit();

var contourArray = elt.contours;

var contourCount = 0;

for (i=0;i

var contour = contourArray[i];

fl.trace("Next Contour, orientation:" + contour.orientation);

contourCount++;

}

elt.endEdit();