View Full Version : flash.filesystem and AIR

07-09-2008, 06:04 PM
We are looking at using Adobe Flash CS3 Professional to create a flash application that will display some JPEG images (one after another) that reside on the local directory. The platform that the application will be running on is Linux (ARM processor).

The plan is to write an Actionscript 3.0 script that will use the flash.fileystem class to listDirectory() to get all of the JPEG files in the directory and then display them one at a time in a window.

Do I need Abobe AIR for this? It looks like it just came out for Linux and is only in alpha.

Is the flash.filesystem class the best (only) way to do this (read and load files from local directory)?


07-11-2008, 01:40 AM
your idea seems appropriate.

I think the correct function you are looking for is actually getDirectoryListing().
(listDirectory does not appear to be an actual function)
this function will give you an array of all files in the directory.

after that, I would use a Loader to load in the image using the url property of the file.