ratzzy
asked on
How do I display the English pound symbol in a Flash dynamic text field?
I have created a movie in Flash CS3 using Actionscript 3.0 that scrolls text in a dynamic text field when the mouse hovers over the up and down buttons.
The text is loaded via an external .txt file, is styled using html and an external style sheet, and I have embedded the necessary font files - Arial, uppercase, lowercase, numerals and punctuation.
When I view the .swf file everything works perfectly (it doesn't matter in which browser) apart from the English pound sign not displaying.
I have tried to display it using '£' and '£' but these don't work either.
I cannot find a solution to this problem anywhere so any help will be much appreciated.
Many thanks.
The text is loaded via an external .txt file, is styled using html and an external style sheet, and I have embedded the necessary font files - Arial, uppercase, lowercase, numerals and punctuation.
When I view the .swf file everything works perfectly (it doesn't matter in which browser) apart from the English pound sign not displaying.
I have tried to display it using '£' and '£' but these don't work either.
I cannot find a solution to this problem anywhere so any help will be much appreciated.
Many thanks.
try
&#163
&#163
docmcali - you are referring to producing the characters from the keyboard not from within a program such as flash
I am not certain if this will work but it might be worth a try: %A3
Check out the Special Characters section at http://www.jgtemplates.com/learn/fp/a002.asp
and
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14143&sliceId=1
Check out the Special Characters section at http://www.jgtemplates.com/learn/fp/a002.asp
and
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14143&sliceId=1
Just use the unicode char: \u00A3 inside a string.
txtField.text = "\u00A3";
Here you can find some other unicode codes:
http://unicode.org/charts/PDF/U0080.pdf
txtField.text = "\u00A3";
Here you can find some other unicode codes:
http://unicode.org/charts/PDF/U0080.pdf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
excellent - well done
http://whatis.techtarget.com/definition/0,,sid9_gci847800_top1,00.html