/ Published in: ActionScript 3

I always forget how to implement a button with active mousecursor....
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
startButton_btn.mouseEnabled = true; startButton_mc.buttonMode = true; startButton_mc.addEventListener(MouseEvent.CLICK, onStartbuttonClicked); public function onStartbuttonClicked(event:MouseEvent):void { trace("onStartbuttonClicked"); }
Comments
