Document.cantestscene(), Document.changefilterorder() – Adobe Extending Flash Professional CS4 User Manual
Page 103
81
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Description
Method; determines whether you can use the
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()
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
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.changeFilterOrder()
Availability
Flash 8.