PDA

View Full Version : flashmx,xml loading vars problem,,


flashdev
11-24-2002, 04:22 PM
i have an swf loading variables from xml document (including arabic strings),
when running them on some browsers :
1- swf does not load xml variables .
2- arabic text appears uncorrectly.'
while the swf still works fine,i.e. the problem appears when displaying mt swf into browser.
im using explorer5, flash mx, non unicode , system.usecodepage=true;
you can view my swf at :
www.mytest.8k.com
i think there may be a problem with the browser,,any help please??

tareq_gamal
01-18-2003, 10:28 PM
how can I do arabic SWf with the pupular fonts like arial & new times roman & so .., like this one in this page :
www.myTest.8k.com

thank u alot ... PLEASE help me ..
& i want to write arabic fonts In Dynamic Text Field ..

the aim to write arabic readable in ant browser with windows Env. & it sould be With Scroll bar

thanks alot

flashdev
01-19-2003, 08:42 AM
To write arabic into dynamic text field in flash mx (as i tried) :
1- write this statment at first frame of your movie :
System.useCodepage=true;
(this is to use non unicode)
2- use the following font :
arial arabic
(i think there may be other arabic fonts works)
3- be sure of non embeding fonts in text field properties.
(no character)
4- i have loaded arabic text from text files and xml documents, it works fine (writing arabic into flash , not sure)
5- to enter arabic text into notepad (--.txt or --.xml)
you should use note pad of win xp (But in run time you can run it on any operting system)
6- save the file as (i think ansi or utf-8 , not unicode)
7- this site has data may help you :
www.flashkid.8m.com
above steps works with me fine , if you have any problems, i can attach fla file to help you.

this is about displaying arabic text into dynamic text field in flash mx.
the scroll bar is just action script technique has no relation with arabic.
-------------------
just try it, i hope this helps you

farafiro
01-20-2003, 08:53 AM
hey Flashdev
yes, I think u should update your IE player, and the browser as well

flashdev
01-21-2003, 05:14 PM
sorry, why updating my IE ?
do you speak about www.flashkid.8m.com , this is not my site .
i just a visitor .

tareq_gamal
01-22-2003, 01:19 PM
if u don't mind .., attach your fla file .., cause I don't know how to write statments on the frames like what u said ..,

thank u alot... 4 help

flashdev
01-24-2003, 06:34 PM
here is the file,
if you have any question , i do not mind at all.
i hope this helps u.

tareq_gamal
01-24-2003, 08:40 PM
thank u 4 your willing to help me :p :)