2 Replies Latest reply on Dec 3, 2007 2:25 PM by clem_of_rock

    Can't access xml file from swf

    clem_of_rock
      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]
      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");
      [/code]
      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>
      [/code]

      Is there anything I'm missing here?

      Thanks,
      Clem C