Return to Snippet

Revision: 12507
at March 17, 2009 19:41 by allnatural


Initial Code
my copyFunction(value:Object):Object{
var buffer:ByteArray = new ByteArray();
buffer.writeObject(value);
buffer.position = 0;
var result:Object = buffer.readObject();
return result;
}

Initial URL
http://blog.tyleregeto.com/

Initial Description
Use this to dynamically copy objects.

Initial Title
Dynamically Copy Object's

Initial Tags
object, copy

Initial Language
ActionScript 3