Chapter 16: filter object, Filter object, Filter – Adobe Extending Flash Professional CS4 User Manual
Page 228: Object
206
Chapter 16: Filter object
Availability
Flash 8.
Description
This object contains all the properties for all filters. The
filter.name
property specifies the type of filter, and
determines which properties are applicable to each filter. See
.
To return the filter list for an object or objects, use
document.getFilters()
. To apply filters to an object or objects,
use
document.setFilters()
. See
.
Property summary
The following properties can be used with the Filter object:
Property
Description
A float value that specifies the angle of the shadow or highlight color, in degrees.
A float value that specifies the amount to blur in the x direction, in pixels.
A float value that specifies the amount to blur in the y direction.
A float value that specifies the brightness of the filter.
A string, hexadecimal value, or integer that represents the filter color.
A float value that specifies the contrast value of the filter.
A float value that specifies the distance between the filter’s effect and an object, in pixels.
A Boolean value that specifies whether the specified filter is enabled.
A Boolean value that specifies whether the source image is hidden.
A string, hexadecimal value, or integer that represents the highlight color.
A float value that specifies the hue of the filter.
A Boolean value that specifies whether the shadow is an inner shadow.
A Boolean value that specifies whether the filter is a knockout filter.
Read-only; a string that specifies the type of filter.
A string that specifies the blur quality.
A float value that specifies the saturation value of the filter.
A string, hexadecimal value, or integer that represents the shadow color.
An integer that specifies the percentage strength of the filter.
A string that specifies the type of bevel or glow.