5 Replies Latest reply on Jun 27, 2008 1:15 PM by kglad

    what class needs to be imported when you use loadVars?

    chrisatflash Level 1
      Does anyone know what class you need to import to get this working?

      var my_lv:LoadVars = new LoadVars();
      my_lv.onData = function(src:String) {
      if (src == undefined) {
      trace("Error loading content.");
      return;
      }
      content_ta.text = src;
      };
      my_lv.load("content.txt", my_lv, "GET");