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't bold!</FONT></P></TEXTFORMAT>
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't bold!</FONT></P></TEXTFORMAT>
Don't see what you're looking for? Try a search.
|