Hi
I have a XML attribute that looks something like this:
address = "Some address 22 Some postalcode 4030"
I need to present this data in a textfield like this
Some address 22
Some postalcode 4030
With newlines
I tried to put newlines "\r" in the attrubute value,
but that did not work ;)
I also tried to break the text in the XML without success, eg:
address="Some address 22
Some postalcode 4030"
So now I have this solution:
Put a | between Some address 22 and postalcode 4030
And split the string in Flash and present it like this:
textfield.text = address[0] + "\r" + address[1]
Does anyone have another maybe better solution?
Thanks in advance for tips
best regards
T
