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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Doc_McAlisterCommented:
0
Peter HartCommented:
try

&#163

0
Peter HartCommented:
docmcali - you are referring to producing the characters from the keyboard not from within a program such as flash
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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
ratzzyAuthor 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Peter HartCommented:
excellent - well done
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.