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()
.
Содержание 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 ...