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

__._,_.___

--
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




__,_._,___

Reply via email to