1 Reply Latest reply on Mar 20, 2008 6:41 AM by ooba

    What's wrong with this conditional?

    GraphicsGeezer Level 1
      As an Actionscript newbie, I'm trying to get a Flash menu to go to a particular frame when a site is on a particular page, defined by a PHP variable which appears after the menu address (such as index.php?readme=419). Seems to work sporadically and the Flash menu, which is 10 frames long, hangs on various frames. Here's the bit of script:

      if (readme == 419 || readme == 431) {
      gotoAndStop(10);
      } else {
      stop();
      }

      Thanks for any help.