Ik wil een peer-2-peer socket connectie maken met flash mx.
Ik heb een flash movie en een vb applicatie gemaakt die beide lokaal met elkaar kunnen praten. Nu upload ik de flash movie naar een webserver en open de flash movie op iemand zijn pc en probeer te connecten met de vb applicatie bij mij thuis.
En nou werkt het in 1 keer niet meer.
REDEN:
The XMLSocket.connect method can connect only to computers in the same
subdomain where the SWF file (movie) resides. This restriction does not
apply to movies running off a local disk. (This restriction is identical to
the security rules for loadVariables, XML.sendAndLoad, and XML.load.)
OPLOSSING:
System.security.allowDomain
This undocumented method (System.security.allowDomain) grants permission for
the specified domain(s) to access objects and variables in the flash movie
that calls the allowDomain command. This property had to be implemented
because of the changes made to the Security Sandbox in the Flash 6 Player...
De reden die gegeven wordt door macromedia klopt. Het werkt inderdaad niet
De oplossing die ze aandragen werkt helaas ook niet. Moet ik hieruit concluderen dat het gewoon niet kan om een peer-2-peer socket connectie met flash MX te maken?? Ik ben al drie dagen overal aan het posten en ik heb de hele macromedia site al doorgespit, maar niemand kan mij verder helpen. PLEASE IEMAND HELP!!!!
Ik heb een flash movie en een vb applicatie gemaakt die beide lokaal met elkaar kunnen praten. Nu upload ik de flash movie naar een webserver en open de flash movie op iemand zijn pc en probeer te connecten met de vb applicatie bij mij thuis.
En nou werkt het in 1 keer niet meer.
REDEN:
The XMLSocket.connect method can connect only to computers in the same
subdomain where the SWF file (movie) resides. This restriction does not
apply to movies running off a local disk. (This restriction is identical to
the security rules for loadVariables, XML.sendAndLoad, and XML.load.)
OPLOSSING:
System.security.allowDomain
This undocumented method (System.security.allowDomain) grants permission for
the specified domain(s) to access objects and variables in the flash movie
that calls the allowDomain command. This property had to be implemented
because of the changes made to the Security Sandbox in the Flash 6 Player...
De reden die gegeven wordt door macromedia klopt. Het werkt inderdaad niet