MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 219

Extending flash
Table of Contents

Advertisement

Example
The following example sets the saturation value to 0 (grayscale) for the Adjust Color filters on
the selected object(s):
var myFilters = fl.getDocumentDOM().getFilters();
for(i=0; i < myFilters.length; i++){
if(myFilters[i].name == 'adjustColorFilter'){
myFilters[i].saturation = 0;
}
}
fl.getDocumentDOM().setFilters(myFilters);
See also
document.setFilterProperty()
filter.shadowColor
Availability
Flash 8.
Usage
filter.shadowColor
Description
Property; the color of the shadow, 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
property.
filter.name
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
for the
"bevelFilter"
Filter object
219

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents