[flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Keith Hughitt
Hi Alex, Thanks for the suggestion. I was already trying to set the value using the click-handler, but even using change, I still am not having any luck: change=cbSelected = displayCheckBox.selected; (The data-binding is somewhat indirect: the checkbox sits inside a HBox, which I've given a

RE: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Alex Harui
change event. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Keith Hughitt Sent: Friday, January 23, 2009 11:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away? Hi Alex, Thanks

[flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Keith Hughitt
I was able to get it working in one case using itemUpdated. I had to change the ArrayCollection to public, and then set the handler: [Bindable] public var colors:ArrayCollection = new ArrayCollection([ {color:Red, display: true}, {color:Blue, display: true}, {color:Green, display:

RE: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Alex Harui
Of Keith Hughitt Sent: Friday, January 23, 2009 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ArrayCollection COLLECTION_CHANGE event doesn't fire right away? I was able to get it working in one case using itemUpdated. I had to change the ArrayCollection to public, and then set