/ Published in: ActionScript 3
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code.
URL: http://www.adrianparr.com/flash/encodeDecodeHtmlEntityNames/encodeDecodeHtmlEntityNames.zip