Compiling an .abc containing multiple scripts - mozilla/shumway GitHub Wiki
Make sure you have a copy of asc.jar, then:
java -ea -DAS3 -DAVMPLUS -classpath /PATH/TO/asc.jar macromedia.asc.embedding.ScriptCompiler -import /PATH/TO/builtin.abc -out <outfile> script1.as ... scriptN.as
This will generate 3 files:
<outfile>.abc
<outfile>.cpp
<outfile>.h
The .cpp
and .h
files are if you need to embed the ABC as a binary blob in your C/C++ program, and can usually be ignored.