17 Replies Latest reply on Dec 4, 2006 9:15 AM by Newsgroup_User

    gotoAndStop works only in one direction?

    Level 7
      Ok, it looks pretty simple. But it works only in one direction - I can't go
      back.
      E.g. when I'm on frame 4, I can't go back to frame 2 (by pressing btnService
      button) and so on.
      Is it my fault or it is the way how Flash works?

      base_mc.btnNews.onRelease = function(){//<onRelease Button>
      base_mc.gotoAndStop(1);
      }
      base_mc.btnService.onRelease = function(){
      base_mc.gotoAndStop(2);
      }
      base_mc.btnAbout.onRelease = function(){
      base_mc.gotoAndStop(3);
      }
      base_mc.btnWork.onRelease = function(){
      base_mc.gotoAndStop(4);
      }
      base_mc.btnContacts.onRelease = function(){
      base_mc.gotoAndStop(5);
      }//</onRelease Button>