[flexcoders] Binding behaviour

2011-11-03 Thread geckko
Hi all, I'm trying to duplicate one object but when i modify the master object the child object is modified too. My code is something similar to this private function cloneLeaf():CallMonitoringLeaf{ var obj:CallMonitoringLeaf = new CallMonitoringLeaf();

Re: [flexcoders] Binding behaviour

2011-11-03 Thread The Real Napster
Use this. import mx.utils.ObjectUtil; ObjectUtil.copy(myObj); ObjectUtil.copy(arrColl) as ArrayCollection; On Tue, Oct 18, 2011 at 1:53 PM, geckko geckk...@gmail.com wrote: ** Hi all, I'm trying to duplicate one object but when i modify the master object the child object is