Hi list... How do you duplicate an object {bool:true, val:5} in another variable without pointing to the original one, and without having to create a constructor. In Director, there's a duplicate() method in Lingo. Is there an equivalent way to do this in Flash?
Something like this, but which would actually work: var h = {a:true}; var g = h; trace(h.a); // true g.a = false; trace(h.a); // false, but want to be true, so it's separate from g object. - MM _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders