1 Reply Latest reply on Nov 21, 2006 10:29 AM by tegnegi

    Loading movie in new level from variable

      What I'm trying to do is load a movie in another level wich is defined by a variable (i)

      On level 0 there is this piece of code
      i = 10;
      loadMovie("Home.swf", 10); (I've entered 10 instead of i because otherwise I wouldn't get anything at all)

      Now every time I go to another 'chapter' it has to load a movie into the next level

      From Home.swf I click the button to the next chapter wich contains:

      on (release) {
      unloadMovie(_level0.i)
      i++
      loadMovie("chapter01.swf", _level0.i);
      }

      This obviously doesn't work otherwise I wouldn't be posting here :p This whole thing does absolutely nothing :s
      Anyone any idea?

      Thanks in advance