Adobe Extending Flash Professional CS4 Instrukcja Użytkownika Strona 115

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 114
93
EXTENDING FLASH CS4 PROFESSIONAL
Document object
fl.getDocumentDOM().distribute("top edge", false);
The following example distributes the selected objects by their top edges, using the bounds of the document:
fl.getDocumentDOM().distribute("top edge", true);
See also
document.getAlignToDocument(), document.setAlignToDocument()
document.distributeToLayers()
Availability
Flash MX 2004.
Usage
document.distributeToLayers()
Parameters
None.
Returns
Nothing.
Description
Method; performs a distribute-to-layers operation on the current selection—equivalent to selecting Distribute to
Layers. This method displays an error if there is no selection.
Example
The following example distributes the current selection to layers:
fl.getDocumentDOM().distributeToLayers();
document.docClass
Availability
Flash CS3 Professional.
Usage
document.docClass
Description
Property; a string that specifies the top-level ActionScript 3.0 class associated with the document. If the document isn’t
configured to use ActionScript 3.0, this property is ignored.
Przeglądanie stron 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag