MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 212

Extending flash
Table of Contents

Advertisement

Description
Property; the color of the filter, in one of the following formats:
A string in the format
A hexadecimal number in the format
An integer that represents the decimal equivalent of a hexadecimal number
This property is defined for Filter objects with a value of
for the
"glowFilter"
Example
The following example sets the color to
selected object(s):
var myFilters = fl.getDocumentDOM().getFilters();
for(i=0; i < myFilters.length; i++){
if(myFilters[i].name == 'dropShadowFilter'){
myFilters[i].color = '#ff00003e';
}
}
fl.getDocumentDOM().setFilters(myFilters);
See also
document.setFilterProperty()
filter.contrast
Availability
Flash 8.
Usage
filter.contrast
Description
Property; a float value that specifies the contrast value of the filter. Acceptable values are
between -100 and 100. This property is defined for Filter objects with a value of
"adjustColorFilter"
212
Objects
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
property.
filter.name
"#ff00003e"
for the
filter.name
"dropShadowFilter"
for the Drop Shadow filters on the
property.
or

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents