Google releases Swiffy – Flash to HTML5 convertor
June 30, 2011
Posted by on
Not content with releasing a new social network on the world, the boffins at Google Labs have released Swiffy, a new web-based tool that allows developers to easily convert Adobe Flash files into HTML5. This isn’t the first tool to do this as Adobe released Wallaby earlier this year to do the same thing. The main difference between the two is that Swiffy is web based while wallaby runs of a local machine. Additionally, Wallaby’s code is designed to be edited and reused, whereas Swiffy’s code is optimized and compressed in such a way that makes editing difficult.
The Swiffy demo pages shows off the power of the tool. In addition to converting basic banner ad animations, click-event interactions can also be converted to HTML5. To be clear, this won’t convert videos, complex animations or games, but the tool meets its desired goal quite adequately.
Google Chrome ad
Google Chrome ad using various SWF features such as vector graphics, embedded fonts and timeline animation.
Symphony Orchestra ad
An example using masks. This shows Swiffy’s graceful degradation when an unsupported feature is encountered (in this example, a drop shadow filter).
Game example 1
A simple AcionScript 2.0 game with support for keyboard and mouse input.
Game example 2
Another simple game supporting mouse and touch input.
Unfortunately Swiffy generated files are also not available everywhere as the more advanced SVG features the Swiffy take advantage of means that the only browsers that support the converted code right now are Webkit-based. That means Safari and Chrome on the desktop and Mobile Safari on iOS will support the converted files.
This web-based conversion tool will be a tool that advertisers with Flash ads will want so they don’t have to recreate these adverts for display on Flash-free devices.