PDA

View Full Version : Help Needed socketserver works from flash but doest work on local webserver



Macky_Bwoy22
May 5th, 2009, 06:06 AM
I have followed the tutorial here by obiAdmin (raymond) http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm on how to connect flash to a php socketserver. the problem is in the development environment it works like a charm but when i put the swf on my local server (wamp) it fails to connect to the socketserver. Can someone please help me resolve this?

Macky_Bwoy22
May 5th, 2009, 05:54 PM
I have followed the tutorial here by obiAdmin (raymond) http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm on how to connect flash to a php socketserver. the problem is in the development environment it works like a charm but when i put the swf on my local server (wamp) it fails to connect to the socketserver. Can someone please help me resolve this?

After much searching I realised that although I published the swf with flashplayer 8. Flash player 9 requers that an policy server be set up on the machine on port 843 to serve the crossdomain.xml file. Here is a link to a Flash Policy Server from flash-resources.net http://softlayer.dl.sourceforge.net/sourceforge/flashpolicyserv/flash-policy-server-1.1.zip