|
|
document.duplicateScene()
AvailabilityFlash
MX 2004.
Usagedocument.duplicateScene()
ReturnsA Boolean
value: true if the scene is duplicated successfully; false otherwise.
DescriptionMethod;
makes a copy of the currently selected scene, giving the new scene a
unique name and making it the current scene.
ExampleThe
following example duplicates the second scene in the current document:
fl.getDocumentDOM().editScene(1); //Set the middle scene to current scene.
var success = fl.getDocumentDOM().duplicateScene();
|