Dimitree
Dimitree

Reputation: 211

XML response in Flash

I have a flash file that displays the server respone on screen. The respone is in XML format. When I use this code: statusText.text = xmlResponse; I get result on screen like

%3%20xml

etc. What 's wrong with that? I tried the methods toString() and text() but nothing worked

Upvotes: 0

Views: 306

Answers (1)

Loopo
Loopo

Reputation: 2195

It looks like your string may be "URL encoded". Try the unescape() function.

Upvotes: 1

Related Questions