Document.disablefilter(), Document.disableotherfilters() – Adobe Extending Flash Professional CS5 User Manual
Page 112
90
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
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)