资 源 简 介
Usage
swflink -V # get versionswflink [-v] [-o output.swf] main.swf lib1.swf [... libN.swf] # link lib* into main then write to output
Limitations
Currently only tested with mtasc generated swfs, and all lib.swf contains code only.
No ABC (AS3) support yet, I think one can use swc easily with Flex SDK.
Please report as new issue if you find any bug there.
Build
checkout SWFTools and compile core part of it.
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/swftools checkout swftoolscd swftools./configurecd libmakecd ../..
checkout SWFLink and compile
svn checkout http://swflink.googlecode.com/svn/trunk/ swflinkcd swflinkmake SWFTOOLS=../swftools # if you see "ld: in ../swftools/lib/libbase.a, archive has no table of contents" in osx# give "ranlib ../swftools/lib/libbase.a" a try
now try it
./swflink