Adobe Extending Flash Professional CS5 Manual do Utilizador Página 161

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 565
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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".
Vista de página 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 564 565

Comentários a estes Manuais

Sem comentários