Gallery and adding files

Im using a local computer and will only be running the flash app on locals.

I want users to have access to a gallery which I built with xml and to be able to add to the gallery. I thought I could do it with an append child to the xml but flash cant write to file.

Is there any tutorials or work arounds for this? Do I need to go learn AIR?

I was going to use filereference and then save the file in the flash folder and add the new object to the xml file, but this is the wrong route.

Im stuck like boots in a muddy festival.

Any solutions or other ways of achieving this?