Renderers get recycled so make sure your renderer can be refreshed w/o being re-created. More info on my blog (blogs.adobe.com/aharui)
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Maher Sent: Wednesday, December 26, 2007 11:26 AM To: [email protected] Subject: [flexcoders] ItemRenderer in TileList not redrawing? Setup: I have a tilelist with a customer item renderer and an array collection dataprovider. The array collection has 100 items. The list can show 10 renerers on the screen. Problem: When I change (filter) the underlying array collection to 5 items the list redraws correctly in that there are only 5 items in it, but it's just the 1st 5 which were on the list before the filter. Basically, the array is changing, the list is changing, but the 1st 5 itemRenderers are not redrawing. Looking at the underlying array the 5 elements are, in fact, different than what is being drawn on the screen. It's as if they just are not being re-bound. Anonther example: Since only 10 can show in the list, when I filter the collection to 50 the scroll bar changes size (showing me that the list has changed) but the 10 items showing are the same as they were before the filter. HOWEVER! If I scroll down, then back up (thus taking those 10 off the screen and then bringing them back on) they are rendered correctly. In other words, it is just that the items which were already drawn on the screen are not being refreshed. I have tried list.executeBindings(); list.invalidateDisplayList(); list.invalidateList(); list.invalidateProperties(); I have tried making a new array collection and changing the data provider of the list, but nothing works. Is there a way to go into the items of the list and "refresh" or "re- render" them? And what am I doing wrong to make this necesarry?? Please help

