0 Replies Latest reply on Sep 10, 2007 1:27 PM by garyd71

    TextField set to HTML, Scrollbar problem


      I have a chat box called 'chatbox' which needs to display lines in different colors. I've set 'render as HTML' and called the var property 'chat_html'. It displays things fine when I add lines with, for example, 'chat_html += "<font color = '#ff0000'>TEXT</font>'.

      The only problem is the vertical scrollbar doesn't update. I've noticed I can make it update by using 'chatbox.text += "" each time I add a html line, but this seems to set the colors to all one color, namely, 'chatbox's default color.

      Any help on this? How do I update the scrollbar without losing the different colors?

      Thanks - Gary.