Smokescreen Converts Flash to JavaScript, Run Flash on iPad
07/28/2010

Smokescreen, written by Chris Smoak, is a "Flash player written in JavaScript" that takes Flash objects and converts them to JavaScript in real time. That means Flash media files can be played freely on Apple iPad.

Online PR News – 28-July-2010 – – Smokescreen makes Flash content visible on iPhone and iPad. This is how it works as described by Simon Willison:
"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."

One problem, however, is that the whole thing is pretty hefty, clocking in at over 8,000 lines of JavaScript and 175KB, which may make performance on iphones and iPads difficult. But the code is set to be open sourced in the near future, so it should be tweaked to run like butter on mobile devices with a little luck.

http://www.m3izero.co.uk