1 Reply Latest reply on Jun 10, 2007 10:23 PM by SymTsb

    A question about some RollOver/RollOut issue

    Seise
      I´m trying to do a menu that opens when I RollOver it and closes when I RollOut of it. Like the menu on this site. But it menu_mc.onRollOver = function() {
      menu_mc.gotoAndPlay(1);
      }
      menu_mc.onRollOut = function() {
      What will I write here???? I´ve tried gotoandStop but it stills
      }

      Thanks i advance..
        • 1. Re: A question about some RollOver/RollOut issue
          SymTsb Level 2
          I'm suprised that this is working for you at all.... the typical way to do something like this is to have menu_mc contain two layers. The first layer would contain the button. The second layer would be the movie clip that contains the open menu options.

          The open menu movie clip would have two frames each with stop actions in them. The first frame should contain nothing in it at all. The second frame would be all of the menu options etc.

          Then your code would look more like this....

          menu_mc.onRollOver = function(){
          menu_options.gotoAndStop(2);
          }

          menu_mc.onRollOut = function(){
          menu_options.gotoAndStop(1);
          }