Adobe Extending Flash Professional CS4 Instrukcja Użytkownika Strona 234

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 233
212
EXTENDING FLASH CS4 PROFESSIONAL
Filter object
filter.highlightColor
Availability
Flash 8.
Usage
filter.highlightColor
Description
Property; the color of the highlight, in one of the following formats:
A string in the format "#RRGGBB" or "#RRGGBBAA"
A hexadecimal number in the format 0xRRGGBB
An integer that represents the decimal equivalent of a hexadecimal number
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);
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):
Przeglądanie stron 233
1 2 ... 229 230 231 232 233 234 235 236 237 238 239 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag