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

  • 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 184
163
EXTENDING FLASH CS4 PROFESSIONAL
Document object
The following example spaces the objects horizontally, relative to each other, with bUseDcoumentBounds expressly set
to
false:
fl.getDocumentDOM().space("horizontal",false);
See also
document.getAlignToDocument(), document.setAlignToDocument()
document.straightenSelection()
Availability
Flash MX 2004.
Usage
document.straightenSelection()
Parameters
None.
Returns
Nothing.
Description
Method; straightens the currently selected strokes. This method is equivalent to using the Straighten button in the
Tools panel.
Example
The following example straightens the curve of the current selection:
fl.getDocumentDOM().straightenSelection();
document.swapElement()
Availability
Flash MX 2004.
Usage
document.swapElement(name)
Parameters
name A string that specifies the name of the library item to use.
Returns
Nothing.
Zobrazit stránku 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 559 560

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

Žádné komentáře