Forums

ForumsProgramming Forum

Problem with Socket AS3

Posted Jul 31, '12 at 8:32am

Zathuw

Zathuw

14 posts

Hi everyone !

I dont understand why it doesn't work.. i've read http://livedocs.adobe.com/flash/9.0_fr/ActionScriptLangRefV3/flash/net/Socket.html (librairy socket in AS3) but i dont know.. I can't to make a stream between two swf file (online) managed by two different IP.

I was wondering if someone incredibly nice could help me showing me the way to follow for exemple the beginning of a script using socket in as3 for me.

Thank You !

 

Posted Jul 31, '12 at 1:45pm

joeybetz

joeybetz

107 posts

Knight

From what I've read, it looks like you are trying to send data between two swfs with socket connections. Unfortunately due to flash player security restrictions, you cannot create server sockets, only client. So you'd need some kind of server to which your swf clients can talk to.

Some more info on socket programming in AS3.

 

Posted Jul 31, '12 at 3:18pm

Zathuw

Zathuw

14 posts

Yeah, sorry my english isnt very well.. But thank's for the link
Ill see that..

 
Reply to Problem with Socket AS3

You must be logged in to post a reply!