I'm just starting out with my first Adobe Air project (I'm a pure AS3 developer by trade). I'm planning to build an image editor which supports layers. I'm wondering what the best way would be to store an entire project including layer data (images) to a users hard disk.
I'm wondering if there is any pros/cons in creating a custom file format for my application. The idea is I will be able to store an entire project in a single file. This will be done by writing meta data to the file's header such as the image dimensions, layer names, layer data offsets etc...
I'm trying to be mindful of the issues which might arrise such as maintaining backwards compatibility after adding new project features/meta etc.
I guess I'm asking whether people have any advice or experience with creating a custom file format for Adobe Air and if there are any other 'out-of-the-box' solutions to saving 'complex' data to a users hard disk.
Thanks.