If there is not already a property that is suitable, then yes, add a property.
Repeating my advice, find an example and modify it. Interactive itemRenderers are a bit complicated. Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of Baz Sent: Wednesday, August 12, 2009 4:13 PM To: [email protected] Subject: [flexcoders] Re: ItemRender - Access Specific Item at Run-time I saw this info in another thread, and it makes sense, especially since I'm thinking of using virtualization: Renderers are "virtual" There's only as many renderers as you can see on screen plus one or two. If you have 1000 items and only see 8, there's only 8 to 10 renderers so indexToItemRenderer will return null for the other 992. It is better to simply iterate through the collection/dataprovider using So the question becomes, how do you change the state of a specific item? Should I add a column in my ArrayCollection called "state" and use that in the ItemRender? Cheers, Baz ICollectionView/IViewCursor or IList APIs On Wed, Aug 12, 2009 at 12:57 PM, Baz <li...@thinkloop. <mailto:[email protected]> com> wrote: I have a custom ItemRender that uses an ArrayCollection dataProvider. Everything loads up and displays nicely, but I am having a heck of a time finding out how to get at a specifc item in the list to change its state - something like myDataContainer.ItemArray[10].state = "my_custom_state" to get at the 10th item. Bear in mind its not the source ArrayCollection that I need to get at, that's no problem, its access to the components that get created from the ArrayCollection that I'm looking for. Is there a way? Thanks very much.

