Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 163

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 162
141
EXTENDING FLASH CS4 PROFESSIONAL
Document object
fl.getDocumentDOM().setAlignToDocument(true);
See also
document.getAlignToDocument()
document.setBlendMode()
Availability
Flash 8.
Usage
document.setBlendMode(mode)
Parameters
mode A string that represents the desired blending mode for the selected objects. Acceptable values are "normal",
"layer", "multiply", "screen", "overlay", "hardlight", "lighten", "darken", "difference", "add",
"subtract", "invert", "alpha", and "erase".
Returns
Nothing.
Description
Method; sets the blending mode for the selected objects.
Example
The following example sets the blending mode for the selected object to "add".
fl.getDocumentDOM().setBlendMode("add");
See also
document.addFilter(), document.setFilterProperty(), symbolInstance.blendMode
document.setCustomFill()
Availability
Flash MX 2004.
Usage
document.setCustomFill(fill)
Parameters
fill A Fill object that specifies the fill settings to be used. See Fill object.
Returns
Nothing.
Zobrazit stránku 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 559 560

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

Žádné komentáře