|
|
fl.browseForFolderURL()
Usagefl.browseForFolderURL([description])
Parameters- description
- An optional string that specifies the description of the
Browse For Folder dialog box. If this parameter is omitted, nothing
is shown in the description area.
ReturnsThe
URL of the folder, expressed as a file:/// URI; returns null if
the user cancels out of the dialog box.
DescriptionMethod;
displays a Browse for Folder dialog box and lets the user select
a folder.
Note: The title of the dialog box is
always Browse for Folder. Use the description parameter
to add more detail in the description area under the title, such
as “Select a folder” or “Select the path that contains the profile
you want to import.”
ExampleThe
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);
|