loading XML file from a different domain

Simply loading an XML file from another domain.
Well, I tried and googled. I saw the discussion on Crossdomain.xml file.
No success.

If I need to use crossdomain.XML, how to do it. what the content should be. I tried a few different one and had the file on the server (myDomain.com/crossdomain.xml) byt my file exost in subfolders. I also tried calling the XML file using a PHP file, with no success.

Angha110Asked:
Who is Participating?
 
dgofmanCommented:
You can accept this sample code as your answer and if you don't like implementation in Flash open a new question for PHP developers.
Thanks,
David
 weather.fla weather.swf
0
 
dgofmanCommented:
You must defined on source host a crossdomain.xml file in the webhost ROOT directory
Otherwise  you will not able to access cross domains


http://kb2.adobe.com/cps/142/tn_14213.html
0
 
Angha110Author Commented:
It is there.
Could it be my hosting plan? I have a shared hosting plan with Networksolutions.

I have been spending so much time on this these last few days.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
dgofmanCommented:
0
 
Angha110Author Commented:
No success yet
0
 
dgofmanCommented:
Can you load FireFox + FireBug and open Net tab

Check where is the error?
0
 
Angha110Author Commented:
Here is the message:
URL file-access is disabled in the server configuration
0
 
dgofmanCommented:
Do you have access to this server as administrator you may need to create a crossdomain.xml file
0
 
Angha110Author Commented:
I did some google search and tried it with no success.
Do you have an instruction that I can follow.
0
 
dgofmanCommented:
I need to know the destination server name (JBOSS, TOMCAT, IIS etc)
0
 
Angha110Author Commented:
On this one, I am trying to get Yahoo Weather
0
 
dgofmanCommented:
Can you provide an URL?
0
 
Angha110Author Commented:
May I have your email so I can send the link privately?
0
 
dgofmanCommented:
david_gofman@yahoo.com
0
 
Angha110Author Commented:
I sen the email.
0
 
dgofmanCommented:
I didn;t get it
0
 
Angha110Author Commented:
Send it again, a minute ago
0
 
dgofmanCommented:
I answered!
0
 
Angha110Author Commented:
Please check email again. The path was not correct. The file is there.
0
 
dgofmanCommented:
I didn't get any other emails
0
 
Angha110Author Commented:
I just send it again to this email: dgofman@gmail.com>
0
 
dgofmanCommented:


Why you are asking PHP question in Flash zone. If you want to resolve via Flash or Flex use this example

http://www.flepstudio.org/forum/tutorials/588-flash-cs3-yahoo-weather.html
0
 
Angha110Author Commented:
You are right, this has turned out a PHP question.
The application I am working on is a Flash application. But I need 5 days forecast and during my researches, it seems that the flash alone (using rss feed) would not deliver more than 2-3 day of forecast.

Anyway, I don't know how to move this question to PHP section.
I still don't know how to fix this.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.