Example
The 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();
document.duplicateSelection()
Availability
Flash MX 2004.
Usage
document.duplicateSelection()
Parameters
None.
Returns
Nothing.
Description
Method; duplicates the selection on the Stage.
Example
The following example duplicates the current selection, which is similar to Alt-clicking and
then dragging an item:
fl.getDocumentDOM().duplicateSelection();
document.editScene()
Availability
Flash MX 2004.
Usage
document.editScene( index )
Parameters
A zero-based integer that specifies which scene to edit.
index
Returns
Nothing.
Document object
101
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?