I have a string (from xml) I want to display on stage. Currently I have a text field that I am simply assigning the text to (no problems) but I want to add line breaks at certain points.after reading this line:
“If the text includes a line break (for example, "
" or “\r”), the bottom is also resized to fit the next line of text.”
found here:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/TextField.html#autoSize
I got the impression that I could add a string to text with a line break in it? If I try and add it to my xml file it simply writes it out as normal characters.
I am fairly sure I can do it by showing as HTML but was wondering if there was another way ?
Thanks for any help!