Thanks, Scott. Taking this way, i have another doubt. How can i refer (inside a item renderer) to the "data.Url" inherited from the dataprovider in the main application (index.mxml)?
--- In [email protected], "Scott Bachman" <[EMAIL PROTECTED]> wrote: > > 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 in the Flex documentation. > > Scott > > > > On Mon, Jul 21, 2008 at 9:28 AM, luis_roman_am <[EMAIL PROTECTED]> > wrote: > > > 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="Application.application.MyArrayCollection} > > (PROBLEM HERE) > > > > THe problem is: How can i filter linechart inside MYRENDERER.MXML the > > dataprovider to receive only data for the items with his URL? > > > > I tried something like: > > > > -DataProvider="Application.application.MyArrayCollection.(@Url=data.Url)} > > > > but this throws me the following error: > > > > Error #1123: Filter operator not supported on type mx.arraycollections. > > > > Please Help!! > > > > > > >

