PDA

View Full Version : Double click event is actually broken...



jmjw1985
October 19th, 2008, 07:30 AM
Does anyone have a solution to the following...

I've been adding a double click event listener to a sprite and I have set 'theSprite.doubleClickEnabled=true'.

But it still does not respond to a double click!!!!

Please help me, i'm going insane!

deluxee
October 19th, 2008, 08:08 AM
Can you receive single click events from your sprite?
For debugging purposes try this:

stage.addEventListener(MouseEvent.DOUBLE_CLICK,fun ction():void{trace("dclick")});