Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't access xml file from swf

Status
Not open for further replies.

clemcrock

Programmer
Dec 17, 2006
63
US
I have a curious problem.

I have an swf file that is trying to read an xml file from this server: demo.feedxi.com

The full Url looks like this:
Search&w=google&w=yahoo&w=youtube&w=msn

Now by, itself, the swf reads the xml file w/ no problem. It also reads the xml file fine if it's embedded in an html file and lives in the appropriate folder
in my website directory. The problem is when I embed the file in the actual page of the program.

I have the security settings as such:
Code:
import flash.Security;
System.security.allowDomain("feedxi.com");
System.security.allowInsecureDomain("feedxi.com");
System.security.allowDomain("demo.feedxi.com");
System.security.allowInsecureDomain("demo.feedxi.com");
I also have the crossdomain.xml set as such:

Code:
<cross-domain-policy>
  <allow-access-from domain="demo.feedxi.com" />
  <allow-access-from domain="feedxi.com" />
</cross-domain-policy>

Is there anything I'm missing here?

Thanks,
Clem C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top