Convert SWF to Image

Hello All,

I’m working on somewhat of a templated system
where I’ve got a SWF file as a template and then
people upload their own images and place them in
the certain masked areas of the SWF to create
like a scrapbook page.

My question is this, what would be the best way
to convert those images to an image that people
can save and thus print? Would I have to do this
while their viewing the SWF or is there a way to
generate an image with some sort of command line
tool that I’d pass the swf the user’s settings to make
the SWF unique each time?

Let me know what’d be best.

Thanks,

– DC