1 Reply Latest reply on Apr 23, 2008 1:51 PM by dwallbaum

    gotoAndStop() doesn't stop

    dwallbaum
      Gentlefolk;

      Lots of discussion here on gotoAndStop(), but the solutions are not working for me.

      My use of gotoAndStop("Frame1); plays the entire movie clip. Where am I erring?

      the code, attached to a button, is:

      on (release) {
      gotoAndStop(5);
      contentHolder_MC.attachMovie("InitialRequest_ID","InitialRequest_MC",1);
      contentHolder_MC.InitialRequest_ID.gotoAndStop("Frame1");
      }

      What is supposed to happen is on release, the main timeline goes to frame 5 and stops.
      That works correctly.
      In the movie clip called ContentHolder_MC, which is a box holding content in the MC "InitialRequest", the MC does display in the ContentHolder.

      But, the second "gotoAndStop("Frame1"); ends up playing the entire movie and not stopping on "Frame1".

      I want to use this technique of using named frames to display different content in "ContentHolder" but can't get the called MC "InitialRequest" to stop on the specified frame.

      Can someone correct my approach?

      Many thanks!

      Don