本帖最后由 tinsea 于 2014-8-13 15:38 编辑
flash 是从这里下载的
[HTML] 纯文本查看 复制代码 http://bobing.xmfish.com/pages/bobing/swf/play.swf
反编译后
[JavaScript] 纯文本查看 复制代码 function get_var() {
flash.external.ExternalInterface.call("run");
resultStr = String(flash.external.ExternalInterface.call("getResultStr"));
resultName = String(flash.external.ExternalInterface.call("getResultName"));
resultLevel = String(flash.external.ExternalInterface.call("getResultLevel"));
clickrecord = flash.external.ExternalInterface.call("getResultbnum");
var _local1 = 0;
while (_local1 < resultStr.length) {
nums[_local1] = Number(resultStr.charAt(_local1));
_local1++;
}
}
function show_dialog() {
var _local1 = parseInt(resultLevel);
if (isNaN(_local1)) {
return(undefined);
}
flash.external.ExternalInterface.call("addinfo");
}
function resShow() {
outcome._y = 15;
}
function resHide() {
outcome._y = -56;
}
function check_val() {
if (nums.length != 6) {
return(false);
}
var _local1 = 0;
while (_local1 < 6) {
if ((nums[_local1] > 6) || (nums[_local1] < 1)) {
return(false);
}
_local1++;
}
return(true);
}
var btnposition = 175;
onEnterFrame = function () {
btnposition = flash.external.ExternalInterface.call("getPosition");
btn_play._x = btnposition;
};
System.useCodepage = true;
stop();
var nums = new Array();
var resultStr = "";
var resultName = "";
var resultLevel = "";
var btn_enable = true;
var clickrecord = 0;
btn_play.onRelease = function () {
if (!btn_enable) {
return(undefined);
}
btn_enable = false;
get_var();
if (check_val()) {
play();
resHide();
} else {
outcome.text = resultName;
resShow();
btn_enable = true;
}
if (clickrecord == 1) {
note.gotoAndPlay(2);
}
};
看不懂从哪里开始执行的,求有经验的人帮忙看下,反编译的代码好像不止这些。
从这里会获取要POST的数据
|