CreateSWF is a tool to compile assets contained in a target folder directly into an SWF file. It is meant to be used for creating runtime SWF libraries without the hassle of using a Flash IDE to manually import assets. CreateSWF was originally written in Perl and currently ported to C++. To use it, make sure that the environment variable FLEX_HOME is defined and pointing to the Flex SDK.

A Makefile target with the pattern %.swf searches the assets directories with the specified name and then compiles the assets into an swf file with the same name

When no path is given to the executable, it will open in GUI mode where you can pick the directory you want to compile