6 Replies Latest reply on Mar 16, 2015 10:32 AM by kglad

    Error 1152

    ulrikjeppesen

      Hi - I have a old flash document that I cannot convert to AS3:

       

      I have 12 scenes.

      On scene 0, frame 0 runs only one action:

      stop();

       

      On each of the other scenes runs at frame 1:

      var x: Number = new Number();

      x = 0;

       

      On frame 200 runs:

      x++;

      if (x<=10){

         gotoAndPlay(2) ;

      } else{

        x = 0;

         gotoAndPlay("scene0",1) ;

      }

       

      When I test the script, it goes directly to play scene 1, runs it only one time, go to scene 2, runs it only one time and so forth.

       

      Help - what have I done wrong?