Adding Local Filenames/References To Array In Actionscript

how can i cycle thru a local folder to add all (or some) files names and references to that file in an array using actionscript 3.0?

var fileArray:Array = new Array();
for (var item:Object in "../myFolder/")

something like this?


You can only access the file system using AIR :/, or by having Flex make an HTTP call to a server-side language like ruby/python/php and having it return that information.

Here is an AIR Directory Listing Example (you'll have to resize the blog's code blocks because of the formatting).

Hope that helps, Lance

Need Your Help

Java Certificate / Keystore Exceptions

java eclipse ssl certificate

When attempting to implement a keystore into a Java SOAP client for accessing a WS, I get the exception:

Align center menu with its content

html css menu alignment text-alignment

I'm trying center horizontal the text within a div on a menu, with the box size.