[Flashcoders] Object copy

2006-02-21 Thread Aaron Smith
Does anyone have a solution for copying or cloning objects.. I am using mx.utils.ObjectCopy and it doesnt work correctly. Just the object that i'm trying to copy doesnt seem to be an exact copy so the methods that I send the copy to don't work. Does anyone have a better solution that

Re: [Flashcoders] Object copy

2006-02-21 Thread Aaron Smith
that didn't seem to work.. Sam Shrefler wrote: Aaron: try changing a line in ObjectCopy.as its line 15...change it to: I know there was a change i made, I think its the parenthesis at the end was added var result:Object = new (Function( refObj.__proto__.constructor ))(); After that,

Re: [Flashcoders] Object copy

2006-02-21 Thread Rich Rodecker
http://www.darronschall.com/weblog/archives/000148.cfm On 2/21/06, Aaron Smith [EMAIL PROTECTED] wrote: that didn't seem to work.. Sam Shrefler wrote: Aaron: try changing a line in ObjectCopy.as its line 15...change it to: I know there was a change i made, I think its the

Re: [Flashcoders] Object copy

2006-02-21 Thread Aaron Smith
thank you so much.. worked perfectly! SMITH Rich Rodecker wrote: http://www.darronschall.com/weblog/archives/000148.cfm On 2/21/06, Aaron Smith [EMAIL PROTECTED] wrote: that didn't seem to work.. Sam Shrefler wrote: Aaron: try changing a line in ObjectCopy.as its line