lundi 27 juin 2016

AS3 Security sandbox violation when loading data from https

When trying to load data that sits on an https domain (that I have no control over), I get this:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://localhost:3400/bin-debug/Player.swf cannot load data from https://[url].xml

I'm using FlashBuilder 4.6.

I've tried other solutions, but they don't seem to help or be applicable.

I've gone to the global settings manager and allowed my swf, the swf's directory, the site I'm trying to hit, localhost, and more. I've also gone to the local settings manager and done the same.

I've added Security.allowDomain("*"); and Security.allowInsecureDomain("*"); but that didn't help either.

Is there anything I can do?

Aucun commentaire:

Enregistrer un commentaire