Button Rollover


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. button.addEventListener(MouseEvent.MOUSE_OVER, manageMouseOver);
  2. button.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
  3. function manageMouseOver(e:MouseEvent):void{
  4. //your over code here
  5. }
  6. function manageMouseOut(e:MouseEvent):void{
  7. //your out code here
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.