4 Replies Latest reply on May 2, 2007 8:52 PM by ggshow

    "If" with multiple conditions

    kristiehewlett
      I have 8 items, and when they are all moved to _x = 800, I want the timeline to move to frame 12.
      Below I have the script I wrote so far, that isn't working. Please tell me how to write this script correctly.

      stop();

      if ((_root.l01._x == 800)
      (_root.l02._x == 800)
      (_root.l03._x == 800)
      (_root.l04._x == 800)
      (_root.l05._x == 800)
      (_root.l06._x == 800)
      (_root.l07._x == 800)
      (_root.l08._x == 800));

      {

      gotoAndPlay(12);

      }