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].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to