[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

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.

0
Angha110
Asked:
Angha110
  • 12
  • 11
1 Solution
 
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
 
dgofmanCommented:
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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
 
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 12
  • 11
Tackle projects and never again get stuck behind a technical roadblock.
Join Now