tags:

views:

988

answers:

1

Hi,

I'm working with a custom List component in flex4. I've created a custom ItemRenderer and everything looks and works as i want, but i'm trying to get the double click event. I'm receiving key down and all other events, but not this one. I've enabled the double click on the List component

 doubleClickEnabled="true"

and i've added an event listener for

ListEvent.ITEM_DOUBLE_CLICK

I can click as long as i want, the event just is not triggered. I could use any advice. Thanks.

+2  A: 

You want to listen for MouseEvent.DOUBLE_CLICK and then you can figure out what was clicked on using event.target.

Chris
Thanks. I used this and it works ok. It looks like this is the correct way to do it.
Adrian Faciu