ArticleslgStudy

computer science

Google Swiffy

Google Swiffy is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Google Swiffy rather than just read about it. In short: Google Swiffy was a web-based tool developed by Google that converted SWF files to HTML5. Its main goal was to display Flash contents on devices that do not support Flash, such as iPhone, iPad, and Android Tablets.

Google Swiffy — main illustration
Google Swiffy — illustration

Key takeaways

  • Google Swiffy belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Google Swiffy to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Google Swiffy from memory before moving on to harder problems.

Reference excerpt

Google Swiffy was a web-based tool developed by Google that converted SWF files to HTML5. Its main goal was to display Flash contents on devices that do not support Flash, such as iPhone, iPad, and Android Tablets. Swiffy was shut down on July 1, 2016.

Approach A closed source web service hosted by Google converts SWF to an intermediate representation serialized as JSON. This representation is in turn converted into SVG in the web browser via JavaScript, which is also used for animations. The Swiffy thesis (2012) explains its general approach in the following way:

The choice of SVG for rendering leaves us with several options to animate the SVG content. At first sight, both CSS animation and SMIL, adhere to our design goal of using a declarative representation when possible. However, both technologies provide insufficient control over the animation when support for ActionScript scripting is required. For example, although the concept of keyframes exists in CSS animation, it does not provide a mechanism to synchronise the JavaScript code to those keyframes or to modify the timeline from JavaScript, which is a basic feature required for SWF compatibility. Another limiting factor is that animation in the SWF file itself is not defined in terms of high-level transitions, but defines the position of every object at specific keyframes. Mapping these definitions back onto CSS or SMIL transitions is not always possible. Finally, these standards are not widely available: The CSS animation specification is still in working draft state, while SMIL is not implemented in the Internet Explorer browser. We have therefore chosen to use JavaScript to animate SVG on the client. Although this imperative approach might be less efficient, the level of control it provides is required to match all SWF functionality.

Supports Google Swiffy supported a subset of SWF 10, ActionScript 2.0 and ActionScript 3.0.

Supporting browsers Google Chrome Safari Firefox 5+ (partly supported) IE9 (partly supported) and IE10 WebKit-based browsers

Development Swiffy was started in the summer of 2011 by Google engineering intern Pieter Senster, who joined their mobile advertising team to search for solutions to display Flash content on devices that do not support Flash. Progress on Swiffy was sufficient that Google hired him full-time and formed a team to work on the project. The product manager of Google Swiffy was Marcel Gordon. Swiffy 6.0.1 was released on February 11, 2014. Swiffy was shut down July 1, 2016.

Related software Wallaby by Adobe converts FLA files to HTML5. Ruffle, a free and open source Flash emulator that is actively developed. Mozilla Shumway took a different approach by implementing a virtual machine for SWF in JavaScript.

References

External links Google Swiffy Homepage Google Swiffy Demos Google Code Blog - Swiffy: convert SWF files to HTML5

Worked examples

Example 1 — a first encounter with Google Swiffy

Start with the simplest possible case. Write down what Google Swiffy claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Google Swiffy before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Google Swiffy ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Google Swiffy

In research
Google Swiffy appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Google Swiffy in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Google Swiffy is common in secondary-school and first-year university syllabi. It links to neighbouring topics Adobe Flash, Google software, HTML5, so understanding it makes those chapters shorter.
In everyday life
Look for Google Swiffy outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Google Swiffy” →

How to study Google Swiffy in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Google Swiffy means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Google Swiffy out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Google Swiffy in simple terms?

Google Swiffy was a web-based tool developed by Google that converted SWF files to HTML5. Its main goal was to display Flash contents on devices that do not support Flash, such as iPhone, iPad, and Android Tablets.

Why does Google Swiffy matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Google Swiffy?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Google Swiffy.

Tags

  • Adobe Flash
  • Google software
  • HTML5
  • Scalable Vector Graphics

Keep exploring