Document object
101
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
index
A zero-based integer that specifies which scene to edit.
Returns
Nothing.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...