11 Replies Latest reply on Jun 25, 2007 4:53 AM by Stylenation_sthlm

    Simple if statement doesn't work! Help!

    Stylenation_sthlm
      Got the AS on my first frame on the timeline to control a movieclip. Look like this:

      if (mymovie._currentframe == 10) {
      mymovie.stop();
      }


      So it should stop on frame 10 but it doesn't. What's wrong with the script? Do I need some kind of function before?

      Thanks!