只是用了一点AS做了一个简单的抽奖程序.

      爱电脑! 2004-9-17 20:41
代码在这里:
on (press) {
i = i+1;
if (Number(i)%2 != 0) {
var taoyb;
taoyb = setInterval(function () {
_root.tt.text = Number(random(900)+Number(100));
updateAfterEvent();
}, 1);
_root.bt.kongzhi.text = "stop";
_root.bt.kongzhi._x += 1;
}
if (Number(i)%2 == 0) {
_root.bt.kongzhi.text = "start";
_root.bt.kongzhi._x -= 1;
clearInterval(taoyb);
}
}


Flash 动画
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}