Sunday 1 April 2012

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 can't yet convert DoubleClick Studio creatives.
Swiffy currently supports a subset of SWF 8 and ActionScript 2.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.

Supported features and browsers

Swiffy supports shapes, embedded fonts, timeline animation, (dynamic) text, movie clips, buttons and scripting using ActionScript 2. The following table summarizes Swiffy's level of support, and indicates which browsers support the generated HTML5:
FeatureChromeSafariMobile SafariAndroid BrowserFirefoxInternet ExplorerOpera
15.0
5.1
iOS 5
4.0.3
8.0
9
11.60
ActionScript 2
[Partially supported]







Buttons






Filters
[Partially supported]







Embedded fonts






Images






Masks






Shapes






Sound
[Partially supported]







Static text






Dynamic text



[1]

Tweening
shape, classic, motion







  1. Dynamic text is only supported when using device fonts on Firefox.
Swiffy uses web standards such as SVG and EcmaScript 5, so over time more browsers will support Swiffy output.

No comments:

Post a Comment