all groups > flash (macromedia) > november 2003 >
You're in the

flash (macromedia)

group:

Difficult special character problem



Difficult special character problem Timmy2001
11/26/2003 10:41:50 PM
flash (macromedia): Hi.
Im new here, sorry its such a long post.
I have a website originally created in FlashMX (not 2004) by someone else.

Now I am using MX2004 to modify it, the original guy left the company.

The site loads textfiles (spanish, english, or portuguese depending on user preference) to populate the textual content of the site (dynamic textfields).

The text in these files are URL encoded. Eg: ó is %C3%B3.

I have a major problem. I do not speak Spanish or Portuguese but I was made aware that suddenly none of the special characters, eg: "ó" are displaying in the dynamic textfields. I am told that they used to display at some point in the past. I cant tell when this problem started because I dont speak the languages (nor anyone else in the company) - ie: I never noticed the problem starting. I think it may have been when I started modifying the movies in MX2004.

I think I have narrowed down my problem to two destinct questions.

1.
In FlashMX, when you select "All Characters" for a dynamic text field's embed outline option, everything works fine when reading in URL encoded special characters - I get the correct special charaters for spanish such as: "ó". The original movie I am working in was created by someone else with FlashMX, not 2004. Note: I have to embed outlines so the text will anti-alias.

In FlashMX 2004, there is NO "All Characters" selection, so what is the equivalent?

2.
How do I simultaneously change all the textfields in the movies (there's hundreds - it would take a long, long time) to a different type of encoding (I think I will have to include "Latin-1" in the character range to get the spanish special characters (??? is this the equivalent ???)).

Is a way to beat this - open up the movie and republish from MX, not 2004 - Im asking this now coz Im not at work now. Its driving me crazy.

I really hope someone out there understands my problem and can help!!!
Thanks,

Tim

Re:Difficult special character problem Timmy2001
11/27/2003 8:50:09 AM
Please, please, please, is there anyone out there that can help with this problem?

I would really appreciat it!!

Thanks,

Tim.

Re: Difficult special character problem urami_
11/27/2003 5:04:44 PM

[quoted text, click to view]

there is plenty of bugs, he url encoding will work in flash MX but once open in MX 2004 won't .
you will need to set the export option to flash 7 , apparently there is buggy support
of MX 6 files .
go to File - Publish Setting and FLASH tab . Change the Player version to Flash 7 and you should be able
to see your characters.

[quoted text, click to view]

you can't , you will need manually edit every single one , unless they within same instance lime movie clip
than ok , but if you have them all over timeline than there is nothing you can do .
Most of us while working with big amount of text , will use dynamic load , xml and html formatting
to control it from outside of flash , in case of modifications you just edit the source text instead of
doing it in flash.




Regards

urami_*



<lsym>

There's no place like 127.0.0.1

Re: Difficult special character problem Timmy2001
11/27/2003 9:46:46 PM
urami_,
Many thanks for your thorough response. I have done exactly as you suggest, going through each textfield.

I didnt try the publishing as flash 7 thing - as I didnt want the client to be prompted to upgrade to flash 7 player.

But all is well, thankfully.

Thanks again Urami,

Tim.

Re: Difficult special character problem pedromoreira
5/14/2004 9:50:25 AM
try using this:
System.useCodePage = true;
AddThis Social Bookmark Button