1 Reply Latest reply on Dec 17, 2006 8:46 AM by kglad

    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?


      Code snippet:

      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;