I mean you can't add a property to an itemRenderer.  An item renderer
only renderers items, it is not a persistent, referenceable object.  You
need to add automationName to the dataProvider, and let the renderer
display it..

 

What exactly are you trying to do?

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of eucliptica
Sent: Tuesday, January 16, 2007 1:59 PM
To: [email protected]
Subject: [flexcoders] Re: Using Automation with Horizontal List

 

Do you mean that when itemRenderer is initialized I need to go and 
find out what is the index of data item in dataProvider 
ArrayCollection and then use that as index for setting up 
automationName.

Thanks for help

 

Reply via email to