1 Reply Latest reply on Dec 19, 2007 11:06 AM by .:}x-=V!P=-x{:.

    gotoAndPlay scene

    TangentGraphic
      Hi, on loading, my Flash movie calls the following:
      loadMovieNum("main_menu.swf", 10);

      I have a mc button within "main_menu.swf". I am trying (with no avail) to put an action on this button to tell the movie to play scene "portfolio", frame 1, within "main_menu.swf". This is what I am trying:

      on (release) {
      _root.gotoAndPlay("portfolio", 1);
      _level1.gotoAndPlay("leave");
      _level2.gotoAndPlay("play");
      loadMovieNum("", 4);
      loadMovieNum("", 5);
      loadMovieNum("", 6);
      stopAllSounds();
      }
      on (rollOver) {
      this.gotoAndPlay('over');
      }
      on (rollOut) {
      this.gotoAndPlay('out');
      }

      The problem seems to be with "_root.gotoAndPlay("portfolio", 1);". I have tested the other elements which work fine.

      How can I get the button to play the desired scene?

      Many thanks