[AS] Sécurité et webradio
Hi guys,
je cherche à charger une webradio depuis deux domaines différents :
1/ mon swf utilise la syntaxe suivante
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
System.security.allowDomain();
System.security.loadPolicyFile("http://www.radio.com/crossdomain.xml");
var webradio:Sound = new Sound();
webradio.loadSound("http://fg.impek.tv:80", true);
webradio.start();
webradio.setVolume(100);
id3.text = "Radio started";
stop(); |
Ce bout de script marche en exécution locale... mais plus une fois en ligne.
Mon fichier de sécurité locale crossdomain.xml est le suivant :
Code:
1 2 3 4 5
|
<cross-domain-policy>
<allow-access-from domain="*" to-ports="80" />
<allow-access-from domain="fg.impek.tv" to-ports="*" />
</cross-domain-policy> |
La webradio ne se lance pas... qu'ai-je oublié ?