MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 60

Extending flash
Table of Contents

Advertisement

Example
The following example traverses all the contours of the selected shape and shows the value of
the
property of each contour in the Output panel:
orientation
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, orientation:" + contour.orientation);
contourCount++;
}
elt.endEdit();
60
Objects
i++) {

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents