Handle/listen itemClick event instead of listening click event
BR, Natwar Garg <http://flexyria.wordpress.com/2010/09/12/packager-for-iphone-is-back-in-act ion/> Packager for iPhone is back in action From: [email protected] [mailto:[email protected]] On Behalf Of Satish Gupta Sent: Monday, September 13, 2010 2:59 PM To: [email protected] Subject: Re: [flex_india:31393] mx:List use selectedIndex property of List. On Sun, Sep 12, 2010 at 11:45 AM, lalith <[email protected]> wrote: how to identify the item which is clicked in mx:List? <mx:List id="storyList" width="100%" dataProvider="{this.currentDoc.stories}" click="myLabelFunc(event)" height="100%" variableRowHeight="true" selectable="false" borderStyle="none" itemRenderer="com.renderers.StoryRenderer"> </mx:List> --------- public function myLabelFunc (event:Event):void { Alert.show("working finally" + storyList.editedItemPosition); Alert.show("working finallyn 1" + storyList.); } storyList.editedItemPosition ---> this does not give correct value... -- 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] <mailto:flex_india%[email protected]> . For more options, visit this group at http://groups.google.com/group/flex_india?hl=en. -- Thanks & Regards, SATISH GUPTA RIA Developer Adobe Certified Expert(Flex3.0-AIR) Mob: 9769267997/9619591230 Tekno Point Multimedia | www.teknopoint.in -- 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. -- 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.

