beautypg.com

Document.enablefilter() – Adobe Extending Flash Professional CS5 User Manual

Page 118

background image

96

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

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.addFilter()

,

document.changeFilterOrder()

,

document.disableAllFilters()

,

document.enableFilter()

,

document.getFilters()

,

document.removeAllFilters()

,

Filter object

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

document.addFilter()

,

document.changeFilterOrder()

,

document.disableFilter()

,

document.enableAllFilters()

,

document.getFilters()

,

document.removeFilter()

,

Filter object

This manual is related to the following products: