fl.saveAll()

Availability

Flash MX 2004.

Usage

fl.saveAll()

Parameters

None.

Returns

Nothing.

Description

Method; saves all open documents.

NOTE

If a file has never been saved, or has not been modified since the last time it was saved, the file isn't saved. To allow an unsaved or unmodified file to be saved, use fl.saveDocumentAs().

Example

The following example saves all open documents that have been saved previously, and that have been modified since the last time they were saved:

fl.saveAll();

See also

document.save(), document.saveAndCompact(), fl.saveDocument(), fl.saveDocumentAs()