|
|
fl.quit()
AvailabilityFlash
MX 2004.
Usagefl.quit([bPromptIfNeeded])
Parameters- bPromptIfNeeded
- A Boolean value that is true (default) if
you want the user to be prompted to save any modified documents.
Set this parameter to false if you do not want
the user to be prompted to save modified documents. In the latter
case, any modifications in open documents will be discarded and
the application will exit immediately. Although it is useful for
batch processing, use this method with caution. This parameter is
optional.
DescriptionMethod;
quits Flash, prompting the user to save any changed documents.
ExampleThe
following example illustrates quitting with and without asking to
save modified documents:
// Quit with prompt to save any modified documents.
fl.quit();
fl.quit(true); // True is optional.
// Quit without saving any files.
fl.quit(false);
|