Double_click?

Ok, this on is simple but it simply won’t work for me… I tried it 1000 times but nothing :slight_smile: I have no idea what I’m doing wrong but I simply can’t make DOUBLE_CLICK work:

var circle:Sprite = new Sprite(); addChild(circle); circle.graphics.beginFill(0xff0000); circle.graphics.drawCircle(0, 0, 50); circle.graphics.endFill(); circle.x = stage.stageWidth / 2; circle.y = stage.stageHeight / 2;  circle.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseEvent);  function onMouseEvent(event:MouseEvent):void  { 	trace(event.type); }

Thanks.