FLASH转盘游戏的制作代码问题

来源:百度知道 编辑:UC知道 时间:2024/06/09 17:06:09

这个就是你要的代码!

function getCellStart()
{
spdLoop = setInterval(spdRun, 60);
} // End of the function
function getCellStop()
{
clearInterval(spdLoop);
cell_mc.speed_mc.stop();
loadBingoPos();
} // End of the function
function spdRun()
{
cell_mc.speed_mc.play();
} // End of the function
function trans(v)
{
var _l1 = Math.floor((25 - Math.abs(v - 25)) / 5) + 1;
if (_l1 == 5)
{
_l1 = 4;
} // end if
return(_l1);
} // End of the function
function rollRun(v)
{
pst = v;
aoo = pst * 10;
pointerLoop = setInterval(pointerRun, 50);
} // End of the function
function pointerRun()
{
if (pst == 3)
{
preRoll(3);
}
else if (pst == 4)
{
preRoll(4);
}
else
{
pointer_mc._rotation =