Flash Movie to pdf

I have a Movie Clip in swf along with a button “Save as PDF”. On click of this button the content in the movie clip has to be saved as a pdf file. The swf will be hosted in a html file in J2EE environment. Any server side programs if required should be in JSP.

Anyone please help me…:sure: