Re: [flexcoders] Force binding for Arrays

2005-11-03 Thread JesterXL
You don't need to do that; Array's in Flex already have the DataProvider API (in 1.5), and thus generate events. So, if you are changing an index, ensure you do: my_array.addItem(someItem) Instead of: my_array.push(someItem) If you do the addItem, it'll trigger the event, and update

Re: [flexcoders] Force binding for Arrays

2005-11-03 Thread superabe superabe
ok...I do need to reset the array at times, and also to change an item in the index. Is there any perf hit by reassiging the variable to itself ? - superabe On 11/3/05, JesterXL [EMAIL PROTECTED] wrote: You don't need to do that; Array's in Flex already have the DataProvider API (in 1.5), and

Re: [flexcoders] Force binding for Arrays

2005-11-03 Thread JesterXL
Sent: Thursday, November 03, 2005 8:28 PM Subject: Re: [flexcoders] Force binding for Arrays ok...I do need to reset the array at times, and also to change an item in the index. Is there any perf hit by reassiging the variable to itself ? - superabe On 11/3/05, JesterXL [EMAIL PROTECTED] wrote

RE: [flexcoders] Force binding for Arrays

2005-11-03 Thread Matt Chotin
the time. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe Sent: Thursday, November 03, 2005 5:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Force binding for Arrays ok...I do need to reset the array at times