flash花瓣飘落一直落个不停,要怎么改代码才能让它飘落一段时间后停止 30
functiononEnterFrame(){BouncerIndex++;if(BouncerIndex%2==0){this.attachMovie("Bouncer...
function onEnterFrame()
{
BouncerIndex++;
if (BouncerIndex % 2 == 0)
{
this.attachMovie("Bouncer", "Bouncer" + BouncerIndex, BouncerIndex);
} // end if
if (BouncerIndex >= MaxBouncer)
{
BouncerIndex = 0;
} // end if
} // End of the function
MaxBouncer = 60;
BouncerIndex = 0;
//
该在哪里加帧啊? 展开
{
BouncerIndex++;
if (BouncerIndex % 2 == 0)
{
this.attachMovie("Bouncer", "Bouncer" + BouncerIndex, BouncerIndex);
} // end if
if (BouncerIndex >= MaxBouncer)
{
BouncerIndex = 0;
} // end if
} // End of the function
MaxBouncer = 60;
BouncerIndex = 0;
//
该在哪里加帧啊? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询