hi everybody, can someone help me with the following problem ? its not so easy as it might seem in the beggining.
i had a web page done about two years ago in flash 8 and actionscript 2. recentrly i made some changes but when i compile it it will show only english characters. it is supposed to display greek characters but is doesnt.
the funny part is that no matter what i do it will no display them like it did 2 years ago with the same programm.
i got a dynamic text field named myfield_txt. i got a font in the library named font1 that is linked to arial. and the actionscript code is :
ActionScript Code:
[LEFT][COLOR=#000000][[/COLOR]CODE[COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR]B[COLOR=#000000]][/COLOR]my_for:[COLOR=#993300]TextFormat[/COLOR] = [COLOR=#993300]new[/COLOR] [COLOR=#993300]TextFormat[/COLOR][COLOR=#000000]([/COLOR][COLOR=#000000])[/COLOR];
my_for.[COLOR=#993300]font[/COLOR]=[COLOR=#0000FF]“font1”[/COLOR];
myfield_txt.[COLOR=#993300]embedFonts[/COLOR]=[COLOR=#993300]true[/COLOR];
myfield_txt.[COLOR=#993300]text[/COLOR]=someGreektext;
myfield_txt.[COLOR=#993300]setTextFormat[/COLOR]COLOR=#000000[/COLOR];[COLOR=#000000][[/COLOR]/B[COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR]/CODE[COLOR=#000000]][/COLOR]
[/LEFT]
if instead of greek text i place english it displays it correctly. i am running windows xp 64 bit. i have greek installed. i tried using arial greek instead with no luck.