Blog Archives

double click problems

Let’s say we want to set up a standard doubleClick interaction on a movie-clip(draw a square inside this clip) with instance name square: square.doubleClickEnabled=true; square.addEventListener(MouseEvent.DOUBLE_CLICK,double); function double(event:MouseEvent):void { trace(“doubleclick”); } Compile, it should work fine – “doubleclick” should trace when

Tagged with:
Posted in Flash