User Guide
flash object (fl) 251
fl.saveDocumentAs()
Availability
Flash MX 2004.
Usage
fl.saveDocumentAs( document )
Parameters
document A Document object that specifies the document to save. If document is null, the
active document is saved.
Returns
A Boolean value: true if the Save As operation completes successfully; false otherwise.
Description
Method; displays the Save As dialog box for the specified document.
Example
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]));
See also
document.save(), document.saveAndCompact(), fl.saveAll(), fl.saveDocument()
fl.setActiveWindow()
Availability
Flash MX 2004.
Usage
fl.setActiveWindow( document [, bActivateFrame] )
Parameters
document A Document object that specifies the document to select as the active window.
bActivateFrame An optional parameter that is ignored by Flash and Fireworks and is
present only for compatibility with Dreamweaver.
Returns
Nothing.