User Guide

Document object 85
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.
Usage
document.changeFilterOrder( oldIndex, newIndex )
Parameters
oldIndex An integer that represents the current zero-based index position of the filter you
want to reposition in the Filters list.
newIndex An integer that represents the new index position of the filter in the list.
Returns
Nothing.
Description
Method; changes the index of the filter in the Filter list. Any filters above or below newIndex
are shifted up or down accordingly. For example, using the filters shown below, if you issue
the command
fl.getDocumentDOM().changeFilterOrder(3, 0), the filters are rearranged
as follows:
Before: blurFilter, dropShadowFilter, glowFilter, gradientBevelFilter
After: gradientBevelFilter, blurFilter, dropShadowFilter, glowFilter