User Guide

104 Objects
Returns
Nothing.
Description
Method; switches the authoring tool into the editing mode specified by the parameter. If no
parameter is specified, the method defaults to symbol-editing mode, which has the same result
as right-clicking the symbol to invoke the context menu and selecting Edit.
Example
The following example puts Flash in edit-in-place mode for the currently selected symbol:
fl.getDocumentDOM().enterEditMode('inPlace');
The following example puts Flash in edit-in-new-window mode for the currently selected
symbol:
fl.getDocumentDOM().enterEditMode('newWindow');
See also
document.exitEditMode()
document.exitEditMode()
Availability
Flash MX 2004.
Usage
document.exitEditMode()
Parameters
None.
Returns
Nothing.
Description
Method; exits from symbol-editing mode and returns focus to the next level up from the
editing mode. For example, if you are editing a symbol inside another symbol, this method
takes you up a level from the symbol you are editing, into the parent symbol.