Example
The following example sets the highlight color to
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
the
property.
filter.name
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);
for the Bevel filters on the
"#ff00003e"
"adjustColorFilter"
for
Filter object
215
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?