12/12/12

Google's "Rabbi" Swiffy will Convert Flash to HTML5

Our Samsung Galaxy S3 phone (which CNET calls the best device of the year) surprisingly does not support Flash. Our iPad never supported Flash. These devices do support HTML5. So we went out to look for ways to convert Flash to HTML5.

Our initial result was good. We recommend Google's "Rabbi" Swiffy if you want to convert from Flash SWF to HTML5. It worked for us on a fairly complicated Flash animated graphic.

Note, this free converter works in beta mode for small Flash files, a typical Google limitation. If you try a larger one you get told, “Sorry, Swiffy currently does not convert SWF files larger than 1024 KB.”

Google says:

Swiffy converts Flash SWF files to HTML5, allowing you to reuse Flash content on devices without a Flash player (such as iPhones and iPads). Swiffy can't yet convert DoubleClick Studio creatives.
...Swiffy 5.0 introduces experimental support for ActionScript 3.0.

Swiffy can be used in two ways:
  • With the Swiffy Extension, you can directly publish to HTML5 from Adobe Flash Professional.
  • On the Swiffy homepage, you can upload your SWF file to convert it to HTML5.
Both methods will always use the most recent version of Swiffy.

How Swiffy works

Swiffy converts a SWF file to an HTML page that contains an efficient representation of the file as a JSON object. The HTML page uses the Swiffy runtime (a JavaScript library) to render the animation using mainly SVG. Compiled ActionScript code is also contained in the JSON file and executed as JavaScript in the browser.

No comments: