Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.09 KB

File metadata and controls

31 lines (18 loc) · 1.09 KB

document.addFilter()

Availability

Flash 8.

Usage

document.addFilter(filterName)

Parameters

filterName A string specifying the filter to be added to the Filters list and enabled for the selected objects. Acceptable values are "adjustColorFilter", "bevelFilter", "blurFilter", "dropShadowFilter", "glowFilter", "gradientBevelFilter", and "gradientGlowFilter".

Returns

Nothing.

Description

Method; applies a filter to the selected objects and places the filter at the end of the Filters list.

Example

The following example applies a glow filter to the selected objects:
fl.getDocumentDOM().addFilter("glowFilter");

See also

document.changeFilterOrder(), document.disableFilter(), document.enableFilter(), document.getFilters(), document.removeFilter(), document.setBlendMode(), document.setFilterProperty()