This is definitely a pointer in the right direction. I found that my item renderer was not redrawing things under certain conditions. Fixing that fixed the problem.
Many thanks to all who took the time to help me out! -Raj --- In flexcoders@yahoogroups.com, "Amy" <amyblankens...@...> wrote: > > --- In flexcoders@yahoogroups.com, "Ritu Raj Tiwari" <rituraj.tiwari@> wrote: > > > > I am seeing some strange behaviour with TileList. I am hoping someone can > > shed some light on this: > > I have a TileList where I assign it an ArrayCollection for its > > dataProvider. As I add objects to this collection, the tile list updates > > faithfully. > > > > The problem happens when I switch the dataProvider to a new one. I start > > with an empty array collection and sure enough, the tile list is empty. > > When I add the first item to the new dataProvider, I see the last item from > > the previous dataProvider as the first entry in the list. As I add more > > items, I see more items from the previous data provider. > > > > Has someone else encountered this? It is definitely a bug, I am wondering > > if there is an easy workaround, like, say, creating my own TileList > > subclass that clears the right thing? > > http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf > Q2 >