3 Replies Latest reply on Sep 2, 2010 2:23 PM by kglad

    Load External Text

    lanawylma2000 Level 1

      Hi All..

       

      I have a bit of a problem here. I'be been studying AS3, but I have a small task to do in AS2 and I'm kind of lost. I just need to load external tex, this is thre code that i have:

       

      loadText = new LoadVars();

      loadText.load("external.txt");
      loadText.onLoad = function(success) {
          if(success == true) {
              text_txt.text = loadText.VARIABLE;
          }
      };

       

      I'm not sure what I"m suppoused to put in place of the variable?

       

      Thanks a bunch ahead of time!