Saving a Shape's data?

Hi everyone,

I was wondering if anyone has come across a class/library that can convert a shape (movieclip) to textual data (hence can be saved as a shared object).

Anyone?