2009/11/5 Marcin Cieslak <[email protected]>: > as3compile imports only contents of tags 72 (RAWABC) and 82 (DOABC) > from the -l *.swf files. It generates a very simple SWF file > with DOABC tag only.
I had half suspected it might do that... > So, what one can do: > > as3compile -o code.swf code.as > swfmill swf2xml code.swf code.xml > > and just merge the code.xml with assets.xml (taking > contents only of <DoABCDefine> tag and possibly <SymbolClass> > only). This can be done with any text editor. Or better, with swfmill and an XSLT. > 2) Make swfmill accept an ABC blob somehow as input > (it is trivial to make as3compile to output raw .abc object > dump). My wish were also possibility to extract ABC objects > as binary dumps for various decompilers using swfmill. I’ve had it in mind to add something to swfmill to import ABC blobs. It’d also be good to be able to optionally import code from an existing swf, discarding all other contents, in the same way as as3compile. That could be used to do things like constructing true preloaders. Dan. _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
