RollOver In and Out


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



Copy this code and paste it in your HTML
  1. _root.menu_mc.onEnterFrame = function() {
  2. (success) ? _root.menu_mc.prevFrame() : _root.menu_mc.nextFrame();
  3. };
  4. _root.menu_mc.onRollOver = function() {
  5. success = true;
  6. };
  7. _root.menu_mc.onRollOut = function() {
  8. success = false;
  9. };

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.