Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 931 Bytes

File metadata and controls

32 lines (18 loc) · 931 Bytes

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() - dropped, fl.saveAll(), fl.saveDocument()