actionscript-3 - 在 swc-library (actionscript3) 中停止跟踪

标签 actionscript-3 trace swc

我在 flash-builder 中使用的 swc-library 中嵌入了很多痕迹。 我可以在不触及它的代码的情况下摆脱它们吗?怎么办?

谢谢

最佳答案

您可以使用 stripper来自 Joa Ebert 的工具 Apparat框架:

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

关于actionscript-3 - 在 swc-library (actionscript3) 中停止跟踪,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5311004/

相关文章:

actionscript-3 - ActionScript 绑定(bind)数组对象?

apache-flex - Flex 3 中的清除日期字段

apache-flex - 强制编译时链接 SWC 中的所有类

apache-flex - 在多个 Flex 应用程序之间共享 Assets (图标/图像)的最佳方式是什么?

apache-flex - Flex 3相当于 '<fx:Declarations>'吗?

actionscript-3 - 类型化的 AS3 JSON 编码器和解码器?

linux - 如何监视新的网络连接 TTL

c - 在编译时从 __VA_ARGS__ 确定参数类型

java - 如何在java中更改Jaeger API的主机和端口

apache-flex - 是否有在 SWC 组件中嵌入元数据(例如版本、许可证)的标准化方法?