Ok I wrote an application where I have panels that the user can draw on, kind of like paint, but they can create panels. Now I want them to be able to save and load their work. Using Quasimondo’s bitmap exporter, I was able to save a bitmap (200x200), and the application prompts the user where they were to save the image file. However, my problem is that the user will probably have 6-12 panels to save, and so I want the program to save all those panels so they can be loaded later.
Now in order to load, I don’t want the user to manually select each panel to load. I want the user to select one file and it will load all the images into the panels. I was thinking about maybe loading a zip file and flash would extract the images and load them, but I don’t know if that’s possible. I think the user would need to select an XML file, which would direct Flash to what files to load and in what order. For this, and I’m assuming when it saves the flash application/php, it would need to write a new xml file. So I guess what I need to know how to do is:
- How do I get flash to save several images to the server or the users hard drive
- flash to generate an xml file
- is there any way to make flash combine all the files into one file so that the user doesn’t have to deal with several files?
I think that sums up what I’m trying to do, if you need any more elaboration, let me know.
Thanks,
Motion