Fl.saveaversionofdocument(), Fl.savedocument() – Adobe Extending Flash Professional CS4 User Manual
Page 272
250
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
fl.saveAll();
See also
,
,
fl.saveAVersionOfDocument()
Availability
Flash CS3 Professional.
Usage
fl.saveAVersionOfDocument(document)
Parameters
document
.
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());
See also
fl.saveDocument()
Availability
Flash MX 2004.
Usage
fl.saveDocument(document [, fileURI])
Parameters
document
that specifies the document to be saved. If document is
null
, the active document is
saved.
fileURI
A string, expressed as a file:/// URI, that specifies the name of the saved document. If the fileURI parameter
is
null
or omitted, the document is saved with its current name. This parameter is optional.