5 Replies Latest reply on Jun 5, 2007 9:21 AM by kglad

    Roll over button that shows a differnt layer

    Kerrian Neu
      My problem seems like it has a simple solution, but I have yet to get it. I'm in Flash CS3 - and a novice at it. I've gone thru the lynda training + books. I am trying to have my buttons on roll over show an object on an other frame, and roll out go back to the first frame. Everyone seems to have a different way of doing a roll over, but I can't get mine to work. This is what I have -

      mybtn.onRollOver = function()
      {
      mybtn.gotoAndStop(40);
      }

      mybtn.onRollOut = function()
      {
      mybtn.gotoAndStop(1);
      }

      I know I'm missing something, because I get errors and of course it doesn't work, the whole thing just plays all the frames.
      If someone could give me so good script and some good advice that would be great.