Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 115

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 559 560

Komentáře k této Příručce

Žádné komentáře