Document.disablefilter(), Document.disableotherfilters() – Adobe Extending Flash Professional CS4 User Manual
Page 113

91
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Example
The following example disables all filters on the selected objects:
fl.getDocumentDOM().disableAllFilters();
See also
,
document.disableOtherFilters()
,
document.disableFilter()
Availability
Flash 8.
Usage
document.disableFilter(filterIndex)
Parameters
filterIndex
An integer representing the zero-based index of the filter in the Filters list.
Returns
Nothing.
Description
Method; disables the specified filter in the Filters list.
Example
The following example disables the first and third filters (index values of 0 and 2) in the Filters list from the selected
object(s):
fl.getDocumentDOM().disableFilter(0);
fl.getDocumentDOM().disableFilter(2);
See also
,
document.disableOtherFilters()
,
,
document.disableOtherFilters()
Availability
Flash 8.
Usage
document.disableOtherFilters(enabledFilterIndex)