sometimes we need to clone an object. but if displayObject has multiple children and uses a function like this:
function clone(source:*):*
{
var b:ByteArray = new ByteArray();
b.writeObject(source);
b.position = 0;
return(b.readObject());
}
but the result has no children ..... so what should I do?
source
share