Articles about newline’

Aug 13, 2008

Newline characters not recognized when parsing external XML file

Posted by Dennis in ActionScript, Flash, Flex 2 comments

I encountered this problem when implementing a workaround for the multiline unicode text wrapping bug. I use newline characters (”\n”) to break up the text manually. When I load the XML file and parse it in my Flex app, newline characters are displayed in the text field. Tracing out the string displays “\n” and not [...]