Convert animated movieClip to byteArray and save it with FileReferenc to computer?

[CENTER]hi :slight_smile:
I have an animated MovieClip and I want to save it to computer as animated swf !!
is there any way to convert it to byteArray and send it to FileReferenc and save it ??
I tried writeObject but it doesn’t work :frowning: !!
Thank you for any help or advice.[/CENTER]