我可以改变一个ActionScript字符串中的SWF没有FLA文件的源? [英] Can I change an ActionScript string literal in a SWF without the source FLA file?

查看:139
本文介绍了我可以改变一个ActionScript字符串中的SWF没有FLA文件的源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个客户要我将其中大部分是基于Flash的一个新的服务器自己的老网站之一。

A customer has asked me to move one of their old websites which is mostly flash based to a new server.

该网站的原开发商多年前犯了一个错误使用//127.0.0.1 / .... HTTP。最初的开发公司早已没有了。

The original developer of the site many years ago made a mistake by using "http://127.0.0.1/...." in one important link in some ActionScript. The original development company is long since gone.

我可以使用硕思闪客精灵反编译的SWF和发现并纠正违规动作。但是我不能重新编译回到了正确的工作完全是SWF(许多额外的错误出现,因为它是一个复杂的Flash项目)。我已经尝试了不同的Flash版本(可以追溯到6节),该SWF的第4个字节表示它最初是第7节(MX2004),我尝试了匹配十六进制中,对原来的(到帐户重新编译输出字节对于标签COM pression等)到目前为止,一切都没有匹配。

I am able to decompile the SWF using Sothink SWF Decompiler and find and correct the offending ActionScript. However I am unable to recompile back into a SWF that works completely correctly (numerous additional bugs appear, as it's a complicated Flash project). I've tried different Flash versions (going back to v.6), the 4th byte of the SWF indicates it was originally v.7 (MX2004), and I've tried matching Hex bytes in recompiled output against the original (to account for Tag compression etc.) So far nothing has matched.

这将要花费很长的时间来修复我重新编译的Flash,当我真正想要做的是改变一个字符串在原来的SWF使网站的工作,正是因为它本来是打算做所有附加的错误。我ppared,使我的新字面匹配旧的不正确本恰好在必要的字符串长度(以新的服务器连接回到正确的文件上添加目录/符号连接)$ P $。

It would take me a long time to fix all the additional bugs in my recompiled Flash, when all I really want to do is change one string literal in the original SWF so that the site works exactly as it was originally intended to do. I'm prepared to make the string length of my new literal match the old incorrect one exactly if necessary (by adding a directory/symlink on the new server linking back to the correct file).

有没有办法做到这一点?

Is there any way to do this?

推荐答案

URL动作编辑器的完美。改变一个字符串而不会破坏任何东西(不像其他工具/反编译器在其他帖子提到的)。

URL Action Editor worked perfectly. Changed a string literal without breaking anything else (unlike the other tools/decompilers mentioned in other posts).

这篇关于我可以改变一个ActionScript字符串中的SWF没有FLA文件的源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