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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to