我不太擅长做动作脚本,在制作和将 AS 2.0 转换为 AS 3.0 时遇到了一些麻烦……有没有简单的方法来转换这个 AS 2.0 代码
for(var n=8; n<50; n++)
{
var spinner:MovieClip = spinner.duplicateMovieClip("bluebit"+n, n);
bluebit._rotation = Math.random()*360;
bluebit._alpha = Math.floor(Math.random()*30)+80;
bluebit._xscale = Math.floor(Math.random()*50)+60;
bluebit._yscale = Math.floor(Math.random()*50)+60;
bluebit.gotoAndPlay(Math.random()*5);
}
到 AS 3.0?
非常感谢