Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Accents on Letters in External Text File

Accents on Letters in External Text File

2004-04-11       - By jose allona

 Back
Reply:     1     2     3     4     5     6     7     8  

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/