Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 161

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 160
139
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
fl.getDocumentDOM().selectNone();
See also
document.selectAll(), document.selection
document.setAlignToDocument()
Availability
Flash MX 2004.
Usage
document.setAlignToDocument(bToStage)
Parameters
bToStage A Boolean value that, if set to true, aligns objects to the Stage. If set to false, it does not.
Returns
Nothing.
Description
Method; sets the preferences for document.align(), document.distribute(), document.match(), and
document.space() to act on the document. This method is equivalent to enabling the To Stage button in the Align
panel.
Example
The following example enables the To Stage button in the Align panel to align objects with the Stage:
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".
Przeglądanie stron 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag