PDA

View Full Version : save bitmap data for later use?


halfasleeps
03-13-2008, 02:21 PM
I have sidebar application that you can drag icons to and it adds them to the side bar, it writes the url-path to a txt file so that next time the sidebar opens it can load in the icons you have added. The porblem is when you drag that icon it also gets the icon bitmap data and siplays an icon, but when you close and re-open it loses the bitmap data because I cannot figure out a way to save the bitmap data for later use.

I tried writing the bitmap data to a txt file but it only wrote [object bitmapdata] to the file. I also tried using the path I save to regan access to the file and get the bitmap data again from the orginal file but I couldnt do that either.

Any Ideas?

Thanks