Your example work fine but once I put it on a website that has more Javascript on it the .swf never seem to initialize the socket. I have put some tracing and have found that FABridge__bridgeInitialized is never called. So far, at this moment I think that the swf cannot create the socket because the FABridge websocket is undefined. I am running the server with the client you provide in parallel with the integration on my website and the client works (so I know that the problem ain't on the server side).
Hi,
Your example work fine but once I put it on a website that has more Javascript on it the .swf never seem to initialize the socket. I have put some tracing and have found that FABridge__bridgeInitialized is never called. So far, at this moment I think that the swf cannot create the socket because the FABridge websocket is undefined. I am running the server with the client you provide in parallel with the integration on my website and the client works (so I know that the problem ain't on the server side).
Here is a trace log:
WebSocket constructor called web_socket.js (line 37) SetTimeOutForCreation web_socket.js (line 44) __initialize web_socket.js (line 308) Flash location : WebSocketMain.swf web_socket.js (line 328) Ready for : FABridge.addInitializationCallback web_socket.js (line 336) addInitializationCallback>Bridgename:webSocket FABridge.js (line 88) addInitializationCallback>inst defined FABridge.js (line 96) addInitializationCallback>callbackList not null FABridge.js (line 102)
But in the same time, your example provide:
WebSocket constructor web_socket.js (line 37) __initialize web_socket.js (line 308) Flash location : WebSocketMain.swf web_socket.js (line 328) Ready for : FABridge.addInitializationCallback web_socket.js (line 336) addInitializationCallback>Bridgename:webSocket FABridge.js (line 88) addInitializationCallback>inst defined FABridge.js (line 96) addInitializationCallback>callbackList not null FABridge.js (line 102) FABridge>AttachBridge from Initialized FABridge.js (line 132) FABridge.attachBridge FABridge.js (line 184) FABridge.attachBridge> #callbacks is : 1 FABridge.js (line 198) [WebSocket] FABridge initializad web_socket.js (line 339) SetTimeOutForCreation web_socket.js (line 44) __createFlash web_socket.js (line 53)
I'll continue my investigation. If you have any idea it would be appreciate.