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
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()
shape.isDrawingObject
92
Objects
if successful;
otherwise.
false
,
document.punch()
,
document.union()
,
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers