Could you tell me the file and line in the flex framework where I could see that listener?
Thanks.
C.
The Flex components use a little trick to make the binding work. They apply an event listener to a collection.
Van: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] Namens Gareth Edwards
Verzonden: maandag 7 augustus 2006 6:56
Aan: [EMAIL PROTECTED]ups.com
Onderwerp: Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()I'm a little confused, it seems it works o.k in the example?
http://www.adobe.com/devnet/flex/quickstart/using_data_providers/
Whats occurring in the above example?
Cheers
Gareth.
Matt Chotin wrote: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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
Sent: Sunday, August 06, 2006 10:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()
Hi,
I'm experiencing a bug with an ArrayCollection. I want to remove the contents and the new state should dispatch a Binding, but this is not happen at all.
I was trying several methods:
* setting to null;
* new ArrayCollection();
* calling removeAll()
* calligin refresh() as well
but nothing happens.
I suppose that this should be a known issue, anyone knows some trick to avoid this problem?
Thanks.
--
::| Carlos Rovira
::| http://www.carlosrovira.com
--
::| Carlos Rovira
::| http://www.carlosrovira.com __._,_.___
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings d... Carlos Rovira
- RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindi... Joost Nuijten
- Re: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindi... Douglas Knudsen
- Re: [flexcoders] [Flex 2][ArrayCollection][Bug] B... Carlos Rovira
- Re: [flexcoders] [Flex 2][ArrayCollection][Bu... Douglas Knudsen
- Re: [flexcoders] [Flex 2][ArrayCollection... Carlos Rovira
- RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindi... Matt Chotin
Reply via email to