Frame 1
this.stop();
Frame 2
so = SharedObject.getLocal("puzzle");
_focusrect = false;
if (_root.so.data.setsound == 2) {
_root.board.sound.gotoAndStop(2);
}
s.stop();
s = new Sound();
s.attachSound("\u5DE5\u5834.mp3");
s.start(0, 999);
Instance of Symbol 41 MovieClip "hantei" in Frame 2
onClipEvent (enterFrame) {
_root.hit_all = (((((((_root.hit1 + _root.hit2) + _root.hit3) + _root.hit4) + _root.hit5) + _root.hit6) + _root.hit7) + _root.hit8) + _root.dd;
if (_root.hit_all >= 9) {
_root.balloon.swapDepths(0);
_root.balloon.gotoAndPlay("clear");
_root.gotoAndPlay("clear");
}
}
Instance of Symbol 41 MovieClip "key" in Frame 2
on (keyPress "x") {
if (_root.flag == 1) {
_root.block1._rotation = _root.block1._rotation + 5;
} else if (_root.flag == 2) {
_root.block2._rotation = _root.block2._rotation + 5;
} else if (_root.flag == 3) {
_root.block3._rotation = _root.block3._rotation + 5;
} else if (_root.flag == 4) {
_root.block4._rotation = _root.block4._rotation + 5;
}
}
on (keyPress "z") {
if (_root.flag == 1) {
_root.block1._rotation = _root.block1._rotation - 5;
} else if (_root.flag == 2) {
_root.block2._rotation = _root.block2._rotation - 5;
} else if (_root.flag == 3) {
_root.block3._rotation = _root.block3._rotation - 5;
} else if (_root.flag == 4) {
_root.block4._rotation = _root.block4._rotation - 5;
}
}
on (keyPress "<Down>") {
if (_root.flag == 1) {
_root.block1._y++;
} else if (_root.flag == 2) {
_root.block2._y++;
} else if (_root.flag == 3) {
_root.block3._y++;
} else if (_root.flag == 4) {
_root.block4._y++;
}
}
on (keyPress "<Up>") {
if (_root.flag == 1) {
_root.block1._y--;
} else if (_root.flag == 2) {
_root.block2._y--;
} else if (_root.flag == 3) {
_root.block3._y--;
} else if (_root.flag == 4) {
_root.block4._y--;
}
}
on (keyPress "<Right>") {
if (_root.flag == 1) {
_root.block1._x++;
} else if (_root.flag == 2) {
_root.block2._x++;
} else if (_root.flag == 3) {
_root.block3._x++;
} else if (_root.flag == 4) {
_root.block4._x++;
}
}
on (keyPress "<Left>") {
if (_root.flag == 1) {
_root.block1._x--;
} else if (_root.flag == 2) {
_root.block2._x--;
} else if (_root.flag == 3) {
_root.block3._x--;
} else if (_root.flag == 4) {
_root.block4._x--;
}
}
Instance of Symbol 43 MovieClip "point6" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check2) || (this.hittest(_root.block2.check2))) || (this.hittest(_root.block3.check2))) || (this.hittest(_root.block4.check2))) {
_root.hit6 = 1;
} else {
_root.hit6 = 0;
}
}
Instance of Symbol 43 MovieClip "point5" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check1) || (this.hittest(_root.block2.check1))) || (this.hittest(_root.block3.check1))) || (this.hittest(_root.block4.check1))) {
_root.hit5 = 1;
} else {
_root.hit5 = 0;
}
}
Instance of Symbol 43 MovieClip "point4" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check2) || (this.hittest(_root.block2.check2))) || (this.hittest(_root.block3.check2))) || (this.hittest(_root.block4.check2))) {
_root.hit4 = 1;
} else {
_root.hit4 = 0;
}
}
Instance of Symbol 43 MovieClip "point3" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check1) || (this.hittest(_root.block2.check1))) || (this.hittest(_root.block3.check1))) || (this.hittest(_root.block4.check1))) {
_root.hit3 = 1;
} else {
_root.hit3 = 0;
}
}
Instance of Symbol 43 MovieClip "point2" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check2) || (this.hittest(_root.block2.check2))) || (this.hittest(_root.block3.check2))) || (this.hittest(_root.block4.check2))) {
_root.hit2 = 1;
} else {
_root.hit2 = 0;
}
}
Instance of Symbol 43 MovieClip "point1" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check1) || (this.hittest(_root.block2.check1))) || (this.hittest(_root.block3.check1))) || (this.hittest(_root.block4.check1))) {
_root.hit1 = 1;
} else {
_root.hit1 = 0;
}
}
Instance of Symbol 43 MovieClip "point8" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check2) || (this.hittest(_root.block2.check2))) || (this.hittest(_root.block3.check2))) || (this.hittest(_root.block4.check2))) {
_root.hit8 = 1;
} else {
_root.hit8 = 0;
}
}
Instance of Symbol 43 MovieClip "point7" in Frame 2
onClipEvent (enterFrame) {
if (((this.hittest(_root.block1.check1) || (this.hittest(_root.block2.check1))) || (this.hittest(_root.block3.check1))) || (this.hittest(_root.block4.check1))) {
_root.hit7 = 1;
} else {
_root.hit7 = 0;
}
}
Instance of Symbol 45 MovieClip "block2" in Frame 2
on (press) {
this.swapDepths(0);
startDrag ("");
_root.flag = 2;
_root.dd = 0;
}
on (release) {
stopDrag();
_root.dd = 1;
}
Instance of Symbol 45 MovieClip "block4" in Frame 2
on (press) {
this.swapDepths(0);
startDrag ("");
_root.flag = 4;
_root.dd = 0;
}
on (release) {
stopDrag();
_root.dd = 1;
}
Instance of Symbol 45 MovieClip "block3" in Frame 2
on (press) {
this.swapDepths(0);
startDrag ("");
_root.flag = 3;
_root.dd = 0;
}
on (release) {
stopDrag();
_root.dd = 1;
}
Instance of Symbol 45 MovieClip "block1" in Frame 2
on (press) {
this.swapDepths(0);
startDrag ("");
_root.flag = 1;
_root.dd = 0;
}
on (release) {
stopDrag();
_root.dd = 1;
}
Instance of Symbol 48 MovieClip "time" in Frame 2
onClipEvent (load) {
tempbyou = 0;
tempfun = 0;
tempjikan = 0;
this.time = "00:00:00";
inittime = getTimer();
}
onClipEvent (enterFrame) {
tempbyou = Math.floor((getTimer() - inittime) / 1000);
_root.time = getTimer() - inittime;
tempfun = Math.floor(tempbyou / 60);
tempjikan = Math.floor(tempfun / 60);
tempbyou = (tempbyou - ((tempjikan * 60) * 60)) - (tempfun * 60);
if (String(tempbyou).length == 1) {
tempbyou = "0" + tempbyou;
}
if (String(tempfun).length == 1) {
tempfun = "0" + tempfun;
}
if (String(tempjikan).length == 1) {
tempjikan = "0" + tempjikan;
}
this.time = (((tempjikan + ":") + tempfun) + ":") + tempbyou;
_root.time = this.time;
}
Instance of Symbol 67 MovieClip "board" in Frame 2
/* no clip actions */
Frame 3
stop();
Frame 4
prevFrame();
Frame 5
stopAllSounds();
s.stop();
s = new Sound();
s.attachSound("\u30AF\u30EA\u30A2.mp3");
s.start();
Instance of Symbol 48 MovieClip "time" in Frame 5
onClipEvent (load) {
this.time = _root.time;
}
Frame 18
stop();
Frame 19
stopAllSounds();
gotoAndPlay (2);
Symbol 25 MovieClip Frame 1
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.play();
}
Symbol 25 MovieClip Frame 2
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.play();
}
Symbol 25 MovieClip Frame 3
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
ber._xscale = (loadedSize / totalSize) * 100;
if (loadedSize >= totalSize) {
_root.play();
}
Symbol 25 MovieClip Frame 4
gotoAndPlay (3);
Symbol 28 Button
on (release) {
gotoAndStop (1);
}
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 11
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 49 Button
on (release) {
getURL ("http://www.chronos.co.jp/", "_blank");
}
Symbol 52 MovieClip Frame 1
stop();
_root.so.data.setsound = 1;
_root.s.setVolume(100);
Symbol 52 MovieClip Frame 2
stop();
_root.so.data.setsound = 2;
_root.s.setVolume(0);
Symbol 57 Button
on (release) {
if (_root.balloon._currentframe == 2) {
_root.balloon.gotoAndStop(1);
} else {
_root.balloon.gotoAndStop("help");
_root.balloon.swapDepths(0);
}
}
Instance of Symbol 52 MovieClip "sound" in Symbol 67 MovieClip Frame 1
on (release) {
this.play();
}