Frame 1
i = 0;
while (i < 10) {
_root.attachMovie("\u30E9\u30AD\u30B9\u30BF", "raki" + i, i);
i++;
}
Symbol 2 MovieClip [ラキスタ] Frame 1
efect = new Array("add", "darken", "hardlight", "invert", "overlay");
onEnterFrame = function () {
if (Math.abs(R - _rotation) < 5) {
mY = (Y - _y) / 20;
mX = (X - _x) / 20;
_y = (_y + mY);
_x = (_x + mX);
}
_rotation = (_rotation + ((R - _rotation) / 20));
if ((Math.abs(X - _x) < 1) && (Math.abs(Y - _y) < 1)) {
X = Math.random() * 480;
Y = Math.random() * 360;
R = Math.atan2(Y - _y, X - _x) / (Math.PI/180);
}
};
_x = ((X = Math.random() * 480));
_y = ((Y = Math.random() * 360));
_yscale = ((Math.random() * 40) + 60);
_xscale = ((Math.random() * 40) + 60);
_rotation = ((R = Math.atan2(Y - _y, X - _x) / (Math.PI/180)));
i = 0;
this.blendMode = efect[i];
onMouseDown = function () {
i++;
if (i == efect.length) {
i = 0;
}
this.blendMode = efect[i];
};