[Extendflash] jsfl prompt for folder
Wade Arnold
wade-fc at t8design.com
Tue Jul 19 14:38:12 PDT 2005
Just wanted to close this for archive reasons. The feature of
fl.browseForFolderURL is available in flash8
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, nothing is
shown in the description area.
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.
Note: The title of the dialog box will always be “Browse For Folder.”
Use the description parameter to add more detail in the description
area underneath the title, such as "Select a folder" or "Select the
path that contains the profile you want to import."
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);
On Jul 6, 2005, at 5:14 PM, Judah Frangipane wrote:
> i'll get activity on this list ;)
>
> i've read and searched and did not find a method to prompt a user to
> choose a folder. i found one for prompting for a file but i want to
> create a command that backups a users folder to another folder.
>
> fl.browseForFileURL("select", "Select location to create backup")
>
> best regards,
> judah
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3078 bytes
Desc: not available
Url : http://lists.flashguru.co.uk/pipermail/extendflash/attachments/20050719/9dbcba78/attachment.bin
More information about the Extendflash
mailing list