Return to Snippet

Revision: 13332
at April 20, 2009 08:07 by pfeisinger


Initial Code
startButton_btn.mouseEnabled = true;
startButton_mc.buttonMode = true;
startButton_mc.addEventListener(MouseEvent.CLICK, onStartbuttonClicked);

public function onStartbuttonClicked(event:MouseEvent):void
{
    trace("onStartbuttonClicked");
}

Initial URL

                                

Initial Description
I always forget how to implement a button with active mousecursor....

Initial Title
Button with Buttonmouseover-Cursor

Initial Tags
button

Initial Language
ActionScript 3