Document object
75
document.canRevert()
Availability
Flash MX 2004.
Usage
document.canRevert()
Parameters
None.
Returns
A Boolean value:
true
if you can use the
document.revert()
or
fl.revertDocument()
methods successfully;
false
otherwise.
Description
Method; determines whether you can use the
document.revert()
or
fl.revertDocument()
method successfully.
Example
The following example checks whether the current document can revert to the previously saved
version. If so,
fl.getDocumentDOM().revert()
restores the previously saved version.
if(fl.getDocumentDOM().canRevert()){
fl.getDocumentDOM().revert();
}
document.canTestMovie()
Availability
Flash MX 2004.
Usage
document.canTestMovie()
Parameters
None.
Returns
A Boolean value:
true
if you can use the
document.testMovie()
method successfully:
false
otherwise.
Description
Method; determines whether you can use the
document.testMovie()
method successfully. See
document.canTestScene()
and
document.testScene()
.
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...