views:

28

answers:

1

I have

MyMovie.addEventListener(MouseEvent.CLICK, goClick)
function goClick(e:MouseEvent):void
{
trace("Trololo");
}

It's work.

Why don't work?

MyMovie.addEventListener(MouseEvent.DOUBLE_CLICK, goDouble)
function goDouble(e:MouseEvent):void
{
trace("Trololo");
}
A: 

You have to set doubleClickEnabled to true.

MyMovie.doubleClickEnabled = true;
Lars