flash object (fl)
227
Example
The following example lets the user select a folder and then displays a list of files in that folder.
var folderURI = fl.browseForFolderURL("Select a folder.");
var folderContents = FLfile.listFolder(folderURI);
See also
fl.browseForFileURL()
,
FLfile object
fl.closeAll()
Availability
Flash MX 2004.
Usage
fl.closeAll()
Parameters
None.
Returns
Nothing.
Description
Method; closes all open documents, displaying the Save As dialog box for any documents that
were not previously saved. The method prompts the user, if necessary, but does not terminate
the application. See also
fl.closeDocument()
.
Example
The following code closes all open documents.
fl.closeAll();
fl.closeDocument()
Availability
Flash MX 2004.
Usage
fl.closeDocument(
documentObject
[,
bPromptToSaveChanges
] )
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...