本文由 呱唧 原创,转载请保留此信息!
[1] 200806/13022_2.html'>[2] 200806/13022_3.html'>[3] 200806/13022_4.html'>[4] 200806/13022_5.html'>[5] 200806/13022_2.html'>下一页
原文件:
//写在帧的代码:这里的代码主要是复制用的!
i = 0;
ppo._visible=false
function enet() {
i++;
sc = random(50)+20;
duplicateMovieClip("ppo", "ppo"+i, i);
_root["ppo"+i]._x = random(550);
_root["ppo"+i]._y = random(400);
_root["ppo"+i]._xscale = _root["ppo"+i]._yscale=sc;
}
onEnterFrame = function () {
if (i25) {
enet();
}
};
_____________________________________________________________________________________
//写在元件本身的代码
onClipEvent (load) {
xx = random(550);
xy = random(400);
dt = 50;
this.ys._alpha=random(150)+50;
var yanse:Color = new Color(this.yanse_mc);
yanse.setRGB(random(0xffffff));
}
onClipEvent (enterFrame) {
if (random(dt) == 1) {
xx = random(550);
xy = random(400);
}
//
dx = (xx-_x);
dy = (xy-_y);
dx*=.01;
dy*=.01;
//dx*=.4;
//dy*=.4
_x += dx;
_y += dy;
_rotation+=0;
}
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/flash/)
200806/13022.html'>上一页 200806/13022.html'>[1] [2] 200806/13022_3.html'>[3] 200806/13022_4.html'>[4] 200806/13022_5.html'>Tulaoshi.Com[5] 200806/13022_3.html'>下一页
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/flash/)
200806/13022_2.html'>上一页 200806/13022.html'>[1] 200806/13022_2.html'>[2] [3] 200806/13022_4.html'>[4] 200806/13022_5.html'>[5] 200806/13022_4.html'>下一页
200806/13022_3.html'>上一页 200806/13022.html'>[1] 200806/13022_2.html'>[2] 200806/13022_3.html'>[3] [4] 200806/13022_5.html'>[5] 200806/13022_5.html'>下一页
200806/13022_4.html'>上一页 200806/13022.html'>[1] 200806/13022_2.html'>[2] 200806/13022_3.html'>[3] 200806/13022_4.html'>[4] [5]