2 Replies Latest reply on May 10, 2006 11:58 AM by terjemi

    Changing scene - strange behaviour

    terjemi Level 1
      Hi!

      I am making an animation based on several scenes. The animation is supposed to jump between the scenes by a "gotoAndStop" command:

      In the Scene " Introduction" there is a button with the code:

      next_btn.onPress = function() {
      gotoAndStop("Stepwise_test",1);
      };

      In the scene "Stepwise_test" there is a button with the code:

      next_btn.onPress = function() {
      gotoAndStop("Gliding_test",1);
      };

      In the scene "Gliding_test" there is a button with the code:

      next_btn.onPress = function() {
      gotoAndStop("Next_test",1);
      };

      etc etc.

      This seems to work fine in the beginning of the animation, but after 5-6 sceenes it jumpes to a scene that is not requested in the code!
      Changing the code so that another scene is requested may end up in another result, but usually not the right one.

      ...and changing the sequence of the scenes in the scene panel seems to influence on which scene that shows up!

      Any suggestions?