Quick Question about Using BitmapData and PHP to Save as Jpeg

Greetings Everyone,

Just a bit lost as to what I found on the internet about the Bitmapdata class. You see, Im trying to create a flash game where at the end, the user should be able to click on save as Jpeg.

The only problem that I have is merging movieclips that are positioned in 1 area, and turning it into one complete image file at the end.

So far right now its only aimed at one movieclip, so thats the only thing that saves as a jpeg

a Working example is here currently: http://keyeske.com/test/index.html

Just would like to see if I can turn both images into one single file.

Any suggestions?

Now I was looking into bitmapdata merge, then use that as the variable to send to php, but im not really sure how that will go.

Thanks in advance!