86
Chapter 3: Objects
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.
Description
Method; makes the specified scene the currently selected scene for editing.
Example
Assuming that there are three scenes (
Scene0
,
Scene1
, and
Scene2
) in the current document, the
following example makes
Scene2
the current scene and then deletes it:
fl.getDocumentDOM().editScene(2);
fl.getDocumentDOM().deleteScene();
document.enterEditMode()
Availability
Flash MX 2004.
Usage
document.enterEditMode( [
editMode
] )
Parameters
editMode
A string that specifies the editing mode. Valid values are
"inPlace"
or
"newWindow"
. If no parameter is specified, the default is symbol-editing mode. This parameter is
optional.
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...