yes it is possible to get the info regarding the selected item try to make use of following code, I hope this helps you please reply
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.events.ListEvent; [Bindable] private var dataArr:ArrayCollection = new ArrayCollection ( [ {data:0, label:"Label1"}, {data:1, label:"Label2"}, {data:2, label:"Label3"} ] ); private function onItemRollOver( event:ListEvent ):void{ Alert.show("Label::"+ myList.dataProvider[event.rowIndex].label ); } ]]> </mx:Script> <mx:List id="myList" dataProvider="{dataArr}" itemRollOver="onItemRollOver(event)" /> </mx:Application> Regards, Kalpesh Mahida On Wed, Mar 4, 2009 at 10:27 PM, Neeraj <[email protected]> wrote: > > ya you can get , use mouse over event > > On Mar 4, 4:47 pm, Carvalhar <[email protected]> wrote: > > well, i think you can in mousevor first define the item as selected > > then pass it... > > > > On Mar 4, 3:53 am, Sankar <[email protected]> wrote: > > > > > Hi , > > > > > am using the List control to display the data and it has a > > > itemRenderer also. > > > > > Now the question is, can we get the selectedItem or selectedIndex when > > > i place mouse over the item in the List control? > > > > > Is it possible? > > > > > Thanks > > > sankar > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

