Make an image and export it through an swf?

I’m currently working on a website, and I’d like the visitors to be able to modify this wallpaper to their liking.

Here is my idea:
http://upload.creamedgeezer.com/images/sg-bgmaker.gif
The wallpaper is 2 layers, the background, and my vector artwork. I want people to be able to select the colors they want, pick a resolution, and export it at their selected resolution to a file they can download.

Can anyone help me with this? I would gladly pay you for your time, or give you credit on the site or something.

Thanks,
Jeff