contour.interior
Availability
Flash MX 2004.
Usage
contour.interior
Description
Read-only property; the value is
Example
This example traverses all the contours in the selected shape and shows the value of the
property for each contour in the Output panel:
interior
var elt = fl.getDocumentDOM().selection[0];
elt.beginEdit();
var contourArray = elt.contours;
var contourCount = 0;
for (i=0;
i<contourArray.length;
var contour = contourArray[i];
fl.trace("Next Contour, interior:" + contour.interior );
contourCount++;
}
elt.endEdit();
contour.orientation
Availability
Flash MX 2004.
Usage
contour.orientation
Description
Read-only property; an integer indicating the orientation of the contour. The value of the
integer is -1 if the orientation is counterclockwise, 1 if it is clockwise, and 0 if it is a contour
with no area.
if the contour encloses an area;
true
i++) {
otherwise.
false
Contour object
59
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers