[flexcoders] Associative Array and Custom Renderer for TileList

2009-10-28 Thread anuppc
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 d

[flexcoders] Re: TileList and CustomItemRenderer: How to dynamically change styles

2009-10-13 Thread anuppc
--- In flexcoders@yahoogroups.com, "anuppc" wrote: > > Hi, please ignore the last question. The correct style is > "contentBackGround". > > Thanks > > --- In flexcoders@yahoogroups.com, "anuppc" wrote: > > > > BTW, I tried simplifying

[flexcoders] Re: TileList and CustomItemRenderer: How to dynamically change styles

2009-10-12 Thread anuppc
Hi, please ignore the last question. The correct style is "contentBackGround". Thanks --- In flexcoders@yahoogroups.com, "anuppc" wrote: > > BTW, I tried simplifying my custom renderer to : > > http://www.adobe.com/2006/mxml"; width="100%" >

[flexcoders] Re: TileList and CustomItemRenderer: How to dynamically change styles

2009-10-12 Thread anuppc
? Thanks --- In flexcoders@yahoogroups.com, "anuppc" wrote: > > Hi Amy, > > > Thanks for that example. It did help me partially. My item renderer is a > custom item renderer. > > http://www.adobe.com/2006/mxml"; width="100%" height="100%"

[flexcoders] Re: TileList and CustomItemRenderer: How to dynamically change styles

2009-10-12 Thread anuppc
n flexcoders@yahoogroups.com, "droponrcll" wrote: > > > > --- In flexcoders@yahoogroups.com, anuppc wrote: > > > > > > Hi, > > I'm new to flex, would need some help from the experts. > > > > I have

Re: [flexcoders] TileList and CustomItemRenderer: How to dynamically change styles

2009-10-09 Thread anuppc
the style anuppc wrote: > > Hi, > I'm new to flex, would need some help from the experts. > > I have a TileList in my application.. Here is the snippet: > > > var favList:TileList = new TileList(); >

[flexcoders] TileList and CustomItemRenderer: How to dynamically change styles

2009-10-09 Thread anuppc
Hi, I'm new to flex, would need some help from the experts. I have a TileList in my application.. Here is the snippet: var favList:TileList = new TileList(); favList.columnCount = 2; favList.dataProv

[flexcoders] TileList - Items have a border

2009-10-06 Thread anuppc
Hi, I have a TileList Here is a Snippet of code tileList = new TileList(); tileList.percentWidth = 100; tileList.percentHeight = 100; tileList.id = "picsList"; tileList.dataProvider = parentDocument.partListColl; tileList.itemRenderer = createIte

[flexcoders] Re: Problem to re-render a "Connector" component

2008-04-21 Thread anuppc
Hi, I'm looking for similar samples. Can you post ur example? Thanks A --- In flexcoders@yahoogroups.com, "xmwang1982" <[EMAIL PROTECTED]> wrote: > > Hi, I solved the re-render issue by myself. I just have added one row > to call validateNow() method of UIComponent. > > However, it is still be

[flexcoders] Re: Drag and Drop Issue...

2008-04-13 Thread anuppc
. i will correct it > > > > > > > > > > On Fri, Apr 11, 2008 at 12:31 PM, anuppc <[EMAIL PROTECTED]> wrote: > > > > > Daniel, > > > > > > just tried a few more things to debug > > > > > > Alert.show(ds.dataFor

[flexcoders] Re: Drag and Drop Issue...

2008-04-11 Thread anuppc
ource of error again. draggedImage is null Not sure how i can convert the Object to Image Thanks --- In flexcoders@yahoogroups.com, "anuppc" <[EMAIL PROTECTED]> wrote: > > Daniel, > > > I tried this. > > var draggedImage:Image = event.dr

[flexcoders] Re: Drag and Drop Issue...

2008-04-10 Thread anuppc
ata from > the original image > > On Thu, Apr 10, 2008 at 3:33 AM, anuppc <[EMAIL PROTECTED]> wrote: > > > Daniel, > > > > Yes the original image is embedded. > > > > Can you show some example on getting the bitmapdata of the draggedItem >