
81
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Description
Method; determines whether you can use the document.testMovie() method successfully.
Example
The following example tests whether fl.getDocumentDOM().testMovie() can be used. If so, it calls the method.
if(fl.getDocumentDOM().canTestMovie()){
fl.getDocumentDOM().testMovie();
}
See also
document.canTestScene(), document.testScene()
document.canTestScene()
Availability
Flash MX 2004.
Usage
document.canTestScene()
Parameters
None.
Returns
A Boolean value: true if you can use the document.testScene() method successfully; false otherwise.
Description
Method; determines whether you can use the document.testScene() method successfully.
Example
The following example first tests whether fl.getDocumentDOM().testScene() can be used successfully. If so, it calls the
method.
if(fl.getDocumentDOM().canTestScene()){
fl.getDocumentDOM().testScene();
}
See also
document.canTestMovie(), document.testMovie()
document.changeFilterOrder()
Availability
Flash 8.
Komentáře k této Příručce