Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 184

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 183
162
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
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.
Description
Method; swaps the current selection with the specified one. The selection must contain a graphic, button, movie clip,
video, or bitmap. This method displays an error message if no object is selected or the given object could not be found.
Example
The following example swaps the current selection with Symbol 1 from the library:
fl.getDocumentDOM().swapElement('Symbol 1');
Seitenansicht 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare