Adobe Extending Flash Professional CS5 Manuale Utente Pagina 113

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 112
91
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
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:
Vedere la pagina 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 564 565

Commenti su questo manuale

Nessun commento