|
|
fl.closeAll()
AvailabilityFlash
MX 2004.
Usagefl.closeAll([bPromptToSave])
Parameters- bPromptToSave
- An optional Boolean value that specifies whether to display the
Save dialog box for any files that have been changed since they
were previously saved, or the Save As dialog box for files that
have never been saved. The default value is true.
DescriptionMethod;
closes all open files (FLA files, SWF files, JSFL files, and so
on). If you want to close all open files without saving changes
to any of them, pass false for bPromptToSave.
This method does not terminate the application.
ExampleThe
following code closes all open files, prompting the user to save
any new or changed files.
fl.closeAll();
|