
Код:
MovieClip.prototype.chaos = function(dx, dy, zzx, zzy, chx, chy) {
tellTarget (this) {
destx = dx;
desty = dy;
zx = zzx;
zy = zzy;
cx = chx;
cy = chy;
_x = _x+(_root._xmouse-(_x+zx*random(destx)))/cx;
_y = _y+(_root._ymouse-(_y+zy*random(desty)))/cy;
}
};
MovieClip.prototype.chaosr = function(dx, dy, zzx, zzy, chx, chy) {
tellTarget (this) {
destx = dx;
desty = dy;
zx = zzx;
zy = zzy;
cx = chx;
cy = chy;
_rotation = random(360);
_x = _x+(_root._xmouse-(_x+zx*random(destx)))/cx;
_y = _y+(_root._ymouse-(_y+zy*random(desty)))/cy;
}
};
оно ?
