DisplayObject -> byteArray

Is there any way to convert any displayObject to ByteArray ?
I can of course iterate through pixels, but thats not what i was thinking about, I would like to write ie MovieClip into ByteArray, and then read it back as it was.

writeObject doesnt work for DisplayObjects.

mooska