That might be because there isn't one renderer per item, just one
renderer per visible item.  You can get to them by subclassing and via
indexToItemRenderer, but generally you want to be data-driven and work
off of the dataProvider, or customize the renderers

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of mmmurf200
Sent: Thursday, May 24, 2007 7:43 PM
To: [email protected]
Subject: [flexcoders] mx:list with itemrenderer... how can i iterate
through the list?

 

I am trying to iterate through the mx:list and call a method on the
itemrenderer control that is doing the display for each list item... I
can't seem to figure out how to do this for the life of me.

I can't seem to find an .items or a .children method, or anything that
seems to return the itemrenderer instances... 

please help... 

 

Reply via email to