ForumsProgramming ForumProblem with Socket AS3

2 2247
Zathuw
offline
Zathuw
15 posts
11,175

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 !

  • 2 Replies
joeybetz
offline
joeybetz
107 posts
1,340

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.

Zathuw
offline
Zathuw
15 posts
11,175

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

Showing 1-2 of 2