[英]Flash AS3 Main swf's binary checksum
I have a 'Shell' swf as the main swf to protect other things in the project. 我有一个“ Shell” SWF作为主要的SWF文件,以保护项目中的其他内容。
Shell swf's procedure is: Shell swf的过程为:
The problem is step 4, I want to do binary checksum of Shell swf. 问题是步骤4,我想对Shell swf做二进制校验和。
Questiones are: 问题是:
If you create an AIR app you can temporarily load original file ("Shell.swf") in application bundle using standard URLLoader or File and FileStream. 如果创建AIR应用程序,则可以使用标准URLLoader或File and FileStream在应用程序捆绑包中临时加载原始文件(“ Shell.swf”)。 If your app will work in browser then you can get self-file-name and URL from loaderInfo and load it using URLLoader.
如果您的应用程序可以在浏览器中运行,那么您可以从loaderInfo获取自身的文件名和URL,然后使用URLLoader进行加载。 Anyway after your verification process complete you need unload it.
无论如何,验证过程完成后,您需要将其卸载。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.