• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

HTML character problem


I'm retrieving text in XML. My problem is that the XML has HTML characters like:
I cant get flash to display the correct character which should be in this instance '

Does anybody know what I should do?
  • 2
1 Solution
Are you displaying the text in a dynamic textfield??
If so, turn on the 'Render text as HTML' option for the textfield and use the htmlText to set the text.
your code will look somethign like this

txt.htmlText= "&apos is a quote ";
txt.htmlText= "' is a quote ";
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now