User Guide
flash object 175
Description
Method; opens a script (JSFL, AS, ASC) or other file (XML, TXT) in the Flash text editor.
Example
The following example opens a file named my_test.jsfl that is stored in the /temp directory of
the C drive.
fl.openScript("file:///c|/temp/my_test.jsfl");
fl.outputPanel
Availability
Flash MX 2004.
Usage
fl.outputPanel
Description
Read-only property; reference to the outputPanel object.
Example
See outputPanel object.
fl.quit()
Availability
Flash MX 2004.
Usage
fl.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.
Returns
Nothing.
Description
Method; quits Flash, prompting the user to save any changed documents.
Example
The following example illustrates quitting with and without asking to save modified documents.
//quit with prompt to save any modified documents
fl.quit();