Smokescreen: a Flash player written in Javascript →
https://marco.org/2010/06/01/smokescreen-a-flash-player-written-in-javascript
Via Jim Ray:
The Strongbad demo will make you a believer. This thing reads the actual SWF binary and creates native, browser based executions.
Explanation from Simon Willison:
Chris Smoak’s Smokescreen, “a Flash player written in JavaScript”, is an incredible piece of work. It runs entirely in the browser, reads in SWF binaries, unzips them (in native JS), extracts images and embedded audio and turns them in to base64 encoded data:uris, then stitches the vector graphics back together as animated SVG.
Incredible.