218
Objects
filter.quality
Availability
Flash 8.
Usage
filter.quality
Description
Property; a string that specifies the blur quality. Acceptable values are
"low"
,
"medium"
, and
"high"
(
"high"
is similar to a Gaussian blur). This property is defined for Filter objects with
a value of
"bevelFilter"
,
"blurFilter"
,
"dropShadowFilter"
,
“glowFilter"
,
"gradientGlowFilter"
, or
"gradientBevelFilter"
for the
filter.name
property.
Example
The following example sets the blur quality to
"medium"
for the Glow filters on the selected
object(s):
var myFilters = fl.getDocumentDOM().getFilters();
for(i=0; i < myFilters.length; i++){
if(myFilters[i].name == 'glowFilter'){
myFilters[i].quality = 'medium';
}
}
fl.getDocumentDOM().setFilters(myFilters);
See also
document.setFilterProperty()
filter.saturation
Availability
Flash 8.
Usage
filter.saturation
Description
Property; a float value that specifies the saturation value of the filter. Acceptable values are
from -100 to 100. This property is defined for Filter objects with a value of
"adjustColorFilter"
for the
filter.name
property.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...