Cesar Aracena
asked on
Solve formatting in a TextArea
Hi all,
I'm new to AS. I'm trying to make my own apps on Flash Builder 4 using some examples but most of them are from Flex 3. I'm trying to interact with Wowza Media Server.
In a simple text chat application I have a returning string that's printed into a TextArea but the HTML tags are not bing parsed. Here's the message passed to the TextArea:
It also doesn't recognize the line breaks. All the msgs appear one after another.
This is my actual TextArea for displaying messages:
Any ideas?
Thanks in advance!
I'm new to AS. I'm trying to make my own apps on Flash Builder 4 using some examples but most of them are from Flex 3. I'm trying to interact with Wowza Media Server.
In a simple text chat application I have a returning string that's printed into a TextArea but the HTML tags are not bing parsed. Here's the message passed to the TextArea:
msg = "<u>"+hourStr+":"+minuteStr+":"+secondStr+ampm+"</u> - <b>"+chatData.user+"</b>: "+chatData.message;
return msg;
and here's the result every time I insert a msg:<p><u>10:04:38AM</u> - <b>My Name</b>: This is a sample message sent to the chat</p>
It also doesn't recognize the line breaks. All the msgs appear one after another.
This is my actual TextArea for displaying messages:
<s:TextArea content="{chatText}" id="listChat" width="500" height="200" enabled="{isConnected}"/>
I've tried content="" and also text="" with the same result.Any ideas?
Thanks in advance!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER