Sheetal, Have you checked what is coming in 'data' under the itemRenderer? I doubt the value of data is becoming zero in every case...that is why you are getting black color for every item.
HTH, -Ravi On Jun 24, 11:38 am, sheetal <sheetalnilw...@gmail.com> wrote: > This one is for using colors in Tilelist,i have tried using Canvas as > ItemRenderer giving it background color from dataProvider.There seems > to be some rendering issue where all the colors are appearing > BLACK.Please help with ur inputs. > <mx:itemRenderer> > <mx:Component> > <mx:Canvas height="75" width="75" > backgroundColor="{data.toString > ()}" borderColor="#FFFFFF" borderStyle="solid" > themeColor="{data.toString()}"/> > </mx:Component> > </mx:itemRenderer> > > On Apr 28, 10:58 am, Ravi Mishra <ravi.achi...@gmail.com> wrote: > > > Sheetal, > > > Its itemRenderer again :) > > > Use image as an itemrenderer for the tile list and set the source > > property of itemRenderer equal to the actual image path. > > > HTH, > > > -Ravi > > > On Apr 28, 10:51 am, sheetal <sheetalnilw...@gmail.com> wrote: > > > > hey thznks for sharing ur idea.Will try it.Between if i have a array > > > collection of images.i want to see the images intilelisthow do i set > > > the dataprovider? > > > when i do myTilelist.dataProvider=imageArraycollection.source; > > > > i see image names in thetilelistand not actual images.Can you help? > > > > On Apr 28, 10:23 am, Ravi Mishra <ravi.achi...@gmail.com> wrote: > > > > > Hi Sheetal, > > > > > Use itemrenderers onTileList. Let's say you are using canvas as > > > > itemrenderer then assign its backgroundColor property to the value of > > > > color code. > > > > > HTH > > > > > -Ravi > > > > > On Apr 28, 9:57 am, sheetal <sheetalnilw...@gmail.com> wrote: > > > > > > Hello, > > > > > I want to show colors inTileList.I have an array of color codes and i > > > > > want to display them as tiles in theTileList.I am looking for a > > > > > solution,plz share your ideas. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---