Creating a button that will export a MC to a JPG or GIF

Well I have this MC, and I want a user to be able to save that MC to there PC in either a .gif, or a .jpg. Is this even possible, I looked around the forms here and i didnt find anything. I am really sure this can be done but I dont know how :S.
Oh I am using Flash MX 2004 for this as well.