Skip to content

open-flash/swf-emitter

Repository files navigation

Open Flash logo

SWF Emitter

npm crates.io GitHub repository Build status

SWF emitter implemented in Rust and Typescript (Node and browser). Converts swf-types movies to bytes.

This library is part of the Open Flash project.

Usage

Goal

The goal of this emitter is to enable the manipulation and compilation of SWF files. For example, the emitter is used by Open Flash to generate test samples.

The emitter guarantees that parsing back the result will return the same AST. If you find an example where this invariant is broken, please fill an issue: this is a bug. The same AST always produces the same output.

Status

Most of the tags are implemented but some are still missing. Help is welcome to complete the emitter.

Contributing

You can also use the library and report any issues you encounter on the Github issues page.