1 Reply Latest reply on May 20, 2007 11:08 AM by Sketchsta

    need image to move to...

    rabidpinata Level 1
      ok I know I could just animate it but I would like to know this anyways and would make it faster and easier.

      I am wanting a iamge to scroll right to the center of the board.

      Basically the image to go from offscreen to move right.
        • 1. Re: need image to move to...
          Sketchsta Level 1
          look into the Tween class.

          or you can do it using a setInterval()

          something like...

          function move_mc(){
          mc_name._x += 5;
          updateAfterEvent()
          }

          this.setInterval("move_mc", 50 )

          and make it stop with a if() statement.

          check the actionscript docs on setInterval for further details.