Crossdomain support, will really help clarify the way you authorize SWF files to connect the server.
In palabre.conf, in the [crossdomain] section, on the line :
alloweddomains = domainthatdoesnotexist.bar otherinexistantdomain.foo just specify the domains were people will access your SWFs from Ex: if you have an swf on http://www.domain.com/test.swf that can also be accessed through http://www.domain.net/test.swf , or http://192.168.0.1/test.swf
specify :
alloweddomains = domain.com domain.net 192.168.0.1
And in your test.fla(swf), execute before the connection to www.domain.com on port 2468 :
System.security.loadPolicyFile("xmlsocket://www.domain.com:2468");XMLsocket.connect("www.domain.com",2468); And even if the SWF is hosted on www.domain.net/test.swf the connection will work.
|