如何找到一个flash游戏的地址

发布网友 发布时间:2022-04-22 09:03

我来回答

4个回答

热心网友 时间:2024-03-14 10:59

不好意思那个不是flash

所以你弄不到QQ空间的

信我(不是flash)

热心网友 时间:2024-03-14 10:59

我将这个游戏做成hta文件,你只需将下面代码粘贴到记事本,保存成“看你能坚持几秒.hta”,就可以双击运行。

****************************************代码:

<html>
<head>
<title>看你能坚持几秒</title>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<link rel="stylesheet" href="howcanyoudo_files/style.htm" type="text/css" media="all">
<script type="text/javascript">
isNS4 = (document.layers) ? true : false;
isIE4 = (document.all && !document.getElementById) ? true : false;
isIE5 = (document.all && document.getElementById) ? true : false;
isNS6 = (!document.all && document.getElementById) ? true : false;
var curX, curY, curX2, curY2, boxX, boxY, moving=0, touch=0;
var gametime=0, started=0, speed;
var starttime, endtime, finaltime=0; //pass finaltime to popup window to ask for initials
var enemyxdir = new Array(1,1,1,1);
var enemyydir = new Array(1,1,1,1);

if (isNS4 || isNS6){
document.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN|Event.MOUSEMOVE);
}
document.onmousedown = start;
document.onmousemove = checkLocation;
document.onmouseup = stop;

function startclock() {var today = new Date(); starttime = today.getTime();}
function endclock() {var today = new Date(); endtime = today.getTime();}
function calctime() {var time = (endtime - starttime - 0)/1000; return time;}

function giveposX(divname) {
if (isNS4) var posLeft = document.layers[divname].left;
else if (isIE4 || isIE5) var posLeft = document.all(divname).style.pixelLeft;
else if (isNS6) var posLeft = parseInt(document.getElementById(divname).style.left + "");
return posLeft;
}

function giveposY(divname) {
if (isNS4) var posTop = document.layers[divname].top;
else if (isIE4 || isIE5) var posTop = document.all(divname).style.pixelTop;
else if (isNS6) var posTop = parseInt(document.getElementById(divname).style.top + "");
return posTop;
}

function setposX(divname, xpos) {
if (isNS4) document.layers[divname].left = xpos;
else if (isIE4 || isIE5) document.all(divname).style.pixelLeft = xpos;
else if (isNS6) document.getElementById(divname).style.left = xpos;
}

function setposY(divname, ypos) {
if (isNS4) document.layers[divname].top = ypos;
else if (isIE4 || isIE5) document.all(divname).style.pixelTop = ypos;
else if (isNS6) document.getElementById(divname).style.top = ypos;
}

function givesize(divname, dimension) {
var divsize = 0;
if (dimension == 'y') {
if (isNS4) divsize = document.layers[divname].clip.height;
else if (isIE4 || isIE5) divsize = document.all(divname).style.pixelHeight;
else if (isNS6) divsize = parseInt(document.getElementById(divname).style.height + "");
}
else if (dimension == 'x') {
if (isNS4) divsize = document.layers[divname].clip.width;
else if (isIE4 || isIE5) divsize = document.all(divname).style.pixelWidth;
else if (isNS6) divsize = parseInt(document.getElementById(divname).style.width + "");
}

return divsize;
}

// check to see if 'box' is touching 'enemy1'
function checktouching(num) {

var enemy = "enemy" + num + ""
var difX = giveposX('box') - giveposX(enemy) - 0; // -0 converts to integer
var difY = giveposY('box') - giveposY(enemy) - 0;

// set touch = 1 if it is touching an enemy
if (difX > (-1 * givesize('box', 'x')) && difX < givesize(enemy, 'x') && difY > (-1 * givesize('box', 'y')) && difY < givesize(enemy, 'y')) {
touch = 1;
}
else touch = 0;

}

