Description
Method; indicates whether the Edit Symbols menu and functionality are enabled. This is not
related to whether the selection can be edited. This method should not be used to test
whether
fl.getDocumentDOM().enterEditMode()
Example
The following example displays in the Output panel the state of the Edit Symbols menu and
functionality:
fl.trace("fl.getDocumentDOM().canEditSymbol() returns: " +
fl.getDocumentDOM().canEditSymbol());
document.canRevert()
Availability
Flash MX 2004.
Usage
document.canRevert()
Parameters
None.
Returns
A Boolean value:
true
methods successfully;
Description
Method; determines whether you can use the
fl.revertDocument()
Example
The following example checks whether the current document can revert to the previously
saved version. If so,
fl.getDocumentDOM().revert()
if(fl.getDocumentDOM().canRevert()){
fl.getDocumentDOM().revert();
}
if you can use the
document.revert()
otherwise.
false
method successfully.
is allowed.
or
fl.revertDocument()
document.revert()
restores the previously saved version.
or
Document object
83
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?