Frame 1
Stage.showMenu = false;
Stage.scaleMode = "noScale";
Stage.align = "LT";
this.onResize = function () {
this.bt_en._x = Stage.width - 60;
this.circle._x = Stage.width / 2;
this.circle._y = (Stage.height / 2) - 77;
this.mask._x = Stage.width / 2;
this.mask._y = (Stage.height / 2) - 77;
this.damm_circle._x = Stage.width / 2;
this.damm_circle._y = (Stage.height / 2) - 77;
this.circle_bk._x = Stage.width / 2;
this.circle_bk._y = (Stage.height / 2) - 77;
this.menu._x = Stage.width / 2;
this.menu._y = (Stage.height / 2) + 250;
this.mc_load._x = Stage.width / 2;
this.mc_load._y = (Stage.height / 2) - 77;
this.bk._width = Stage.width;
this.bk._height = Stage.height;
this.bk._x = Stage.width / 2;
this.bk._y = Stage.height / 2;
};
Stage.addListener(this);
this.onResize();
Mouse.hide();
Instance of Symbol 12 MovieClip "bk" in Frame 1
onClipEvent (enterFrame) {
this.onRollOver = function () {
_root.inSide = true;
};
this.onRollOut = function () {
_root.inSide = false;
};
}
Instance of Symbol 52 MovieClip "mouse" in Frame 1
onClipEvent (load) {
this._alpha = 0;
var flg_atatch = false;
var rot = ((Math.atan2(_root._xmouse - _root.circle._x, _root._ymouse - _root.circle._y) * 180) / Math.PI);
var rad = ((rot * Math.PI) / 180);
var sin = Math.sin(rad);
var cos = Math.cos(rad);
this._x = (265 * sin) + _root.circle._x;
this._y = (265 * cos) + _root.circle._y;
}
onClipEvent (enterFrame) {
if (!_root.inSide) {
this._alpha = 0;
} else {
this._alpha = 100;
}
mdt = Math.sqrt(Math.pow(_root._xmouse - this._x, 2) + Math.pow(_root._ymouse - this._y, 2));
if (mdt < 10) {
flg_atatch = true;
}
if (flg_atatch) {
this._x = _root._xmouse;
this._y = _root._ymouse;
} else {
_x = (_x + (_xmouse / 2));
_y = (_y + (_ymouse / 2));
}
}
Frame 11
this.onResize();
Frame 17
this.onResize();
Frame 32
bgm.stop();
stop();
this.onResize();
Instance of Symbol 70 MovieClip "damm_circle" in Frame 32
onClipEvent (load) {
if (!_root.bound_flg) {
this._alpha = 0;
}
var div = 0.98;
var tention = 0.78;
this._xscale = 97.5;
this._yscale = 97.5;
var tmp = 0;
}
onClipEvent (enterFrame) {
tmp = tmp + (100 - this._xscale);
tmp = tmp * (div * tention);
this._xscale = this._xscale + tmp;
this._yscale = this._yscale + tmp;
}
Instance of Symbol 52 MovieClip "mouse" in Frame 32
onClipEvent (load) {
this._alpha = 0;
var flg_atatch = false;
var rot = ((Math.atan2(_root._xmouse - _root.circle._x, _root._ymouse - _root.circle._y) * 180) / Math.PI);
var rad = ((rot * Math.PI) / 180);
var sin = Math.sin(rad);
var cos = Math.cos(rad);
this._x = (265 * sin) + _root.circle._x;
this._y = (265 * cos) + _root.circle._y;
}
onClipEvent (enterFrame) {
if (!_root.inSide) {
this._alpha = 0;
} else {
this._alpha = 100;
}
mdt = Math.sqrt(Math.pow(_root._xmouse - this._x, 2) + Math.pow(_root._ymouse - this._y, 2));
if (mdt < 10) {
flg_atatch = true;
}
if (flg_atatch) {
this._x = _root._xmouse;
this._y = _root._ymouse;
} else {
_x = (_x + (_xmouse / 2));
_y = (_y + (_ymouse / 2));
}
if (_root.circle.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndStop("in");
}
}
Frame 36
function MyFunc() {
if (_root.mov.video._currentframe < _root.mov.video._totalframes) {
_root.mov.video.gotoAndStop(_root.mov.video._currentframe + 1);
} else {
_root.mov.video.gotoAndStop(1);
}
updateAfterEvent();
}
_root.bound_flg = 1;
bgm = new Sound(this);
bgm.attachSound("sound_wasshoi");
bgm = new Sound(this);
bgm.attachSound("sound_wasshoi");
stop();
this.onResize();
Instance of Symbol 70 MovieClip "mask" in Frame 36
onClipEvent (load) {
var div = 0.98;
var tention = 0.78;
this._xscale = 97.5;
this._yscale = 97.5;
var tmp = 0;
}
onClipEvent (enterFrame) {
tmp = tmp + (100 - this._xscale);
tmp = tmp * (div * tention);
this._xscale = this._xscale + tmp;
this._yscale = this._yscale + tmp;
}
Instance of Symbol 85 MovieClip "mov" in Frame 36
onClipEvent (load) {
var s = 20;
var fst = 35;
var fst2 = 15;
var dst_tired = 80;
this._x = _root._xmouse;
this._y = _root._ymouse;
var flg_mv;
var stX = _x;
var stY = _y;
var flg_tired = false;
var first_mv = true;
rot = (Math.atan2(_root._xmouse - _root.circle._x, _root._ymouse - _root.circle._y) * 180) / Math.PI;
rad = (rot * Math.PI) / 180;
sin = Math.sin(rad);
cos = Math.cos(rad);
this._x = (340 * sin) + _root.circle._x;
this._y = (340 * cos) + _root.circle._y;
}
on (release) {
if ((getTimer() - prev_click) < 200) {
this.my_sound.stop();
_root.gotoAndPlay("dclick");
}
prev_click = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - prev_click) > 200) {
this.my_sound.stop();
_root.gotoAndPlay("click");
}
rot = (Math.atan2(_root._xmouse - this._x, _root._ymouse - this._y) * 180) / Math.PI;
rad = (rot * Math.PI) / 180;
sin = Math.sin(rad);
cos = Math.cos(rad);
var dt = Math.sqrt(Math.pow(_root._xmouse - _x, 2) + Math.pow(_root._ymouse - _y, 2));
if (dt < 50) {
_x = (_x + (_xmouse / 5));
_y = (_y + (_ymouse / 5));
} else {
_x = (_x + (s * sin));
_y = (_y + (s * cos));
}
if (dt > fst) {
clearInterval(_root.myID);
_root.myID = setInterval(_root.MyFunc, 5);
} else if (dt > fst2) {
clearInterval(_root.myID);
_root.myID = setInterval(_root.MyFunc, 15);
} else {
clearInterval(_root.myID);
_root.myID = setInterval(_root.MyFunc, 24);
}
if (dt < 2) {
rot = 0;
if (flg_mv) {
var dt_mv = Math.sqrt(Math.pow(stX - _x, 2) + Math.pow(stY - _y, 2));
if (dt_mv > dst_tired) {
flg_tired = true;
}
stX = _x;
stY = _y;
flg_mv = false;
first_mv = true;
}
} else {
flg_mv = true;
flg_tired = false;
}
if (rot == 0) {
if (flg_tired) {
this.gotoAndStop("tired");
if (this.video._currentframe == this.video._totalframes) {
flg_tired = false;
}
} else {
this.gotoAndStop("wait");
}
} else if ((rot >= -45) & (rot < 45)) {
this.gotoAndStop("down");
if (now_dir == "up") {
gyaku = true;
}
now_dir = "down";
} else if ((rot < -45) & (rot >= -135)) {
this.gotoAndStop("left");
if (now_dir == "right") {
gyaku = true;
}
now_dir = "left";
} else if ((rot >= 135) || (rot < -135)) {
this.gotoAndStop("up");
if (now_dir == "down") {
gyaku = true;
}
now_dir = "up";
} else if ((rot >= 45) & (rot < 135)) {
this.gotoAndStop("right");
if (now_dir == "left") {
gyaku = true;
}
now_dir = "right";
}
if (rot == 0) {
_root.nowSound = "sound_tired";
_root.bgm.stop();
} else if (first_mv) {
this.my_sound.stop();
_root.nowSound = "sound";
_root.bgm.start(0, 999);
first_mv = false;
} else if ((rot >= -40) & (rot < 40)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_down";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_down";
}
} else if ((rot < -50) & (rot >= -130)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_left";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_left";
}
} else if ((rot >= 140) || (rot < -140)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_up";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_up";
}
} else if ((rot >= 50) & (rot < 130)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_right";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_right";
}
} else if ((Math.floor(Math.random() * 2) + 1) == 1) {
_root.nowSound = "sound_naname";
} else {
_root.nowSound = "sound";
}
odt = Math.sqrt(Math.pow(this._x - _root.circle._x, 2) + Math.pow(this._y - _root.circle._y, 2));
if (odt > 330) {
this.my_sound.stop();
_root.gotoAndStop("op");
}
}
Frame 41
bgm = new Sound(this);
bgm.attachSound("sound_wasshoi");
stop();
Instance of Symbol 85 MovieClip "mov" in Frame 41
onClipEvent (load) {
var s = 20;
var fst = 35;
var fst2 = 15;
var dst_tired = 80;
this._x = _root.clk_x;
this._y = _root.clk_y;
var flg_mv;
var stX = _x;
var stY = _y;
var flg_tired = false;
var first_mv = true;
var now_dir;
}
on (release) {
if ((getTimer() - prev_click) < 200) {
this.my_sound.stop();
_root.gotoAndPlay("dclick");
}
prev_click = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - prev_click) > 200) {
this.my_sound.stop();
_root.gotoAndPlay("click");
}
rot = (Math.atan2(_root._xmouse - this._x, _root._ymouse - this._y) * 180) / Math.PI;
rad = (rot * Math.PI) / 180;
sin = Math.sin(rad);
cos = Math.cos(rad);
var dt = Math.sqrt(Math.pow(_root._xmouse - _x, 2) + Math.pow(_root._ymouse - _y, 2));
if (dt < 50) {
_x = (_x + (_xmouse / 5));
_y = (_y + (_ymouse / 5));
} else {
_x = (_x + (s * sin));
_y = (_y + (s * cos));
}
if (dt > fst) {
clearInterval(_root.myID);
_root.myID = setInterval(_root.MyFunc, 5);
} else if (dt > fst2) {
clearInterval(_root.myID);
_root.myID = setInterval(_root.MyFunc, 15);
} else {
clearInterval(_root.myID);
_root.myID = setInterval(_root.MyFunc, 24);
}
if (dt < 2) {
rot = 0;
if (flg_mv) {
var dt_mv = Math.sqrt(Math.pow(stX - _x, 2) + Math.pow(stY - _y, 2));
if (dt_mv > dst_tired) {
flg_tired = true;
}
stX = _x;
stY = _y;
flg_mv = false;
first_mv = true;
}
} else {
flg_mv = true;
flg_tired = false;
}
if (rot == 0) {
if (flg_tired) {
this.gotoAndStop("tired");
if (this.video._currentframe == this.video._totalframes) {
flg_tired = false;
}
} else {
this.gotoAndStop("wait");
}
} else if ((rot >= -45) & (rot < 45)) {
this.gotoAndStop("down");
if (now_dir == "up") {
gyaku = true;
}
now_dir = "down";
} else if ((rot < -45) & (rot >= -135)) {
this.gotoAndStop("left");
if (now_dir == "right") {
gyaku = true;
}
now_dir = "left";
} else if ((rot >= 135) || (rot < -135)) {
this.gotoAndStop("up");
if (now_dir == "down") {
gyaku = true;
}
now_dir = "up";
} else if ((rot >= 45) & (rot < 135)) {
this.gotoAndStop("right");
if (now_dir == "left") {
gyaku = true;
}
now_dir = "right";
}
if (rot == 0) {
_root.nowSound = "sound_tired";
_root.bgm.stop();
} else if (first_mv) {
this.my_sound.stop();
_root.nowSound = "sound_gyaku";
_root.bgm.start(0, 999);
first_mv = false;
} else if ((rot >= -40) & (rot < 40)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_down";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_down";
}
} else if ((rot < -50) & (rot >= -130)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_left";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_left";
}
} else if ((rot >= 140) || (rot < -140)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_up";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_up";
}
} else if ((rot >= 50) & (rot < 130)) {
if ((Math.floor(Math.random() * 3) + 1) == 1) {
_root.nowSound = "sound_right";
} else if (gyaku & ((Math.floor(Math.random() * 3) + 1) == 1)) {
_root.nowSound = "sound_gyaku";
gyaku = false;
} else {
_root.nowSound = "sound_right";
}
} else if ((Math.floor(Math.random() * 2) + 1) == 1) {
_root.nowSound = "sound_naname";
} else {
_root.nowSound = "sound";
}
odt = Math.sqrt(Math.pow(this._x - _root.circle._x, 2) + Math.pow(this._y - _root.circle._y, 2));
if (odt > 330) {
this.my_sound.stop();
_root.gotoAndStop("op");
}
}
Frame 46
bgm.stop();
bgm = new Sound(this);
bgm.attachSound("sound_click");
bgm.start();
stop();
Instance of Symbol 82 MovieClip in Frame 46
onClipEvent (load) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.clk_x = this._x;
_root.clk_y = this._y;
_root.gotoAndStop("main");
}
}
Frame 51
bgm.stop();
bgm = new Sound(this);
bgm.attachSound("sound_dclick");
bgm.start();
stop();
Instance of Symbol 87 MovieClip in Frame 51
onClipEvent (load) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.clk_x = this._x;
_root.clk_y = this._y;
_root.gotoAndStop("main");
}
}
Symbol 26 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c1.html");
}
Symbol 29 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c2.html");
}
Symbol 33 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c3.html");
}
Symbol 36 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c4.html");
}
Symbol 39 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c5.html");
}
Symbol 42 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c6.html");
}
Symbol 45 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("c7.html");
}
Symbol 48 Button
on (rollOver) {
Mouse.show();
}
on (rollOut) {
Mouse.hide();
}
on (release) {
getURL ("http://www.recruit.jp/", "_blank");
}
Symbol 59 MovieClip Frame 10
gotoAndPlay (1);
Symbol 64 MovieClip Frame 60
gotoAndPlay (1);
Instance of Symbol 62 MovieClip "bar" in Symbol 65 MovieClip Frame 1
onClipEvent (load) {
_root.stop();
totalSize = _root.getBytesTotal();
barWidth = _parent.barBase._width;
this._width = 0;
}
onClipEvent (enterFrame) {
rate = _root.getBytesLoaded() / totalSize;
this._width = barWidth * rate;
if (rate >= 1) {
_root.play();
}
}
Symbol 69 MovieClip Frame 21
stop();
Symbol 85 MovieClip Frame 1
stop();
my_sound.stop();
Symbol 85 MovieClip Frame 5
stop();
my_sound = new Sound(this);
my_sound.attachSound(_root.nowSound);
my_sound.setVolume(100);
my_sound.start(0, 1);
Symbol 85 MovieClip Frame 10
stop();
my_sound = new Sound(this);
my_sound.attachSound(_root.nowSound);
my_sound.setVolume(100);
my_sound.start(0, 1);
Symbol 85 MovieClip Frame 15
stop();
my_sound = new Sound(this);
my_sound.attachSound(_root.nowSound);
my_sound.setVolume(100);
my_sound.start(0, 1);
Symbol 85 MovieClip Frame 20
stop();
my_sound = new Sound(this);
my_sound.attachSound(_root.nowSound);
my_sound.setVolume(100);
my_sound.start(0, 1);
Symbol 85 MovieClip Frame 25
stop();
my_sound.stop();
my_sound = new Sound(this);
my_sound.attachSound(_root.nowSound);
my_sound.start(0, 999);
Symbol 85 MovieClip Frame 30
stop();
my_sound.stop();
my_sound = new Sound(this);
my_sound.attachSound(_root.nowSound);
my_sound.start();