请教个问题,非常感谢.
actionscript吧
全部回复
仅看楼主
level 1
a67821342
楼主
var count:Number = 1;
if (count > 4 )
{
gotoAndStop("home");
}
else
{
gotoAndPlay("loop");
}
count++;
trace(count);
上面代码为什么count的值一直是2加不上去.谢谢
2011年11月16日 16点11分
1
level 9
flkuangren
因为你的代码只运行了一次。所以没法加到2
2011年11月17日 15点11分
2
level 9
flkuangren
是只加到2就不能再往上加了。
2011年11月17日 15点11分
3
1