15 Replies Latest reply on Jun 6, 2007 3:04 PM by kglad

    I can't load a text file!

    amir.saad Level 1
      Here is the code:
      var my_lv = new LoadVars();
      my_lv.onLoad = function (success)
      {
      if (success)
      {
      trace(var1);
      }
      else
      {
      trace ("Error");
      } // end if
      };
      my_lv.load("vars.txt");

      This code fails and does not call the load function although the file has the correct permissions!