MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 209

Extending flash
Table of Contents

Advertisement

Property
filter.knockout
filter.name
filter.quality
filter.saturation
filter.shadowColor
filter.strength
filter.type
filter.angle
Availability
Flash 8.
Usage
filter.angle
Description
Property; a float value that specifies the angle of the shadow or highlight color, in degrees.
Acceptable values are between 0 and 360. This property is defined for Filter objects with a
value of
"bevelFilter"
"gradientGlowFilter"
Example
The following example sets the angle to 120 for the Bevel filters on the selected object(s):
var myFilters = fl.getDocumentDOM().getFilters();
for(i=0; i < myFilters.length; i++) {
if(myFilters[i].name == 'bevelFilter'){
myFilters[i].angle = 120;
}
}
fl.getDocumentDOM().setFilters(myFilters);
See also
document.setFilterProperty()
Description
A Boolean value that specifies whether the filter is a
knockout filter (
A string that specifies the type of filter (read-only
property).
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.
,
"dropShadowFilter"
for the
filter.name
) or not (
true
false
,
"gradientBevelFilter"
property.
).
, or
Filter object
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents