Can't access xml file from swf

  • clem_c_rock
  • Novice
  • Novice
  • clem_c_rock
  • Posts: 20

Post 3+ Months Ago

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:
http://demo.feedxi.com/Warm.xml?source=true&s=Test 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: [ Select ]
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");
  1. import flash.Security;
  2. System.security.allowDomain("feedxi.com");
  3. System.security.allowInsecureDomain("feedxi.com");
  4. System.security.allowDomain("demo.feedxi.com");
  5. System.security.allowInsecureDomain("demo.feedxi.com");

I also have the crossdomain.xml set as such:

Code: [ Select ]
<cross-domain-policy>
 <allow-access-from domain="demo.feedxi.com" />
 <allow-access-from domain="feedxi.com" />
</cross-domain-policy>
  1. <cross-domain-policy>
  2.  <allow-access-from domain="demo.feedxi.com" />
  3.  <allow-access-from domain="feedxi.com" />
  4. </cross-domain-policy>


Is there anything I'm missing here?

Thanks,
Clem C
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

try to add in the html source:
<param name="allowScriptAccess" value="sameDomain" />

or in the actionscript
System.security.allowDomain("sameDomain");

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 19 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.