Flash to pdf and flash to eps

Hi frens.
frens please help me in this…

I have a drawing board. Its verymuch similiar to flash interface. I have a work area. I can choose the size of the page as A4 A3, etc. where I can draw square, circle, lines and even texts etc.

I have given a instance name for that work area movie clip. I need only that area to be saved as pdf and eps formats.

Now my question is how can I save that work area to pdf and to eps. formats in runtime

I found this thread in kirupa… manually saving as eps.

is there any way to save as eps in runtime…

thanks in advance
Harish