HTML Entities in Flash

May 15th, 2009

For whatever reason there html text in flash does not support too many of the named characters. Any time I’m loading in an external file I’m constantly forgetting about that and things like bullets and emdashes don’t show up. I finally broke down and went to: http://www.evolt.org/entities and built a script to take care of this nagging problem. It will convert most of the standard name based entities to their numeric counterparts.
You can grab the file here.

One Response to “HTML Entities in Flash”

  1. Gabor Says:

    Thanks for the converter. However, you’re performing case-insensitive replacements, so all accented letters of Eastern European alphabets get converted to their respective uppercase forms (the first replacement parsed by the environment, e.g. Aacute; vs. aacute;, ampersands omitted). Quite ironically, the easy solution is to replace ‘/gi,’ with ‘/g,’ in your script and you’re good to go.

Leave a Reply