/ Published in: ActionScript 3
Create a button with dynamic text inside and stop the mouse cursor from flickering between hand and arrow!
Expand |
Embed | Plain Text
myButton.headline.text = "some text" myButton.headline.mouseEnabled = false; myButton.buttonMode = true; myButton.addEventListener(MouseEvent.ROLL_OVER, thumb_ROLLOVER); function thumb_ROLLOVER(e:MouseEvent):void { // do something }
You need to login to post a comment.
