I want to access file object from flex web app. What should i do?
I have to take array from my XML. In XML there will be only dir path. So for taking file name from dir i have to access it and have to perform for loop on that dir.
What should I do?
You can use HTTPService to read XML at runtime, and use XMLListCollection to hold the XML once it gets in Flex.
My question is that I dont want to give name of images in XML file.
In XML file there will be only path of image directory. So I need to find all image name from that image directory.
Thats why I want to access file object.
Oh I see, well in that case you'll need to use a backend technology like ColdFusion, .NET, PHP to read the directory for you, FP can't read directories unless it's an AIR app the one that we're talking about here.