Adobe Extending Flash Professional CS4 Bedienungsanleitung Seite 269

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 268
247
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Example
The following example resets the ActionScript 2.0 Classpath setting to its default value.
fl.resetPackagePaths();
See also
fl.packagePaths
fl.revertDocument()
Availability
Flash MX 2004.
Usage
fl.revertDocument(documentObject)
Parameters
documentObject A Document object. If documentObject refers to the active document, the Document window might
not revert until the script that calls this method finishes executing.
Returns
A Boolean value: true if the Revert operation completes successfully; false otherwise.
Description
Method; reverts the specified FLA document to its last saved version. Unlike the File > Revert menu option, this
method does not display a warning window that asks the user to confirm the operation. See also
document.revert()
and document.canRevert().
To revert a document to the version on the Version Cue server, use fl.revertDocumentToLastVersion().
Example
The following example reverts the current FLA document to its last saved version; any changes made since the last save
are lost.
fl.revertDocument(fl.getDocumentDOM());
fl.revertDocumentToLastVersion()
Availability
Flash CS3 Professional.
Usage
fl.revertDocumentToLastVersion(documentObject)
Parameters
documentObject A Document object.
Seitenansicht 268
1 2 ... 264 265 266 267 268 269 270 271 272 273 274 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare