0 Replies Latest reply on Dec 5, 2008 5:31 PM by DJ Gecko


    DJ Gecko Level 1
      Hi, I'm attempting to load a crossdomain.xml file from a folder. I have an ad banner and my client wants all the jpgs and xml file to live on amazon's s3 server, so I of course need a crossdomain.xml file. But it can't live on the root of the domain. So I've tried using System.security.loadPolicyFile(" http://s3.amazonaws.com/theirfolder/crossdomain.xml");
      but this isn't working. I've put the .swf on another server, added that domain to the crossdomain.xml file, then tested it. In my browser activity window I see that the swf is loading http://s3.amazonaws.com/theirfolder/crossdomain.xml, but it is also looking for http://s3.amazonaws.com/crossdomain.xml. And my xml file and jpgs aren't loading.

      Does anyone have any advice? The ad must be in AS2, Flash 8.

      My code is just this line on the .swf's main timeline:
      System.security.loadPolicyFile(" http://s3.amazonaws.com/theirfolder/crossdomain.xml");

      am I missing something?