lundi 27 mars 2017

Flash - Error using websockets to Azure Websites

Goal: Get websockets to work from within flash.

Question: What should I do to fix this?

Problem: I get the warnings and errors below when my flash file is starting. I only have this problem when loading the Flash from a webserver (It works perfectly when running from Adobe Animate)

contents of my crossdomain.xml and policyfile.xml is: crossdomain:

<?xml version="1.0" encoding="utf-8" ?> 
<cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="*" to-ports="*" />
    <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

policyfile:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM " http://ift.tt/1hSyujI">
<cross-domain-policy>
  <allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>

Remark: urls will be available for a couple of days after the question.

Aucun commentaire:

Enregistrer un commentaire