Document.enablefilter() – Adobe Extending Flash Professional CS4 User Manual
Page 119

97
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Usage
document.enableAllFilters()
Parameters
None.
Returns
Nothing.
Description
Method; enables all the filters on the Filters list for the selected object(s).
Example
The following example enables all the filters on the Filters list for the selected object(s):
fl.getDocumentDOM().enableAllFilters();
See also
,
,
,
document.enableFilter()
Availability
Flash 8.
Usage
document.enableFilter(filterIndex)
Parameters
filterIndex
An integer specifying the zero-based index of the filter in the Filters list to enable.
Returns
Nothing.
Description
Method; enables the specified filter for the selected object(s).
Example
The following example enables the second filter of the selected object(s):
fl.getDocumentDOM().enableFilter(1);
See also
,
,