ActionScript 3 to SVG

Hello All,

My application is Java for server-side and pure ActionScript3 for client side (no flash, no flex framework) and I have to export the contents of a Sprite to SVG. I tried search for something like that in Internet but I found just how to show SVG files in AS3.

Can you give me some ideas how to do that or to point me to some useful links?

Regards