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);