Hi,
You can get the selectedIndex only if you select an item. If you are looking
for the index of the item in the dataprovider, you can use the itemRollOver
event and find the rowIndex
<mx:List itemRollOver="onItemRollOver(event)"/>
private function onItemRollOver(event:ListEvent):void
{
var rowIndex = event.rowIndex;
}
--
Subeesh
http://subeesh.co.nr
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---