JavaScript, Tools

Presenting a fun little one… Google Swiffy

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 currently supports a subset of SWF 8 and ActionScript 2.0, and the output works in all Webkit browsers such as Chrome and Mobile Safari.

Swiffy works directly on the binary SWF file which is converted in two phases: the Swiffy compiler (which you can use on the website linked to at the end of this post) processes the SWF file and generates a JSON file. A client-side JavaScript runtime loads that JSON file and renders it using HTML, SVG and CSS.

Swiffy is far far from being a serious candidate for anything that could be relevant for Flex projects, its clear that Swiffy is intended to parse banners and advertisements that typically is targeting Flash Player 8 using AS2 since the Banner systems all insist on the lowest common denominator when clients commit their assets… Swiffy will most likely never be relevant in the context of Flex and Flash apps.

However, you can check it out for the heck of it or if you want to automate the conversion of Flash banners to HTML…
http://www.google.com/doubleclick/studio/swiffy/

************ UPDATE – 21. November 2011 ************

Google has posted an extension for Flash Pro for Swiffy:
http://www.google.com/doubleclick/studio/swiffy/

They’ve mentioned the possibility of open sourcing Swiffy on the google
labs blog before, if there was enough interest (or something like that).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s