Fixing Actionscript XML newline problem
Paul Hayman (4512 views)
Fixing Actionscript XML newline problem
I was having a nightmare with a newline '''\n''' coming through from an XML document literally as \n when I passed the text into a DynamicText object in ActionScript 2, Flash CS3.
Mark Page found this solution:
#c#function fixXMLNewLines(str:String)
|