Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.revertDocumentToLastVersion() | |||
Flash CS3 Professional.
fl.revertDocumentToLastVersion(documentObject)
documentObject A Document object.
A Boolean value of true if the document is successfully reverted; false otherwise.
Method; if the file can be reverted, reverts the specified document to the version on the Version Cue server, and logs any errors to the Output panel.
To revert a document to the last version that was saved locally, use fl.revertDocument().
The following example reverts the current document to the version stored on the Version Cue server:
fl.revertDocumentToLastVersion(fl.getDocumentDOM());
document.revertToLastVersion(), fl.downloadLatestVersion(), fl.saveAVersionOfDocument(), fl.synchronizeDocumentWithHeadVersion()
|
|
|
|