![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 215](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049215.webp)
Filter object
215
Example
The following example sets the highlight color to
"#ff00003e"
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].highlightColor = '#ff00003e';
}
}
fl.getDocumentDOM().setFilters(myFilters);
filter.hue
Availability
Flash 8.
Usage
filter.hue
Description
Property; a float value that specifies the hue of the filter. Acceptable values are between -180
and 180. This property is defined for Filter objects with a value of
"adjustColorFilter"
for
the
filter.name
property.
Example
The following example sets the hue to 120 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].hue = 120;
}
}
fl.getDocumentDOM().setFilters(myFilters);
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...