document.synchronizeWithHeadVersion()

Availability

Flash CS3 Professional.

Usage

fldocument.getDocumentDOMsynchronizeWithHeadVersion().swapStrokeAndFill();

Parameters

None.

Returns

A Boolean value of true if the specified file was successfully synchronized with the Version Cue server, false otherwise.

Description

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().

Example

The following example syncrhonizes the current document with the version on the Version Cue server:

fl.getDocumentDOM().synchronizeWithHeadVersion();

See also

document.canSaveAVersion(), fl.downloadLatestVersion(), document.revertToLastVersion(), document.saveAVersion(), fl.synchronizeDocumentWithHeadVersion()