0 Replies Latest reply on Dec 17, 2006 4:02 AM by Ole Kristensen

    HTML text not foramtting correctly

    Ole Kristensen
      With the code below I can create a Text Field and show a plain HTML-text.. Nothing advanced inside.
      My problem is that the size of the text is very small and Flash doesn't respond to changes I make in the HTML-page.
      Can anyone guide me to a better solution than the one below?

      Thanks.
      Ole

      Code snippet:

      this.createTextField("tData",3,30,130,500,500);
      this.tData.border = false;
      this.tData.multiline = true;
      this.tData.wordWrap = true;
      this.tData.textColor = 0xFFFFFF;
      this.tData.html = true;
      this.tData.condenseWhite = true ;

      var lvData:LoadVars = new LoadVars();
      lvData.onData = function(sData:String):Void {
      tData.htmlText = sData;
      };
      lvData.load("./pump_html/flow_why.htm");