3 Replies Latest reply on Feb 28, 2008 10:10 PM by kglad

    Variable in actionscript

    BrianArena
      I currently use a text document to send dynamic text and other variables to the .swf. I am now trying to use a variable defined in the text document to complete the actionscript below, but I can't quite figure it out. The line in the text document looks like &howmanyevents=11 and I'd like the actionscript to stop the movie if the variable equals eleven.

      if(_root.howmanyevents == 11) {
      stop();
      }

      any suggestions?