1 Reply Latest reply on Jun 11, 2006 12:59 AM by kglad

    Loading a dynamic text in html format

    dawu
      I got this code from the support page:

      loadVarsText = new loadVars();
      loadVarsText.load("test.txt");
      loadVarsText.onLoad = function(success) {
      if (success) {
      trace("done loading");
      scroller.html = true;
      scroller.htmlText = this.var1;
      } else {
      trace("not loaded");
      }
      };

      I can't get it to work... the file is in MX and I need to save it in 8 so the video functions will work.

      Can someone help me?

      Thanks.