Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 889 Bytes

File metadata and controls

32 lines (19 loc) · 889 Bytes

fl.browseForFolderURL()

Availability

Flash 8.

Usage

fl.browseForFolderURL([description])

Parameters

description An optional string that specifies the description of the Browse For Folder dialog box. If this parameter is omitted, the dialog box title is "Select Folder."

Returns

The URL of the folder, expressed as a file:/// URI; returns null if the user cancels out of the dialog box.

Description

Method; displays a Browse for Folder dialog box and lets the user select a folder.

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