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();