1 Reply Latest reply on May 27, 2011 1:26 PM by flexstone

    Downloading PDF via https fails

    flexstone Level 1

      I have a Flex solution that runs on SSL domain and the PDF file download function runs fine in debug mode locally from the server but once moved to the server it fails complaining about the crossdomain policy file.

       

      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <cross-domain-policy>
      <allow-access-from domain="www.mydomain.com" secure="false" />
      <allow-access-from domain="mydomain" secure="false"/>
      </cross-domain-policy>

       

      and I am loading the crossdomain file with

       

      flash.system.Security.loadPolicyFile("https:mydomain.com/crossdomain.xml");

       

      I was reading somewhere on a forum that there was an internal issue in flash regarding the port for SSL - anyone able to shed any light on this issue ?