点击浏览该文件 代码:
_root.createEmptyMovieClip("line", 0);
with (line) {
clear();
lineStyle(1, random(0xeeeeee)+0x111111);
moveTo(-100, -100);
lineTo(100, -100);
lineTo(100, 100);
lineTo(-100, 100);
lineTo(-100, -100);
_x = _y=200;
_visible = 0;
}
i = 1;
onEnterFrame = function () {
L = line.duplicateMovieClip("line"+i, i++);
L._xscale = L._yscale=100-i*5;
L.onEnterFrame = function() {
this._rotation += 10;
this._xscale = this._yscale += .5;
};
if (i>36) {
i = 1;
new Color(line).setRGB(random(0xeeeeee)+0x111111);
}
};
//其实还可以改出很多效果,懒的试了。。