In Flex How can i get all the filename which contains in a directory in flex AIR.
whats this?? this is not an answer..
Treby
2009-12-22 01:16:05
A:
if dirPath:String is your directory path, then
var f:File = new File(dirPath);
var arr:Array = f.getDirectoryListing();
This gives you list of all files in the given directory. The elements of the array are File objects, each representing a file / dirctory in the given directory.
Sai Prasad
2009-12-22 14:51:54