Ruffle is a Flash Player emulator written in Rust. Ruffle targets both desktop and the web using WebAssembly. Ruffle Player is a Flash emulator supporting SWF files, enabling users to copy, cut, and paste functions effectively.

Understanding the Context

ruffle-core ruffle-core is the core javascript bindings to the Wasm ruffle-web binary, and contains the actual public API. Using ruffle-core For more examples and in-depth documentation on how to use Ruffle on your website, please check out our wiki. Host Ruffle The core package is configured for websites that build and bundle their files ... Until recently, Ruffle's text input was a terrible example of this; shortcuts barely worked, you couldn't highlight text, scrolling was unlikely and it was just generally wonky.

Key Insights

The amazing @kjarosh has been working hard on fixing this, making text inputs closer to Flash and feel just oh so much better. Documentation for ruffle-core The Config module contains all the types that Ruffle uses for movie configs. The main interface of interest here is BaseLoadOptions, which you can apply to window.RufflePlayer.config to set the default configuration of all players. Documentation for ruffle-core Install this version of Ruffle into the current page. Multiple (or zero) versions of Ruffle may be installed at the same time, and you should use window.RufflePlayer.newest() or similar to access the appropriate installation at time of use.

Final Thoughts

It's been a very busy 2023 for Ruffle, so much so that we didn't find the time to write a new progress report with everything going on! Let's fix that! Ruffle finally supports copying and pasting text! Thanks to the efforts of myself and @Toad06, editable text boxes in Ruffle now support cutting, copying and pasting.