You should have a background color stored in -- or associated with, in some way -- each data item. Then you should access the next and previous data item, change the background color, and let the renderer re-render the data item.
You cannot generally access the next and previous item renderer, because they may not exist yet. Item renderers get created on demand as items scroll into view. Gordon Smith Adobe Flex SDK Team From: [email protected] [mailto:[email protected]] On Behalf Of sdl1326 Sent: Wednesday, August 25, 2010 9:48 AM To: [email protected] Subject: [flexcoders] Re: FB4: Looping thru itemrenderers Thanks for the assistance. I posted what I was trying to accomplish in the reply above. Ultimately, I need to be able to access the next or previous itemrenderer from the one that is currently selected. --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, "Gregor Kiddie" <gregor.kid...@...> wrote: > > If you need to access an itemrenderer, there's almost always a better > way of doing what you are trying to do... > > > > So, why are you wanting to access the itemrenderer instance? > > > > Gk. >