function movenemy(num,step_x,step_y){

var enemy = "enemy" + num + ""
var enemyx = givesize(enemy, 'x');
var enemyy = givesize(enemy, 'y');

if (giveposX(enemy) >= (450 - enemyx) || giveposX(enemy) <= 0) {
enemyxdir[num] = -1 * enemyxdir[num];
}
if (giveposY(enemy) >= (450 - enemyy) || giveposY(enemy) <= 0) {
enemyydir[num] = -1 * enemyydir[num];
}

var newposx = giveposX(enemy) + (step_x*enemyxdir[num]) + 0;
var newposy = giveposY(enemy) + (step_y*enemyydir[num]) + 0;

setposX(enemy, newposx);
setposY(enemy, newposy);

checktouching(num + "");
if (touch == 1) {
stop(); reset();
}
}

function movenemies() {

gametime = gametime + 1

if (gametime >= 0 && gametime < 100) speed = 80;
else if (gametime >= 100 && gametime < 200) speed = 60;
else if (gametime >= 200 && gametime < 300) speed = 40;
else if (gametime >= 300 && gametime < 400) speed = 30;
else if (gametime >= 400 && gametime < 500) speed = 20;
else speed = 10;
// window.status = "speed: " + speed + " gametime: " + gametime;

movenemy(0,-10,12);
movenemy(1,-12,-20);
movenemy(2,15,-13);
movenemy(3,17,11);

setTimeout(movenemies,speed);
}

function start(e) {

if (started == 0) { movenemies(); startclock(); started = 1; }

curX = (isNS4 || isNS6) ? e.pageX : window.event.x ;
curY = (isNS4 || isNS6) ? e.pageY : window.event.y ;

curX2 = eval(curX - 40);
curY2 = eval(curY - 40);

boxX = eval(curX - 20);
boxY = eval(curY - 20);

var boxleft = giveposX('box');
var boxtop = giveposY('box');

if (curX > boxleft && curX2 < boxleft && curY > boxtop && curY2 < boxtop) {

moving = 1;
setposX('box', boxX);
setposY('box', boxY);

if (isNS4 || isNS6){
document.captureEvents(Event.MOUSEMOVE);
}
}
}

function stop(e){
moving=0;
if (isNS4 || isNS6){
document.releaseEvents(Event.MOUSEMOVE);
}
}

function reset(e){
endclock();
moving=0;
if (isNS4 || isNS6){
document.releaseEvents(Event.MOUSEMOVE);
}
if (finaltime == 0) {
finaltime = calctime();
window.alert('你坚持了 ' + finaltime + ' 秒.. ');

// var entername = window.confirm('Enter your name?');
// if (entername) {
// window.open("?" + finaltime,'winwin','width=300,height=500,left=40,top=40,status=1,resizable');
// document.location.reload();
// }
// else document.location.reload();
document.location.reload();
}
}

function checkLocation(e){

curX = (isNS4 || isNS6) ? e.pageX : window.event.x ;
curY = (isNS4 || isNS6) ? e.pageY : window.event.y ;

boxX = eval(curX - 20);
boxY = eval(curY - 20);

checktouching('1');

if (moving == 1 && touch == 0){

setposX('box',boxX);
setposY('box',boxY);

if (curY > 69 && curX > 69 && curY < 381 && curX < 381) return false;
else stop(); reset();
}

else if (touch == 1){
stop(); reset();
}

}

</script>
<style type="text/css" charset="utf-8">/* See license.txt for terms of usage */

.firebugHighlight {
z-index: 21474837;
position: absolute;
background-color: #3875d7;
}

.firebugLayoutBoxParent {
z-index: 21474837;
position: absolute;
background-color: transparent;
border-right: 1px dashed #BBBBBB;
border-bottom: 1px dashed #BBBBBB;
}

