design. business. life.

Information

This article was written on 11 Jan 2010, and is filled under Flash, Web Development.

HEX Codes for Flash HTML text

I recently noticed that sometimes flash gets a little crazy when trying to display certain characters, e.g. ampersand or percent sign. Here is link to a table with a bunch of ASCII and HTML char codes. In flash you will need to use %HEX to replace the chars in flash. For example use %26 to replace the & character. More common codes below:

HTML HTML Flash Character Description
! %21 ! Exclamation mark
" " %22 Quotation mark
# %23 # Number sign
$ %24 $ Dollar sign
% %25 % Percent sign
& & %26 & Ampersand
' %27 Apostrophe

Click here for the full list. Hope that helps!

Leave a Reply