Read, edit and write SWF (Shockwave Flash) files — their AVM1 ActionScript, and render them to images or SVG — entirely in code, on .NET 10. Fast, allocation-light, and round-trips losslessly.
aerafaldev.github.io/ShockwaveFlash — guides for SWF
reading/writing, AVM1 bytecode, the System.Text.Json-style serializer, and rendering.
| Package | Version | Description |
|---|---|---|
| ShockwaveFlash | Disassemble a .swf into a strongly-typed, mutable tag tree and assemble it back losslessly. |
|
| ShockwaveFlash.Avm1 | Decode DoAction bytecode, evaluate data scripts to a typed value tree, edit, and map to your own records. |
|
| ShockwaveFlash.Rendering | Render shapes, sprites, timelines and text to PNG/JPEG/WebP/GIF/PDF (Skia) and SVG. |
dotnet add package ShockwaveFlash # read / write SWF
dotnet add package ShockwaveFlash.Avm1 # AVM1 bytecode & data scripts
dotnet add package ShockwaveFlash.Rendering # render to PNG/JPEG/WebP/GIF/PDF/SVGIssues and pull requests are welcome — see CONTRIBUTING.
MIT © Aerafal