I am using a list control and trying to give a alternate styles to it.
(not just alternate colors).
Hence I want to know the  index at which the current Item is going..

Is there any way to know the instance of item renderer  it's
currentIndex in List?

Something like this :

<mx:List itemRenderer = "myItem" dataProvider ={p}/>


comp myItem :

[Bindable] index:Number // index in the list.

Thanks in advance
Regards
PS

Reply via email to