User Guide

92 Objects
The following example changes the active timeline from the main timeline to a scene named
"myScene".
var i = 0;
var curTimelines = fl.getDocumentDOM().timelines;
while(i < fl.getDocumentDOM().timelines.length){
if(curTimelines[i].name == "myScene"){
fl.getDocumentDOM().currentTimeline = i;
}
++i;
}
See also
document.getTimeline()
document.deleteEnvelope()
Availability
Flash 8.
Usage
document.deleteEnvelope();
Parameters
None.
Returns
A Boolean value: true if successful; false otherwise.
Description
Method; deletes the envelope (bounding box that contains one or more objects) from the
selected objects.
Example
The following example deletes the envelope from the selected objects:
fl.getDocumentDOM().deleteEnvelope();
See also
document.crop(), document.intersect(), document.punch(), document.union(),
shape.isDrawingObject