求一个原创一两分钟的flash动画给我交作业

2024-12-18 00:00:31
推荐回答(2个)
回答1:

一.雪花飘舞的三个代码:

1.var snowNum = 0;
snow._visible = false;

2.snow.duplicateMovieClip("snow" + snowNum, snowNum);
var newSnow = _root["snow" + snowNum];
newSnow._x = Math.random() * 450;
newSnow._y = Math.random() * 20;
newSnow._rotation = Math.random() * 150 - 60;
newSnow._xscale = Math.random() * 50 + 70;
newSnow._yscale = Math.random() * 50 + 70;
newSnow._alpha = Math.random() * 30 + 70;
snowNum++;

3.if (snowNum < 120)
{
gotoAndPlay(2);
}
else
{
stop();
} // end if

二.播放按钮代码

1.on (release)
{
gotoAndStop(1);
_root.gotoAndPlay(81);
}

2.on (release)
{
gotoAndStop(1);
for (n = 0; n < 35; n++)
{
_root.a_mc["b" + n].gotoAndPlay(11);
} // end of for
}
好来,可以了,给分吧,楼主

回答2:

加环天工作室的qq吧 baidu 一下就能看见