Adobe Extending Flash Professional CS5 Manuale Utente Pagina 167

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 166
145
EXTENDING FLASH PROFESSIONAL
Document 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 = 50;
}
}
fl.getDocumentDOM().setFilters(myFilters);
See also
document.addFilter(), document.getFilters(), document.setFilterProperty(), Filter object
document.setInstanceAlpha()
Availability
Flash MX 2004.
Usage
document.setInstanceAlpha(opacity)
Parameters
opacity An integer between 0 (transparent) and 100 (completely saturated) that adjusts the transparency of the
instance.
Returns
Nothing.
Description
Methods; sets the opacity of the instance.
Example
The following example sets the opacity of the tint to a value of 50:
fl.getDocumentDOM().setInstanceAlpha(50);
document.setInstanceBrightness()
Availability
Flash MX 2004.
Usage
document.setInstanceBrightness(brightness)
Parameters
brightness An integer that specifies brightness as a value from -100 (black) to 100 (white).
Vedere la pagina 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 564 565

Commenti su questo manuale

Nessun commento