Link to home
Start Free TrialLog in
Avatar of leohung
leohung

asked on

Flash + XML , accessing by external web page

I am writing a real time weather display in Flash. The flash will read a XML file (the XML file is generate by PHP) and display it. It done and work well in the same server.
Now I want this flash could be use by other website. But when I insert the object into other webpage, it seem can't read the XML file.
Does anyone have the some problem and how to fix it?

PS:The file location of the files:
Server A: contain weather.swf: http://myweb.polyu.edu.hk/~etleo/weather.swf
Server B: the HTML page embedded flash object: http://e3learning.edc.polyu.edu.hk/temp/weather.html
Avatar of negatyve
negatyve

Avatar of leohung

ASKER

Thanks negatyve,

I have a question. My case is the swf file and xml are under the same server. But the html is in other server, how come it still can't work???
Are you using an absolute path for the xml?
Avatar of leohung

ASKER

No, my flash open the xml file with relative path.

ASKER CERTIFIED SOLUTION
Avatar of negatyve
negatyve

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leohung

ASKER

Cool !!! My flash work very well now!! Thanks negatyve!!!
Cheers! :)