Adobe Extending Flash Professional CS4 Manual do Utilizador Página 114

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 113
92
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Parameters
enabledFilterIndex An integer representing the zero-based index of the filter that should remain enabled after
other filters are disabled.
Returns
Nothing.
Description
Method; disables all filters except the one at the specified position in the Filters list.
Example
The following example disables all filters except the second filter in the list (index value of 1):
fl.getDocumentDom().disableOtherFilters(1);
See also
document.addFilter(), document.changeFilterOrder(), document.disableAllFilters(),
document.disableFilter(), document.enableFilter(), document.getFilters(),
document.removeFilter(), Filter object
document.distribute()
Availability
Flash MX 2004.
Usage
document.distribute(distributemode [, bUseDocumentBounds])
Parameters
distributemode A string that specifies where to distribute the selected objects. Acceptable values are "left edge",
"horizontal center", "right edge", "top edge", "vertical center", and "bottom edge".
bUseDocumentBounds A Boolean value that, when set to true, distributes the selected objects using the bounds of the
document. Otherwise, the method uses the bounds of the selected objects. The default is
false.
Returns
Nothing.
Description
Method; distributes the selection.
Example
The following example distributes the selected objects by their top edges:
fl.getDocumentDOM().distribute("top edge");
The following example distributes the selected objects by their top edges and expressly sets the bUseDcoumentBounds
parameter:
Vista de página 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 559 560

Comentários a estes Manuais

Sem comentários