User Guide
Document object 131
document.timelines
Availability
Flash MX 2004.
Usage
document.timelines
Description
Read-only property; an array of Timeline objects (see Timeline object). See
document.getTimeline() and document.currentTimeline.
Example
The following example gets the array of current Timelines in the active document and displays
their names in the Output panel:
var i = 0;
var curTimelines = fl.getDocumentDOM().timelines;
while(i < fl.getDocumentDOM().timelines.length){
alert(curTimelines[i].name);
++i;
}
document.traceBitmap()
Availability
Flash MX 2004.
Usage
document.traceBitmap( threshold
, minimumArea, curveFit, cornerThreshold )
Parameters
threshold
An integer that controls the number of colors in your traced bitmap. Valid values
are integers between 0 and 500.
minimumArea An integer that specifies the radius measured in pixels. Valid values are integers
between 1 and 1000.
curveFit A string that specifies how smoothly outlines are drawn. Valid values are: "pixels",
"very tight", "tight", "normal", "smooth", and "very smooth".
cornerThreshold A string that is similar to curveFit, but it pertains to the corners of the
bitmap image. Valid values are:
"many corners", "normal", and "few corners".
Returns
Nothing.
Description
Method; performs a trace bitmap on the current selection. This method is equivalent to selecting
Modify > Bitmap > Trace Bitmap.