You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home arrow FAQ arrow CrossDomain Support
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links







Actionscript for Multiplayer games

 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 


CrossDomain Support PDF Print E-mail
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.