|
I had a similar problem, although I think it's not quite
the same.
I used an AC defined as [Bindable]. But changes to the AC
did not trigger any bindings. So, what I did to make it
work:
- Declare my AC as an ICollectionView
- When data is assigned to the AC, assign an event listener
to the event CollectionEvent.COLLECTION_CHANGE.
It's more or less the thing the <mx:Repeater> tag
does to listen to the provided dataProvider collection.
Van: [email protected] [mailto:[EMAIL PROTECTED] Namens Matt Chotin Verzonden: maandag 7 augustus 2006 2:14 Aan: [email protected] Onderwerp: RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
If you are bound to the
ArrayCollection then manipulating the AC itself doesn’t re-trigger the binding.
You need to do a re-assignment. If that isn’t working make sure that
the variable for your AC is [Bindable] and if you wrote a setter and used
[Bindable(event=”…”)] that you actually dispatched the
event. From:
Hi, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't... Carlos Rovira
- RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindi... Matt Chotin
- RE: [flexcoders] [Flex 2][ArrayCollection][Bug] B... Joost Nuijten
- Re: [flexcoders] [Flex 2][ArrayCollection][Bug] B... Gareth Edwards
- RE: [flexcoders] [Flex 2][ArrayCollection][Bu... Joost Nuijten
- Re: [flexcoders] [Flex 2][ArrayCollection][Bu... Carlos Rovira
- RE: [flexcoders] [Flex 2][ArrayCollection... Joost Nuijten
- Re: [flexcoders] [Flex 2][ArrayCollection][Bu... Douglas Knudsen
- Re: [flexcoders] [Flex 2][ArrayCollection... Carlos Rovira
- Re: [flexcoders] [Flex 2][ArrayColle... Douglas Knudsen
- Re: [flexcoders] [Flex 2][ArrayC... Carlos Rovira
- Re: [flexcoders] [Flex 2][ArrayCollection][Bug] B... Carlos Rovira
- RE: [flexcoders] [Flex 2][ArrayCollection][Bu... Matt Chotin

