3 Replies Latest reply on Jan 10, 2009 11:18 AM by rtalton

    Inline bold and color text in TextArea

    Mainmanian
      I am working on a chat component and I want the username to be in bold in a different color. I have below the snippet of my sendMsg function which is where I am creating the textArea.text. I woudl very much appreciate somebody helping me figure this out. Thank, Ramesh

      private function sendMsg (e:MouseEvent):void
      {
      text_so.setProperty ("msg",userName +": "+ textInput.text);
      textArea.text += (userName +": "+textInput.text + "\n\n");
      textInput.text="";
      }