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 withou开发者_JAVA技巧t touching its code? How?
Thanks
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
in Flash Builder under project properties: omit-trace-statements
set to true.
then it should skip all traces.
精彩评论