问题描述
我们已经为大型Flash项目的不同客户修改了几十个SWF版本,现在必须替换每个副本中嵌入脚本的一些字符串。其中一些FLA文件是很难找到甚至失踪(我继承了这个烂摊子,重构它目前不是一个选项)。
是否有一个)工具来取代ActionScript中使用的字符串?我试过swfmill将文件转换为XML,但它不能处理包含在字符串中的国际字符,所以我可以让他们只是部分转换。大部分的字符串被正确地提取出来,所以另外一个工具也许可以完成这个工作。
你可以试试Burak的 - 它显示网址,但我确定它可以让你编辑SWF文件。我没有使用过,但是我使用了他的ActionScript Viewer,它的功能非常好。We've got dozens of versions of an SWF modified for different customers of a big Flash project, and now would have to replace some strings embedded in scripts in each copy. The FLA file for some of these is very difficult to locate or even missing (I inherited this mess and refactoring it is currently not an option).
Is there a (free) tool to replace strings used inside ActionScript? I tried swfmill to convert the files to XML and back but it can't handle international characters contained in the strings so I could get them only partially converted. Most of the strings were correctly extracted so another tool might do the job.
You could try Burak's URL Action Editor -- it says URL, but I'm pretty sure it lets you edit any text in a SWF. I haven't used it, but I have used his ActionScript Viewer, which works wonderfully.
这篇关于替换SWF内的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!