HELP: flash application failed to connect via socket sometimes

HELP: flash application failed to connect via socket sometimes

Post by Wing » Fri, 17 Dec 2004 16:42:20


Hi all,

I've a flash application connect to a server A via socket, if I load
that flash application in my flash website (located in server B),
sometimes it's failed to connect the socket server. but if I load the
application standalone, everytime the connection is successful.

I suspect it's a crossdomain problem when loading in server B's web
flash, but if it is, why in some computers it can connect, in some
computers it cannot~

Any idea?


Thanks,
 
 
 

HELP: flash application failed to connect via socket sometimes

Post by sThrashe » Fri, 17 Dec 2004 23:19:23

If it connects sometimes in the intermittent scenario I would guess that it is
not a cross-domain issue. Why then would it connect sometimes? I mean it should
always fail if Macromedia did it right... You might consider a more likely
timing issue. (e.g. some component doesn't have time to load and thus fails to
respond, except possibly when it is already cached in the browser or when it is
loaded using loadMovie on the second try, kinda thing) I don't normally work
with socket xml, so I'll leave a real solution to a developer who does... Good
luck kid, I hate those intermittent bugs. :) Shannon http://www.yqcomputer.com/