.firebugRulerH {
position: absolute;
top: -15px;
left: 0;
width: 100%;
height: 14px;
background: url(chrome://firebug/skin/rulerH.png) repeat-x;
border-top: 1px solid #BBBBBB;
border-right: 1px dashed #BBBBBB;
border-bottom: 1px solid #000000;
}

.firebugRulerV {
position: absolute;
top: 0;
left: -15px;
width: 14px;
height: 100%;
background: url(chrome://firebug/skin/rulerV.png) repeat-y;
border-left: 1px solid #BBBBBB;
border-right: 1px solid #000000;
border-bottom: 1px dashed #BBBBBB;
}

.overflowRulerX > .firebugRulerV {
left: 0;
}

.overflowRulerY > .firebugRulerH {
top: 0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.firebugLayoutBoxOffset {
z-index: 21474837;
position: absolute;
opacity: 0.8;
}

.firebugLayoutBoxMargin {
background-color: #EDFF;
}

.firebugLayoutBoxBorder {
background-color: #666666;
}

.firebugLayoutBoxPadding {
background-color: SlateBlue;
}

.firebugLayoutBoxContent {
background-color: SkyBlue;
}

/*.firebugHighlightGroup .firebugLayoutBox {
background-color: transparent;
}

.firebugHighlightBox {
background-color: Blue !important;
}*/

.firebugLayoutLine {
z-index: 21474837;
background-color: #000000;
opacity: 0.4;
}

.firebugLayoutLineLeft,
.firebugLayoutLineRight {
position: fixed;
width: 1px;
height: 100%;
}

.firebugLayoutLineTop,
.firebugLayoutLineBottom {
position: absolute;
width: 100%;
height: 1px;
}

.firebugLayoutLineTop {
margin-top: -1px;
border-top: 1px solid #999999;
}

.firebugLayoutLineRight {
border-right: 1px solid #999999;
}

.firebugLayoutLineBottom {
border-bottom: 1px solid #999999;
}

.firebugLayoutLineLeft {
margin-left: -1px;
border-left: 1px solid #999999;
}
</style></head><body searchboxcompanion_highlight="off" leftmargin="0" topmargin="0" bgcolor="#ffffff" marginheight="0" marginwidth="0" text="#000000">
<div id="box" style="left: 205px; width: 40px; position: absolute; top: 205px; height: 40px; background-color: rgb(153, 0, 0);">
<table height="40" width="40">
<tbody>
<tr>
<td> </td></tr></tbody></table></div>
<div id="enemy0" style="left: 270px; width: 60px; position: absolute; top: 60px; height: 50px; background-color: rgb(0, 0, 153);">
<table height="50" width="60">
<tbody>
<tr>
<td> </td></tr></tbody></table></div>
<div id="enemy1" style="left: 300px; width: 100px; position: absolute; top: 330px; height: 20px; background-color: rgb(0, 0, 153);">
<table height="20" width="100">
<tbody>
<tr>
<td> </td></tr></tbody></table></div>
<div id="enemy2" style="left: 70px; width: 30px; position: absolute; top: 320px; height: 60px; background-color: rgb(0, 0, 153);">
<table height="60" width="30">
<tbody>
<tr>
<td> </td></tr></tbody></table></div>
<div id="enemy3" style="left: 70px; width: 60px; position: absolute; top: 70px; height: 60px; background-color: rgb(0, 0, 153);">
<table height="60" width="60">
<tbody>
<tr>
<td> </td></tr></tbody></table></div>
<table border="0" cellpadding="0" cellspacing="0"><!-- row 1 -->
<tbody>
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 2 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 3 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 4 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 5 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 6 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 7 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 8 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr><!-- row 9 -->
<tr>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td>
<td bgcolor="#000000" height="50" width="50">
<table>
<tbody>
<tr>
<td></td></tr></tbody></table></td></tr></tbody></table><font face="verdana,arial,helvetica" size="2"><br> </font>
<div id="layer1" style="z-index: 1; left: 467px; width: 285px; position: absolute; top: 82px; height: 293px;">
<p>
<br>鼠标移动到红色部分。拖动红块,避免碰到蓝色部分。<br>
<br>不要碰到黑色区域。<br>
<br>如果你能达到18秒以上,你算得上是个天才。<br>
<br>据说,美国空军的飞行员被强制达到2分钟。发给你的朋友一块玩吧!<br>
</p>
</div>
</body></html>

热心网友 时间:2024-03-14 11:00

用迅雷探测器啊,不信试一试啊

热心网友 时间:2024-03-14 11:01

这不是Flash,是Javascript 。

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com