1

Topic: LoadVars + crossdomain.xml + SSL = problem...

Hi,

I have developped a widget. He works in Flash but not on the chumby.

Here is my code to retreive the data :

var getData = new LoadVars();
gwdata.html = true;
getData.onLoad = function(success){
    if(success){       
            gwdata.htmlText = getData.txt;
    }else{
            gwdata.htmlText ="Unable to get data";
    }
}
getData.load("https://www.somedomain.com");

The crossdomain content is :

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

I have no data.

What's wrong ?

Thanks

Re: LoadVars + crossdomain.xml + SSL = problem...

Try setting secure="false" instead - that should allow a widget launched over HTTP to access a service hosted over HTTPS.