/ Published in: ActionScript 3
Use this to dynamically copy objects.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
my copyFunction(value:Object):Object{ var buffer:ByteArray = new ByteArray(); buffer.writeObject(value); buffer.position = 0; var result:Object = buffer.readObject(); return result; }
URL: http://blog.tyleregeto.com/