Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 229

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 228
207
EXTENDING FLASH PROFESSIONAL
Filter object
Last updated 5/2/2011
var myFilters = fl.getDocumentDOM().getFilters();
for(i=0; i < myFilters.length; i++){
if(myFilters[i].name == 'blurFilter'){
myFilters[i].blurX = 30;
myFilters[i].blurY = 20;
}
}
fl.getDocumentDOM().setFilters(myFilters);
See also
document.setFilterProperty(), filter.blurY
filter.blurY
Availability
Flash 8.
Usage
filter.blurY
Description
Property; a float value that specifies the amount to blur in the y direction, in pixels. Acceptable values are between 0
and 255. This property is defined for Filter objects with a value of
"bevelFilter", "blurFilter",
"dropShadowFilter", "glowFilter", "gradientBevelFilter", or "gradientGlowFilter" for the filter.name
property.
Example
See filter.blurX.
See also
document.setFilterProperty(), filter.blurX
filter.brightness
Availability
Flash 8.
Usage
filter.brightness
Description
Property; a float value that specifies the brightness of the filter. Acceptable values are between -100 and 100. This
property is defined for Filter objects with a value of
"adjustColorFilter" for the filter.name property.
Zobrazit stránku 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 564 565

Komentáře k této Příručce

Žádné komentáře