AS3, get file names in folder with Flash .exe or .app, not Air
I'm building a Flash project that will read a folder to get the names of pictures & videos so they can be added dynamically to the Flash project. The .swf, .app or .exe, however I output the final version, will run on a PC or Mac that's hooked up to a large flat screen monitor.
If the project was being used on the web I'd just call a .php script to dump the file names into an .xml file. However, the Flash & computer will be offline.
I'm haven't built anything with AIR so I don't have enough time to get up to speed with it in order to use it. I know AIR's AS3 has a FileListEvent class that has the getDirectoryListingAsync method to read a directory.
So my question is, is there a way to read the names of a directory from a folder when the Flash is running offline?
I was wondering if running a DOS script or a Mac DOS-like script would be do-able.
Or is there a better way?
Thanks in advance for your reply,
Zak
