  | |  | Accents on Letters in External Text File | Accents on Letters in External Text File
2004-04-11 - By jose allona
Back Mindy,
aint the best way but you can use
System.useCodepage=true;
paste it in the first line of the first frame of the movie you are loading
the external vars.
I tested it in mac and works fine. My doubts are that this line uses system
properties instead of embed properties which should be the best.
hope it works. If someone has any alternative i 'l be glad to hear it
jose.
-- -- Original Message -- --
From: "Mindy McAdams " <mindylists@(protected) >
To: <flashpro@(protected) >
Sent: Sunday, April 11, 2004 2:30 PM
Subject: [flashpro] Accents on Letters in External Text File
> I can 't figure out how to get accents to show up in Flash dynamic text
that is loaded from an external plain-text file. I know to use URL encoding
for a character like the ampersand (%26) but that does not work for the
accents, such as ? and ?.
>
> I am using ActionScript 1.0 and Flash MX. Code looks like this:
>
> myData = new LoadVars();
> myData.load( "article01.txt ");
>
> Then on a later frame ( "byline " is the textfield name):
>
> byline.html = true;
> byline.htmlText = myData.bylinedata;
>
> In the text file (article01.txt) I have variables like this:
>
> &bylinedata=By Jos? Casteņeda
> &titledata=The Tale of an Olive Tree
>
> I am using _sans as the font and Character Options says "No Characters. "
Everything works EXCEPT the accents. What can I do?
>
> -- ---- ---- ---- ------
> Mindy McAdams
> University of Florida
> http://mindymcadams.com/
> -- ---- ---- ---- ------
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> send message to the list: mailto:flashpro@(protected)
> [FlashPro] list info, subscribe, archive: http://flash-list.com/
> There 's also a WebPro mailing list: http://webdesign-list.com/
> cutting-edge sounds for flash: http://flash-sounds.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
send message to the list: mailto:flashpro@(protected)
[FlashPro] list info, subscribe, archive: http://flash-list.com/
There 's also a WebPro mailing list: http://webdesign-list.com/
cutting-edge sounds for flash: http://flash-sounds.com/
|
|
 |