Tuesday, February 21, 2006

File Recursion

Ever wanted to get a list of all the files in a directory and it's sub directories? getFilesInFolderRecursively.zip

Comments:
Cool now that will save me some C programming
 
Hmm this doesn't seem to want to compile correctly on the latest 2R6 release on the Mac. All I get is a white screen once the app opens although in the preview window of mProjector before the build it seems to show up correctly.

I am hoping to build a function that will populate the flash 8 tree component to use in my app. I've tried the following function but for some reason it stops populating the tree once it hits a file with a ' in the filename.

I've started to look into this again after briefly giving it a try a while back here. http://forums.screentime.com/viewtopic.php?t=1095&sid=f1d22a678521c3f679efddf8b0fcc844
 
Ignore my post last night about this file not compiling on the Mac. I got it to work by copying the actioonscript into a brand new file and it seems to work now. Not sure why the file from the zip doesn't work as is but oh well.
 
Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]