[flexcoders] Filter an ArrayCollection into an ItemRender

2008-07-21 Thread luis_roman_am
Hi people! Situation as follows: MYARRAYCOLLECTION (Example fields) - TITLE - URL INDEX.MXML - TILELIST - DataProvider="{MyArrayCollection}" - ItemRenderer ="MyRenderer" MYRENDERER.MXML - LABEL (data.TITLE) (WORKS FINE) - LINECHART -DataProvider

Re: [flexcoders] Filter an ArrayCollection into an ItemRender

2008-07-21 Thread Scott Bachman
The syntax you tried is e4x (ECMAscript for XML) and only works with XML data. For an ArrayCollection you could use a filterFunction to filter the data. Check out, for instance, http://www.boyzoid.com/blog/index.cfm/2006/10/19/Filtering-Data-in-Flex or the filterFunction property of ArrayCollection