Posted By

pfeisinger on 04/20/09


Tagged

button mouseover cursor


Versions (?)

Button with Buttonmouseover-Cursor


 / Published in: ActionScript 3
 

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

  1. startButton_btn.mouseEnabled = true;
  2. startButton_mc.buttonMode = true;
  3. startButton_mc.addEventListener(MouseEvent.CLICK, onStartbuttonClicked);
  4.  
  5. public function onStartbuttonClicked(event:MouseEvent):void
  6. {
  7. trace("onStartbuttonClicked");
  8. }

Report this snippet  

You need to login to post a comment.