fl.saveAVersionOfDocument()

Availability

Flash CS3 Professional.

Usage

fl.saveAVersionOfDocument(document)

Parameters

document
A Document object.

Returns

A Boolean value of true if a version of the document is successfully saved to the Version Cue server; false otherwise.

Description

Method; if the file can be saved to the Version Cue server, displays a dialog box to let the user enter version comments, saves a version of the specified document to the server, and logs any errors to the Output panel.

Example

The following example saves the current document to the Version Cue server:

f1.saveAVersionOfDocument(f1.getDocumentDOM());