Ruffle is an Adobe Flash Player emulator written in the Rust programming language. This emulator is designed to run on both desktop and web platforms using WebAssembly. Ruffle aims to preserve Flash content, making it accessible even after the official end-of-life of Adobe Flash Player.
Ruffle provides robust support for ActionScript 1, ActionScript 2, and ActionScript 3. Although it is still under active development, the emulator handles many Flash files effectively. Users are encouraged to report any issues via the Issue Tracker.
Ruffle can be used seamlessly on desktop environments and integrated into websites via WebAssembly, enabling web developers to embed Flash content directly into modern web pages.
The web demo page offers a straightforward way to test Ruffle. Users can load a SWF file and see it in action. Additionally, nightly builds are available for download for both desktop and web platforms.
Ruffle is organized into several core components:
wgpu-rs
.wasm-bindgen
.To build Ruffle from source, you'll need the latest stable version of Rust and Java on your PATH as java
. For specific platform prerequisites and detailed build instructions, refer to the relevant sections in the repository.
For desktop builds, use the following command:
To run a specific SWF file, provide the SWF path as an argument:
For macOS users, Ruffle can be installed via the Homebrew Tap:
To update, run:
Refer to the web directory for instructions on building the web or browser extension version of Ruffle.