Google's Swiffy does Flash to HTML5
Google's Swiffy does Flash to HTML5
Written by Ian Elliot   
Wednesday, 29 June 2011

Google has just released a tool called Swiffy which takes a Swf file and converts it to HTML5 - hence the name. Although still experimental it opens up lots of possibilities.

 

All you have to do to use Swiffy is provide the .swf file and it outputs HTML5 with the animation data coded using JSON.

The actual graphics are rendered using SVG and the level of SVG support has to be good. No prizes for guessing which browser has just this level of SVG support - Chrome, of course, but it also should work with Safari.

At the moment Swiffy is provided as a web service. You go to the web page, upload your file and it gets converted. Currently you can't get the source and Google hasn't decided if Swiffy is going to be open source or not.

Google says that such an early version can't be expected to convert all Flash content but it should work with timeline animations, vector graphics etc. A full Flash game is beyond it at the moment but you can see some examples of what it can do at a gallery site that Google has set up.

 

swffygallery

 

Given SVG, HTML5 and CSS3 it should be easier than you think to convert a Flash presentation. After all ActionScript is just a slightly modified version of JavaScript.  It is claimed that the converted files are almost as compact as the originals.

 

swffyicon

So far Swiffy isn't supposed to provide a solid alternative to Flash, just an experimental tool, but clearly it could be used as a way of getting Flash-based content onto Flash-hating Apple systems. It seems likely that this isn't the last we will hear of Swiffy.

More Information

Swiffy

Gallery of SWF files

 

Banner


IPython 5.0-LTS Released
11/07/2016

IPython 5 is the first version to get Long term Support (hence the LTS name). It features a major upgrade to the terminal interface with new editing facilities which are provided by a cross-platf [ ... ]



A Flaw In Turing's Test? No A Flaw In Academia
09/07/2016

There is a flaw in the Turing test. An AI agent that pleads the 5th can, by remaining silent, convince a judge that it is human and hence pass the test... If you are not rolling on the flaw laughing t [ ... ]


More News

Last Updated ( Wednesday, 29 June 2011 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2016 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.