Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 154

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 153
132
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Example
The following example reverts the current document to the previously saved version:
fl.getDocumentDOM().revert();
See also
document.canRevert(), fl.revertDocument()
document.rotate3DSelection()
Availability
Flash CS4 Professional.
Usage
document.rotate3DSelection(xyzCoordinate, bGlobalTransform)
Parameters
xyzCoordinate An XYZ coordinate point that specifies the axes for 3D rotation.
bGlobalTransform A Boolean value that specifies whether the transformation mode should be global (true) or local
(
false).
Returns
Nothing.
Description
Method: applies a 3D rotation to the selection. This method is available only for movie clips.
Example
In the following example, the selection is first rotated relative to the stage (globally) and then relative to itself (locally).
var myDocument = fl.getDocumentDOM();
myDocument.rotate3DSelection({x:52.0, y:0, z:0}, true);
myDocument.rotate3DSelection({x:52.0, y:0, z:-55.2}, false);
document.rotateSelection()
Availability
Flash MX 2004.
Usage
document.rotateSelection(angle [, rotationPoint])
Parameters
angle A floating-point value that specifies the angle of the rotation.
Seitenansicht 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare