Extending Flash |
|
|
|
| Objects > Document object > document.synchronizeWithHeadVersion() | |||
Flash CS3 Professional.
fldocument.getDocumentDOMsynchronizeWithHeadVersion().swapStrokeAndFill();
None.
A Boolean value of true if the specified file was successfully synchronized with the Version Cue server, false otherwise.
Method; synchronizes the specified document with the most current version on the Version Cue server, and logs any errors to the Output panel.
This method works only with documents that are currently open. To retrieve the latest version of a file that is not currently open, use fl.downloadLatestVersion().
The following example syncrhonizes the current document with the version on the Version Cue server:
fl.getDocumentDOM().synchronizeWithHeadVersion();
document.canSaveAVersion(), fl.downloadLatestVersion(), document.revertToLastVersion(), document.saveAVersion(), fl.synchronizeDocumentWithHeadVersion()
|
|
|
|