Not sure if this available for flex, but for air:
var file:File = new File();
file.addEventListener(Event.SELECT, dirSelected);
file.browseForDirectory("Select a directory");
function dirSelected(e:Event):void {
trace(file.nativePath);
}
-TH
--- In
flexcoders@..., "reversible_82" <reversible_82@...>
wrote:
>
> Hi guys,
>
> I'm trying to browse and select a folder from the local file system,i
was reading about the FileReferenceList class to browse a file, but that
does not let me select a folder, just a file, do you know how can I get
Around this, or some source to read. I need to select a folder from the
local system not a file.
>
> Thanks
>