Hi David,
I upload an exemple of extension in your ftp ( DFhdgjfhgKJ.zxp )
the flex code is just:
var vFile:File = new File();
vFile.addEventListener(Event.SELECT, onSelectFolderComplete);
vFile.addEventListener(Event.CANCEL, onSelectFileCancel);
vFile.browseForDirectory("select a directory");
Regards
Pierre RAFFA