8 Replies Latest reply on Jul 13, 2007 4:34 PM by DazFaz

    newbie - dynamic field

    jeffEngland1
      Hi,
      I am importing a text file into my flash file and need to be able to do different things depending on what the values of my variables in my text file are.

      here is my script (its not working) . I'm sure its something very small and very easy.

      textMC.loadVariables("Demo.txt");

      if (textMC.InputField=="2") {
      gotoAndStop(20);
      } else {
      gotoAndPlay(1);
      }

      if anyone can help it would be appreciated.

      Jeff