Ok, I have an object, which I would like to copy into a new object. This new object would not be a pointer to the new object. I need it to be totally independent, yet identical to the first object.
Example
var one:Object = new Object();
one.a = "a";
var two:Object = one;
trace(one.a);
// Returns "a"
two.a = "c"
trace(one.a);
// Returns "c"
If anyone understands my problem I’d very much like to know a way around it.
Thanks