Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stop traces in swc-library (actionscript3)

There are a lot of traces embedded in a swc-library I'm using in flash-builder. Can I get rid of them without touching its code? How?

Thanks

like image 707
algro Avatar asked Dec 04 '25 14:12

algro


1 Answers

You can use the stripper tool from Joa Ebert Apparat framework :

stripper -i my-swc-library.swc
Stripper

This tool removes all debug information from a SWF file. It is a type-safe removal keeping
side-effects. This means a loop like this while(iter.hasNext) { trace(iter.next()) } Would be rewritten like while(iter.hasNext) { iter.next() } Stripper removes also all debug releated bytecode. Example: stripper -i input.swf -o output.swf stripper -i inputAndOutput.swc

like image 196
Patrick Avatar answered Dec 07 '25 16:12

Patrick