Getting directory list
I’ve got an app. that can open and save XML data (using the v10 plug-in). The client wants to add a drop down populated with a list of the XML files saved in a “Sample Calculations” folder. I’m not exactly sure if AS3 can dynamically read the contents of a directory (this would have to work both online and when run as a local app, so server side scripting is not an option). Right now my only idea is to use a manually created XML file that contains a list of the other files in the directory, but this seems quite cumbersome, I’d rather have the app. just dynamically read what’s in the folder. Flash image browsers seem to be able to read all JPG’s in folder X, is this kind of thing done strictly through server side scripting? (or I guess you could also do it using a strict file naming convention and read files sequentially until you get a file not found error, not an option for me).