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.

ratzzyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ratzzyConnect With a Mentor Author Commented:
Hello

Thank you to everyone who replied.  I tried your suggestions but it just displayed the text I'd typed or nothing at all.

However, the problem has been solved.  

Notepad's encoding defaults to ANSI, I changed this to UTF-8 in the drop down box under the Save As field and this allowed the pound sign to display properly.

Many thanks

0
 
Doc_McAlisterCommented:
0
 
chilternPCCommented:
try

&#163

0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
chilternPCCommented:
docmcali - you are referring to producing the characters from the keyboard not from within a program such as flash
0
 
LordOfPortsCommented:
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
0
 
julianopolitoCommented:
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
0
 
chilternPCCommented:
excellent - well done
0
All Courses

From novice to tech pro — start learning today.