Extending Flash |
|
|
|
| Objects > Document object > document.canSaveAVersion() | |||
Flash CS3 Professional.
document.canSaveAVersion()
None.
A Boolean value of true if a version of the file can be saved to the Version Cue server; false otherwise.
Method; determines whether a version of the specified document can be saved to the Version Cue server.
The following example tests whether document.saveAVersion() can be used. If so, it calls the method.
if(fl.getDocumentDOM().canSaveAVersion()){
fl.getDocumentDOM().saveAVersion;
}
document.revertToLastVersion(), document.saveAVersion()
|
|
|
|