Normally you should have a list and an underlying as a model dataprovider for your list. You could also keep a currentSelectedItem property in the model and bind the list selectedItem to that. You work with the underlying data and the list updates itself accordingly. Hopefully :).
HTH, C ________________________________ From: sdl1326 <[email protected]> To: [email protected] Sent: Wed, August 25, 2010 2:49:53 AM Subject: [flexcoders] Re: FB4: Looping thru itemrenderers Here's some additional insight into what I am trying to do. The user can click on one of the thumbnails(itemrenderer) which changes the background color and launches a larger version of the image. Within that larger image is a next and previous button which will navigate to the next/previous image(itemrenderer). I need to be able to change the background color of the next/previous thumbnail/itemrenderer. So, in essence, I need to determine the next/previous itemrenderer and call the function that will change the background color. Thanks. --- In [email protected], "Amy" <amyblankens...@...> wrote: > > You should never do this. What is the end goal? > > --- In [email protected], "sdl1326" <azsl1326-email@> wrote: > > > > > > I have a scrollable SkinnableDataContainer which contains thumbnail > > images (in an itemrenderer). While there can be several hundred > > thumbnail images, only 10 itemrenderers are viewable on the screen at a > > time. If I need to loop through the 10 viewable itemrenderers, what's > > the best way to do it? > > > > > > > > > > Thanks, in advance. > > >

