Swiffy – Online Transformation of SWF to JSON

http://swiffy.googlelabs.com/

This new tool from Google allows you to transform Flash files to a JSON object

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. If possible, exporting your Flash animation as a SWF 5 file might give better results.

The Result after ane example SWF file got transformed looks like this:

<!doctype html><html><head><meta charset="utf-8"><title>Swiffy output</title><script src="http://www.gstatic.com/swiffy/v1/runtime.js"></script><script>swiffyobject = {"tags":[{"bounds":{"ymin":0,"ymax":12000,"xmin":0,"xmax":16000},"id":1,"paths":[{"fill":0,"data":"mhvhv:::000p000l000P000L"}],"fillstyles":[{"transform":"32D::71F000h000f","type":3,"gradient":{"stops":[{"color":1711276032,"offset":"0"},{"color":0,"offset":"0.761"}]}}],"type":1},{"tags":[{"id":1,"matrix":"::::::","type":3,"depth":1},{"type":2}],"id":2,"frameCount":1,"type":7},{"id":2,"name":"bg","matrix":"::::::","type":3,"depth":1},{"id":3,"bold":true,"name":"Verdana","emSquareSize":20480,"type":5},{"wrap":true,"text":"title goes here...","indent":0,"font":3,"rightMargin":0,"type":13,"bounds":{"ymin":-40,"ymax":460,"xmin":-40,"xmax":7659},"id":4,"bold":true,"height":220,"color":10790052,"multiline":true,"leading":40,"leftMargin":0},{"id":4,"name":"tn_title","matrix":"::::0x840i","type":3,"depth":3},{"id":5,"name":"Verdana","emSquareSize":20480,"type":5},{"wrap":true,"text":"description goes here...\r2\r3","indent":0,"font":5,"rightMargin":0,"type":13,"id":6,"bounds":{"ymin":-40,"ymax":983,"xmin":-40,"xmax":10025},"height":220,"color":14211288,"multiline":true,"leading":40,"leftMargin":0},{"id":6,"name":"tn_desc","matrix":"::::0x340j","type":3,"depth":4},{"wrap":true,"text":"title goes here...","indent":0,"font":5,"rightMargin":0,"type":13,"id":7,"bounds":{"ymin":-40,"ymax":461,"xmin":-40,"xmax":10022},"height":220,"color":14408667,"multiline":true,"leading":40,"leftMargin":0},{"id":7,"name":"tn_url","matrix":"::::0x379k","type":3,"depth":5},{"wrap":true,"text":"3D Cylinder Box","indent":0,"rightMargin":0,"font":3,"align":2,"type":13,"bounds":{"ymin":-40,"ymax":526,"xmin":-40,"xmax":12659},"id":8,"bold":true,"height":400,"color":13553358,"multiline":true,"leading":40,"leftMargin":0},{"id":8,"name":"ht_title","matrix":"::::00n0d","type":3,"depth":6},{"bounds":{"ymin":-40,"ymax":381,"xmin":-40,"xmax":5579},"id":9,"height":280,"indent":0,"leading":40,"color":14671839,"rightMargin":0,"font":5,"leftMargin":0,"type":13},{"id":9,"name":"tn_copyright","matrix":":::b0d0d","type":3,"depth":7},{"type":2}],"v":"1.0","backgroundColor":16777215,"frameSize":{"ymin":0,"ymax":12000,"xmin":0,"xmax":16000},"frameCount":1,"frameRate":40,"version":9};</script></head><body style="overflow:hidden;margin:0;">
<script>var stage = new swiffy.Stage(document.body, swiffyobject);</script><script>stage.start();</script>
VN:F [1.9.22_1171]
Rating: 9.5/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)
Swiffy - Online Transformation of SWF to JSON, 9.5 out of 10 based on 4 ratings