5 Replies Latest reply on Feb 12, 2007 8:36 PM by ggshow

    ActionScripting

    unknownewbie
      check out my website @ www.ugotrice.com

      the dynamic text i have in the middle, variable is called "showtext"
      the top i have buttons
      i want to do something like on (release) { } and it would get the info to show in the dynamic text from text files
      current textfiles are
      ~info.txt
      ~matches.txt
      ~news.txt
      ~roster.txt
      ~servers.txt
      ~sponsors.txt

      Ive tried and it didnt work

      on (release) {
      var showtext:LoadVars = new LoadVars();
      showText.load("news.txt");

      showText.onLoad = function() {
      showtext.text = this.text;
      }
      }