Tutorial :Using WebSocket with Flash?



Question:

I found web-socket-js for running WebSocket in Flash.

If I run WebSocket under Flash, can all browsers with Flash player installed support this?


Solution:1

Not all but a few more than the web browsers that have native support for websockets today (I know that at least Google Chrome, has native support for it since 6 months or so).

From the README:

It should work on:

  • Google Chrome 4 or later (just uses native implementation)
  • Firefox 3.x, Internet Explorer 8 + Flash Player 9 or later

It may or may not work on other browsers such as Safari, Opera or IE 6. Patch for these browsers are appreciated, but I will not work on fixing issues specific to these browsers by myself.


Solution:2

Regarding Firefox WebSocket must be (called && used && renamed) as MozWebSocket.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »