1 Reply Latest reply on May 3, 2008 1:37 PM by kglad

    Transition between scenes

    leonrisk
      Hello,
      Suppose I got 4 scenes and I want to go from one to the next by clicking the "space".
      How do I do it?
      (It must be a simple thing but i'm new to this)
      I'm using flash 8 professional
        • 1. Re: Transition between scenes
          kglad Adobe Community Professional & MVP
          label the first frame in each scene, define a variable (nextScene) to contain a value identifying the next scene's first frame label and use something like:

          Key.addListener(this);
          this.onKeyDown=function(){
          if(Key.isDown(Key.SPACE)){
          _root.gotoAndStop(nextScene);
          }
          }