web-socket-js icon indicating copy to clipboard operation
web-socket-js copied to clipboard

Multiple FlashSocket Connections

Open sri-rang opened this issue 12 years ago • 1 comments

FF3.6

I get the ActionScript RTE on WebSocketMain.send() "cannot access member of undefined" when i have multiple connections in a page that has nested frames.

ParentFrame has a FlashSocket connection; It contains a ChildFrame that also has another FlashSocket connection.

Both frames access the SWF file on the same path. Is there a way that "namespaces" are getting mixed up? Can we explicitly enforce these?

Not sure if its a bug in your library. More likely in my implementation.

Any ideas?

sri-rang avatar Jan 17 '13 16:01 sri-rang

Both frames access the SWF file on the same path. Is there a way that "namespaces" are getting mixed up?

I believe not, but I'm not sure. I have never tried it. How about putting two copies of WebSocketMain.swf in different locations and loads each of them in each frame?

Please let me know if you find the cause.

gimite avatar Jan 20 '13 09:01 gimite