What a runtime actually was

Flash was not a file format. It was an execution environment — and that distinction explains why no browser feature could simply absorb its role.
A machine inside the machine
When a browser loaded a .swf file, it handed control to Adobe's Flash Player, a plugin that ran its own bytecode, managed its own memory, and drew pixels to its own compositing surface. The browser knew that something was occupying a rectangle on the page. It did not know what was happening inside it. Flash maintained a separate virtual machine — the ActionScript Virtual Machine, upgraded to AVM2 with ActionScript 3 in 2006 — with its own garbage collector, its own threading model, and its own audio and networking stacks. It was, in a precise technical sense, a runtime environment housed inside a host application.
This architecture was both the source of Flash's power and the reason its removal in 2020 left nothing in place to catch it. A browser engine such as WebKit or Gecko renders HTML and executes JavaScript through its own pipeline; it does not expose hooks into which a foreign virtual machine can simply be swapped. The .swf format encoded compiled bytecode, vector graphics, timeline data and embedded assets in a binary structure that no native browser API was designed to interpret.

The replacements that emerged — Canvas, WebGL, and then WebAssembly — are native browser features, not drop-in equivalents. WebAssembly can execute near-native binary code inside the browser's sandbox, and WebGL gives direct access to GPU-accelerated graphics, but neither speaks ActionScript or parses .swf natively. Preserving Flash content required either re-implementing the entire runtime in software, as the Ruffle project did in Rust compiled to WebAssembly, or archiving the original executables with the games themselves. Both approaches demand that someone rebuild or carry forward the whole machine, not just the files it once played. The content and the runtime were inseparable, which is precisely why Adobe's end-of-life decision deleted so much at once.
What the terms mean
.swfthe binary file format carrying Flash content; stands for Small Web Format

Read next
Elsewhere on the site