FlashSocket.IO icon indicating copy to clipboard operation
FlashSocket.IO copied to clipboard

Support for native Flash Player 11 JSON Object

Open ElliotChong opened this issue 13 years ago • 3 comments

Replaced the old AS3 JSON library reference with the new native JSON Object introduced with Flash Player 11.

ElliotChong avatar Mar 03 '12 19:03 ElliotChong

I think it should be some wrapper for the native realization including fallback for earlier flash versions.

AlexeyKupershtokh avatar Apr 20 '12 01:04 AlexeyKupershtokh

I like the idea of this, but is it fair to assume yet that people have flash player 11? Not sure what the penetration statistics are. And I am sure its more than when you submitted now, but perhaps there should be some fall back to previous library if that var doesn't exist.

simb avatar Apr 25 '12 14:04 simb

I passed that the code replace like this:

JSON.encode(msg); -> com.adobe.serialization.json.JSON.encode(msg);

wf9a5m75 avatar Aug 15 '12 20:08 wf9a5m75