Gidday
I'm using the following code to try to put a listing of files in a dir into an array.
I created a dir call myDir in the same place as my .swf and .air, and placed a file in it. But I get error messages telling me the File or directory does not exist.
Why would this be?
var dir:File = File.desktopDirectory.resolvePath("myDir");
var files:Array = dir.getDirectoryListing();
Thanks for taking a look.