/ Published in: ActionScript 3

Expand |
Embed | Plain Text
button_btn.addEventListener(MouseEvent.CLICK, myClickReaction); function myClickReaction (e:MouseEvent):void { gotoAndStop( Math.ceil(Math.random() * 4) ); trace (currentFrame); }
You need to login to post a comment.