The SWF file is converted in two phases:
- The Swiffy compiler (which you can use on this website) 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.
Details from FAQ: