RE: [flexcoders] {data} current index

2006-12-01 Thread Steve Cox
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] {data} current index You could also look at the listData property on the renderer (if it implements IDropInListItemRenderer, which it should). It has the rowIndex and columnIndex properties on it. For some reason listData is not bindable

Re: [flexcoders] {data} current index

2006-11-30 Thread Lachlan Cotter
Hi Alex, Item renderers aren't really aware of the wider context in which they are show (i.e. as one item in a collection). They are only concerned with how to render the particular data object that is passed to them. If you want to render some kind of index number on the view, your best

RE: [flexcoders] {data} current index

2006-11-30 Thread Dustin Mercer
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lachlan Cotter Sent: Thursday, November 30, 2006 12:54 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] {data} current index Hi Alex, Item renderers aren't really aware

[flexcoders] {data} current index

2006-11-29 Thread Alex
Hi, I have an application that uses a custom component as a renderItem in a TileList, retrieving a list of data from XML as the dataProvider. How can I retrieve the current index of the item within my custom component? I can retrieve the data using {data}, but how would I retrieve the index