Hello Flashers & Flexers!

I've got a problem with XMLSocket re-connection in ActionScript 3.

I need the Flash client to connect to the server automatically when it drops
connection for some reason.
XMLSocket dispatches Event.CLOSE event when connection drops but when I
automatically call XMLSocket.open(...)
it is not able to connect and even does not dispatch any event to be
handled.
This only works in the case when Flash client drops connection by
XMLSocket.close() and then XMLSocket.open(...) is called.
But I need to handle disconnections from the server side..
I'm creating only one instance of XMLSocket class and then add all isteners
with XMLSocket.addEventListener().

Is there something I'm doing wrong?
Can anybody help?

best regards

Tomas Lehuta
---
http://lharp.net
http://www.linkedin.com/in/lharp
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to