Frame 1
mySound = new Sound();
mySound.loadSound("061201.mp3", true);
mySound.stop();
Mouse.hide();
_root.myDraw.lineStyle(1.5, 16711782, 40);
_root.onEnterFrame = function () {
if (_root.myDraw.MouseOn == 1) {
_root.myDraw.moveTo(_root.shikaku._x, _root.shikaku._y);
_root.myDraw.lineTo(_root._xmouse, _root._ymouse);
} else if (_root.myDraw.MouseOn == 0) {
_root.shikaku.futoo.gotoAndStop(1);
}
};
myListener = new Object();
myListener.onResize = function () {
_root.sqtes.onEnterFrame = function () {
_root.sqtes._x = _root.sqtes._x + ((((Stage.width / 2) - 161) - _root.sqtes._x) * 0.1);
_root.sqtes._y = _root.sqtes._y + ((((Stage.height / 2) - 197) - _root.sqtes._y) * 0.1);
};
};
Stage.addListener(myListener);
Instance of Symbol 1 MovieClip "myDraw" in Frame 1
onClipEvent (mouseUp) {
MouseOn = 0;
}
onClipEvent (mouseDown) {
MouseOn = 1;
}
Instance of Symbol 7 MovieClip "shikaku" in Frame 1
onClipEvent (enterFrame) {
var dify = (_parent._ymouse - _y);
var difx = (_parent._xmouse - _x);
if (((dify * dify) + (difx * difx)) < 4500) {
var rad = Math.atan2(dify, difx);
_x = (_x - (7 * Math.cos(rad)));
_y = (_y - (7 * Math.sin(rad)));
}
if ((((_x < 20) || (_x > (Stage.width - 20))) || (_y < 20)) || (_y > (Stage.height - 20))) {
_x = (_x + (50 * Math.cos(rad)));
_y = (_y + (50 * Math.sin(rad)));
}
mX = _parent._xmouse - _x;
mY = _parent._ymouse - _y;
_rotation = ((Math.atan2(mY, mX) * 180) / Math.PI);
}
onClipEvent (load) {
this._x = Stage.width / 2;
this._y = Stage.height / 2;
}
Instance of Symbol 19 MovieClip "org" in Frame 1
onClipEvent (enterFrame) {
_x = _root.shikaku._x;
this._y = this._y + (((_root.shikaku._y - 200) - this._y) * 0.1);
if (this._y < (_root.shikaku._y - 160)) {
this._y = _root.shikaku._y - 100;
}
}
Frame 5
mySound.start();
mySound.onSoundComplete = function () {
_root.gotoAndStop(20);
};
stop();
Frame 20
stop();
Mouse.show();
mySound.stop();
Symbol 6 MovieClip Frame 110
gotoAndPlay (30);
Symbol 7 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 1
stop();
Instance of Symbol 18 MovieClip in Symbol 19 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 0;
}
onClipEvent (enterFrame) {
this._alpha = Math.floor(Math.random() * 90) + 1;
this._rotation = -45 + (Math.random() * 90);
this._xscale = this._xscale + 10;
this.gotoAndStop(1 + random(6));
if (this._xscale < 120) {
this._xscale = 0;
}
this._xscale = this._yscale;
}
Symbol 19 MovieClip Frame 2
stop();