Flash html ascii problem
Flash html ascii problem
- Started
- Last post
- 6 Responses
- chrisRG
it is driving me nuts, I'm a parsing an xml to a dynamic field, it has some html entities like: – or &
and even with _txt.htmlText shows it that way, when it should convert to & or -...
it is AS3
- Shaney0
this should help:
http://www.w3schools.com/XML/xml…
- chrisRG0
CDATA would fix, but the xml is a rss feed from the client's blog, and the field he wants it is not in CDATA...
- skt0
if it's not in CDATA you will probably need to search and replace the text within your code.
- fyoucher10
loop through all of the characters in the value and do a check for a specific string combo...then just specify the correct html entity.
- chrisRG0
damn! i was trying to avoid the find and replace...
- era4O40
Also, make sure your XML is UTF-8 encoded....