求FLASH连连看的源代码

急求谁能弄到 有加分的 打家帮帮忙 谢谢了
2025-03-07 10:34:30
推荐回答(2个)
回答1:

http://www.pudn.com/downloads37/sourcecode/flash/detail123306.html

回答2:

stop();
fscommand("showmenu", "false");
the_change_nm = 6;
the_pass_nm = 1;
the_test_nm = 0;
the_good = 0;
tmp_start = 0;
tmp_end = 0;
esc_bz = 0;
function dongzuo(clickkey)
{
if (startkey == 0 && all192[clickkey] != 50)
{
startkey = clickkey;
} // end if
if (startkey != 0 && startkey != clickkey && all192[clickkey] != all192[startkey] && all192[clickkey] != 50)
{
tellTarget("g" + startkey)
{
gotoAndStop(1);
} // End of TellTarget
startkey = clickkey;
} // end if
if (startkey != 0 && startkey != clickkey && all192[clickkey] == all192[startkey])
{
tellTarget("g" + startkey)
{
gotoAndStop(1);
} // End of TellTarget
endkey = clickkey;
tempstart = all192[startkey];
tempend = all192[endkey];
thestring = startkey;
all192[startkey] = 50;
all192[endkey] = 50;
findlu(startkey, endkey);
all192[startkey] = tempstart;
all192[endkey] = tempend;
startkey = 0;
endkey = 0;
if (thestring != startkey)
{
thelu = thestring.split(",");
tellTarget("cont")
{
gotoAndPlay(2);
} // End of TellTarget
} // end if
} // end if
if (startkey != 0)
{
tellTarget("g" + startkey)
{
gotoAndStop(2);
} // End of TellTarget
} // end if
} // End of the function
function findlu(x, y)
{
thestartx = (x - 1) % 16 + 1;
thestarty = (x - thestartx) / 16 + 1;
theendx = (y - 1) % 16 + 1;
theendy = (y - theendx) / 16 + 1;
for (ii = thestartx; ii >= 1; ii--)
{
thenext = 88;
k = (thestarty - 1) * 16 + ii;
x_lt(k, x);
k1 = (theendy - 1) * 16 + ii;
x_lt(k1, y);
y_lt(k, k1);
if (thenext != 0)
tmps = x;
for (i = 1; i < math.abs(thestartx - ii) + 1; i++)
{
tmps = tmps - 1;
thestring = thestring + "," + tmps;
} // end of for
if (thestarty < theendy)
{
for (i = 1; i < theendy - thestarty + 1; i++)
{
tmps = tmps + 16;
thestring = thestring + "," + tmps;
} // end of for
}
else