document.canSaveAVersion()

Availability

Flash CS3 Professional.

Usage

document.canSaveAVersion()

Parameters

None.

Returns

A Boolean value of true if a version of the file can be saved to the Version Cue server; false otherwise.

Description

Method; determines whether a version of the specified document can be saved to the Version Cue server.

Example

The following example tests whether document.saveAVersion() can be used. If so, it calls the method.

if(fl.getDocumentDOM().canSaveAVersion()){ 
    fl.getDocumentDOM().saveAVersion; 
}