Extending Flash |
|
|
|
| Objects > flash object (fl) > fl.saveDocumentAs() | |||
Flash MX 2004.
fl.saveDocumentAs(document)
document A Document object that specifies the document to save. If document is null, the active document is saved.
A Boolean value: true if the Save As operation completes successfully; false otherwise.
Method; displays the Save As dialog box for the specified document.
The following example prompts the user to save the specified document, and then displays an alert message that indicates whether the document was saved:
alert(fl.saveDocumentAs(fl.documents[1]));
document.save(), document.saveAndCompact(), fl.saveAll(), fl.saveDocument()
|
|
|
|