有 AS3 Minify 吗?如何缩小actionscript3?
我发现了几个 javascript minify 工具,但是它们用左大括号和右大括号做了一些奇怪的事情,即使 ActionScript 基于 ECMAScript,但它似乎不起作用。想知道是否有人知道我可以使用的 actionscript3 压缩器。有人吗?
I've found several javascript minify tools however they do something weird with open and close braces, even though ActionScript is based on ECMAScript it doesn't seem to work. Wondering if anyone knows of an actionscript3 minifier that I could use. Anyone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
无需缩小 AS3。 AS3 被编译为字节码,然后封装在 gzip 压缩的 swf 中。
There is no need to minify AS3. AS3 gets compiled to bytecode which is then wrapped in a gzip compressed swf.
无需缩小操作脚本代码。但刚刚发现这个工具,它可以满足您的要求。 http://codebeautify.org/actionscript
There is no need to minify action script code. but just found this tool , that does what you want. http://codebeautify.org/actionscript
我使用了一个名为 irrfuscator 的工具,它有局限性,因为不太智能,所以我无法在链接到其他项目的 Flex 项目上使用它(我将我的代码拆分在项目中),并且您需要确保不使用动态功能,还要确保测试结果,所以对于简单的项目它可以工作,对于复杂的代码或直接 sqf 混淆器我不推荐混淆,因为它很难
I used a tool named irrfuscator, it has limitations because is not so smart so I could not used it on Flex projects that link to other projects (i split my code in projects) and you need to make sure you don't use dynamic features, also make sure to test the result, so for simple projects it works, for complex code or direct sqf obfuscator I don't recomend obfuscation because it is hard