Page 1 of 1

Flash fails to connect to PHP Socket when Online!!!

Posted: Sat Sep 12, 2009 12:08 pm
by reapermedia
AAAAAAAAAAAAAAAH!!!! I'm literally pulling my hair out here , i have followed this tutorial:

http://www.kirupa.com/developer/flash8/ ... flash8.htm

...to the letter after installing Apache and PHP on my pc. And i am geting really fraustrated because i cannot get the flash objects to connect to the PHP socket when they have been uploaded to the localhost server or any other online server. However it works no problem when i run the flash object straight from my HD. The socket is definately open because telnet connects to it fine.

My pc ip is 192.168.1.7. And when I transfer the flash object to any other pc on my lan, if it is on the hd, it connects to my pc no problem. However, if i were to type in http://192.168.1.7/socket_test.swf, it DOESN'T WORK!!!

Please help me

Re: Flash fails to connect to PHP Socket when Online!!!

Posted: Sat Sep 12, 2009 3:33 pm
by Darhazer
Check in the export settings if there is 'allow network access' (or something similar) enabled

Re: Flash fails to connect to PHP Socket when Online!!!

Posted: Sun Sep 13, 2009 6:28 am
by reapermedia
Wait..... It Works!!!!!!!!!!!! Woo Hooo!!! And you know what the problem was..... it was the blooming filename of the flash file, it had a space in it, and decided not to work :D Replaced the space with an underscore, and it works!!! :)