fl.synchronizeDocumentWithHeadVersion()

Availability

Flash CS3 Professional.

Usage

fl.synchronizeDocumentWithHeadVersion(documentObject)

Parameters

documentObject
A Document object.

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 is identical to document.synchronizeWithHeadVersion().

Example

The following example synchronizes the current document with the Version Cue server:

fl.synchronizeWithHeadVersion(fl.getDocumentDOM());