filter.highlightColor

Availability

Flash 8.

Usage

filter.highlightColor

Description

Property; the color of the highlight, in one of the following formats:

This property is defined for Filter objects with a value of "bevelFilter" for the filter.name property.

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);