Check out Item Renderers on Alex Harui's Blog - http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
--- In [email protected], "anuppc" <anu...@...> wrote: > > Hi, > > I have an Associative Array as the dataprovider of a TileList. > The associative array has this kind of data: > > var foodPrices:Object = new Object(); > foodPrices["meat"] = "5.00"; > foodPrices["fish"] = "7.00"; > foodPrices["juice"] = "1.00"; > > How do i create a custom renderer for the TileList which displays the Keys : > meat, fish, juice tc... with different color codes > > If price is > 4.00 then display the item in Red > if price is < 4.00 then display the item in Black > > Any suggestions?? > Thanks >

