ruffle-rs /ruffle
A Flash Player emulator written in Rust
★ 18,863⑂ 1,193👁 165⑃ 9,367● 14,983▤ 1,892
+4
Daily
18,863
stars
1,193
forks
165
watchers
9,367
prs
14,983
issues
1,892
releases
README
website | demo | nightly builds | wiki
Ruffle
Ruffle is an Adobe Flash Player emulator written in the Rust programming language. Ruffle targets both the desktop and the web using WebAssembly.
Table of Contents
Project status
Using Ruffle
Building from source
Prerequisites
Linux prerequisites
Desktop
Build
macOS
Web or Extension
Android
Scanner
Exporter
Structure
Sponsors
License
Contributing
Project status
Ruffle supports ActionScript 1, 2 and 3 pretty well, but it's still not finished by any means. Please report any issues in the Issue Tracker.
Using Ruffle
The easiest way to try out Ruffle is to visit the web demo page, then click the "Select File" button to load a SWF file of your choice.
Nightly builds of Ruffle are available for desktop and web platforms.
For more detailed instructions, see our wiki page.
Building from source
Prerequisites
Latest stable channel of Rust
Java, available on your PATH as java (required for building the library containing the builtin Flash classes for ActionScript 3)
Linux prerequisites
The following are typical dependencies for Linux:
Ubuntu/Debian:
shell
sudo apt install pkg-config libasound2-dev libudev-dev libfontconfig-dev libfreetype6-dev libssl-dev default-jre-headless g++
Fedora/RHEL:
shell
sudo dnf install pkgconf-pkg-config alsa-lib-devel systemd-devel fontconfig-devel freetype-devel openssl-devel java-latest-openjdk-headless gcc-c++
Desktop
Build
Use the following command to build and run the desktop app:
cargo run --release --package=ruffle_desktop
To run a specific SWF file, pass the SWF path as an argument:
cargo run --release --package=ruffle_desktop -- test.swf
To build in debug mode, simply omit --release from the command.
Desktop has a few optional features which you can specify via --features, comma separated:
tracy: Enables profiling to Tracy. You may need to expand the log filter to see everything, e.g. RUST_LOG="warn,ruffle=debug"
tracy_images: Enables Tracy frame captures. Implies tracy.
tracy_avm: Enables profiling AVM execution with Tracy. Implies tracy.
render_debug_labels: Enables debug labels during rendering, useful for debugging graphics with renderdoc or similar.
macOS
Ruffle desktop can be built from our Homebrew Tap:
brew install --HEAD ruffle-rs/ruffle/ruffle
_Note: because it is HEAD-only, you'll need to run brew upgrade --fetch-HEAD ruffle each time you want to update._
Web or Extension
Follow the instructions in the web directory for building
either the web or browser extension version of Ruffle.
This project is tested with BrowserStack.
Android
Follow the instructions in the ruffle-android project for building the Android application of Ruffle.
Scanner
If you have a collection of "real world" SWFs to test against, the scanner may be used to benchmark
ruffle's parsing capabilities. Provided with a folder and an output filename, it will attempt to read
all of the FlashTop issues
#310Actionscript Tracking: Top Level48 comments · 2020-01-11#723Tracking issue for video decoding47 comments · 2020-06-16#12078Errors in Vyond's animation creator31 comments · 2023-07-15#671Doesn't work on Chrome in macOS 10.15+27 comments · 2020-05-31#7196Floating point exception (core dumped) Arch3223 comments · 2022-06-08#1008net::ERR_FAILED with cross-origin embeds (Web/Chrome)21 comments · 2020-08-15#22860Uncaught InternalError: too much recursion (while using ArcGIS Flex SDK)19 comments · 2026-01-27#194832025 exe version doesn't work on Windows 7 x6419 comments · 2025-02-10
Discussions
#25145I made an amazing concept for you coming in 2027 as concept i've made and it's not fake it's real for you, adobe and microsoft.1 comments · 2026-11-11#24870GPU memory management: gap inventory, measurements, and where the in-flight PRs fit0 comments · 2026-10-10#24640Help1 comments · 2026-09-07#24154When should inactive GitHub issues be auto‑closed?1 comments · 2026-07-08#24067Will the high CPU usage problem be resolved in the future?0 comments · 2026-06-26#23880Can I ask why a game does not work, even though I already reported it as an issue?0 comments · 2026-06-02#23461Ruffle is impressive2 comments · 2026-04-15#23363Modifying games0 comments · 2026-03-30
Latest release
Release 0.7.1 v0.7.1 2026-10-07This release fixes some configuration issues we had that prevented extensions from being published. It's equivalent to 0.7.0. Full Changelog: https://github.com/ruffle-rs/ruffle/compare/v0.7.0...v0.7.1