all groups > flash data integration > april 2007 >
You're in the

flash data integration

group:

Formattings Tags appearing in my TextArea Component



Formattings Tags appearing in my TextArea Component JoMama4U
4/26/2007 7:23:33 PM
flash data integration: I'm having an issue with TextFormat tags that are appearing in textfields.
Here's an overview of what I'm doing:
Basically, I'm trying to grab the text from a textArea component: (myText =
myTextArea.text")

Because I want to retain formatting, I have the textArea set to be html.
Thus, myText becomes the text you see below

So the myText data is then stored in XML, but later when I try to access it,
it fills that same textArea component with the literal code rather than the
formatted text. How do I take that TextFormat string and convert it back to
it's original form? I've tried myTextArea.htmlText but I guess that isn't it.
Thanks for the help!

Thanks!

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12"
COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>Hello World!</B> but this
ain&apos;t bold!</FONT></P></TEXTFORMAT>
Re: Formatting Tags appearing in TextArea Component JoMama4U
4/26/2007 8:35:24 PM
Let me make my question easier to understand: ;-)

I've got the text formatting (below) in a string. Using that string, how do I
display the text it contains correctly?

Thanks!

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12"
COLOR="#000000" LETTERSPACING="0" KERNING="0"><B>Hello World!</B> but this
ain&apos;t bold!</FONT></P></TEXTFORMAT>
AddThis Social Bookmark Button