/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
button.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver); button.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut); function manageMouseOver(e:MouseEvent):void{ //your over code here } function manageMouseOut(e:MouseEvent):void{ //your out code here }