Double clic (Flash AS3)

I tested MouseEvent.DOUBLE_CLICK listener in AS3. It saves you from creating your own double click listener (and it’s quite useful).
However, it seems that you can use a simple click listener and a double click listener on the same object. When you “double click”, click event is identified on the first click, and double click event on the second.

You can either re-create a double click detection or put a ‘validator’ on simple click detection .
I choose the second solution, with a timer :