Flash Button Maker

I’ve got a little interface set up that draws a button in one of 4 colours and prompts the user for his name. It places a name on the button. Great!

Now what I’m trying to do is, when the user clicks save, forward the button as a gif or jpg file to the user! How do I do that??