tags:

views:

42

answers:

3

In Flex How can i get all the filename which contains in a directory in flex AIR.

A: 

keu to reply day na :(

OG Software
whats this?? this is not an answer..
Treby
A: 

use File() function

Please Refer to this Site for More Info

Treby
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