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
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
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
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
4 matches
Mail list logo