Once more I trip on the flowers of the carpet. To easy my game making, it was necessary to build a Flash application that would make the process of drawing my maps a visual process. That idea worked pretty well, especially because Flash supplies competent User Interface objects I wouldn’t have to make myself.
A problem came up however. I needed to loop through a specified local folder recursively in order to load the *.gifs, *.pngs and whatnot in the local file structure. Flash 8 has added file management support with the FileReference class. It’s neat browse() function mimics HTML’s file input to pop the file browsing dialog. There were two problems with this class:
- I couldn’t select a directory;
- I couldn’t select multiple files.
Screwed aren’t we? I’ve also learned you could browse through local files using an ActiveX valid only for IE which is completely useless. All other solutions involve fetching the files using server-side scripting like PHP or ASP which no one have installed on their desktop anyway (if you do have one of these installed, then you are official a nerd).
So, desperate but not without motivation, I’ve downloaded Mac’s software development package in hopes of building it on that platform. We’ll see how it goes.
Comments
You can leave a response, or trackback from your own site. No Responses to “1 step forward, 2 steps back”.
Leave a Reply