Serialize the movieclip and save it to file problem

Hello all,

Does any body know how can i serialize the moviclip object
and after serialize can i save it to file.
if possible then how can i do that please give me the instruction.

i want to write the file with php script.

its arget sir.