-3

I'm writing a simple game in Flash CS3 ActionScript, and I embed the swf output to my website. But, for now, the .swf file is directly downloadable. And it contains things that the players should not see, like the "AJAX" calls.

So I'm wondering, if one can see the source code from my swf?

And if so, how can I embed the swf in a way that the user does not see the filename? Instead of <embed src='./myswf.swf'></embed> ?

  • So the real question becomes, how do I hide the swf's filename?
4

1 回答 1

0

SWF 文件可以被反编译。你可以混淆代码,但它仍然可以被反编译,任何人都可以提取他们想要的任何资源。

在您的情况下,我怀疑他们甚至不需要反编译,因为您要隐藏的是 AJAX 调用。然而,这些可以直接在任何浏览器开发工具或代理中查看。

于 2013-05-22T09:05:14.157 回答