Frame 1
function sisutemu(menu, obj) {
getURL ("http://adequate.blog.shinobi.jp/Entry/75/", "_blank");
}
se_start = new Sound(this);
se_end = new Sound(this);
se_ok = new Sound(this);
se_ng = new Sound(this);
se_start.attachSound("start");
se_end.attachSound("end");
se_ok.attachSound("ok");
se_ng.attachSound("ng");
menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.quality = true;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.save = false;
menu_cm.builtInItems.zoom = true;
MenuItem2 = new ContextMenuItem();
MenuItem2.caption = "\u53D6\u6271\u8AAC\u660E\u66F8";
MenuItem2.enabled = true;
MenuItem2.onSelect = sisutemu;
MenuItem2.separatorBefore = true;
MenuItem2.visible = true;
menu_cm.customItems.push(MenuItem2);
_root.menu = menu_cm;
stop();
Frame 2
stop();
TRY = 1;
nugi = 0;
Frame 3
stop();
FLG = "NG";
Instance of Symbol 40 MovieClip in Frame 3
onClipEvent (load) {
_parent.se_start.start();
cnt = 1;
}
onClipEvent (enterFrame) {
cnt = cnt + 1;
if (cnt >= 48) {
stopAllSounds();
_parent.gotoAndPlay(4);
}
}
Frame 4
stop();
Instance of Symbol 58 MovieClip in Frame 4
onClipEvent (load) {
point = 0;
}
Instance of Symbol 59 MovieClip in Frame 4
onClipEvent (load) {
cnt = 1;
}
onClipEvent (enterFrame) {
cnt = cnt + 1;
if (cnt >= 120) {
stopAllSounds();
if (_parent.FLG == "END") {
_parent.gotoAndPlay(6);
} else {
_parent.TRY = _parent.TRY + 1;
if (_parent.TRY > 6) {
_parent.gotoAndPlay(6);
} else {
_parent.gotoAndPlay(5);
}
}
}
}
Frame 5
stop();
Instance of Symbol 65 MovieClip in Frame 5
onClipEvent (load) {
if (_parent.FLG == "OK") {
_parent.se_ok.start();
gotoAndStop (1);
} else {
_parent.se_ng.start();
gotoAndStop (2);
}
cnt = 1;
}
onClipEvent (enterFrame) {
cnt = cnt + 1;
if (cnt >= 48) {
stopAllSounds();
_parent.gotoAndPlay(3);
}
}
Frame 6
stop();
Instance of Symbol 75 MovieClip in Frame 6
onClipEvent (load) {
if (_parent.nugi == 6) {
gotoAndStop (3);
} else if (_parent.nugi > 3) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 77 MovieClip in Frame 6
onClipEvent (load) {
_parent.se_end.start();
cnt = 1;
}
onClipEvent (enterFrame) {
cnt = cnt + 1;
if (cnt >= 72) {
gotoAndStop (2);
}
}
Symbol 22 MovieClip Frame 13
stop();
Instance of Symbol 19 MovieClip in Symbol 22 MovieClip Frame 13
onClipEvent (enterFrame) {
loaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded == 100) {
_parent.gotoAndPlay(14);
}
}
Symbol 22 MovieClip Frame 26
_parent.gotoAndPlay(2);
stop();
Symbol 27 Button
on (press) {
gotoAndPlay (3);
}
Symbol 40 MovieClip Frame 48
stopAllSounds();
_root.gotoAndPlay(4);
Instance of Symbol 49 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (load) {
_x = 0;
}
onClipEvent (enterFrame) {
if (_parent._parent._parent.FLG == "NG") {
if (_parent._parent.point < 200) {
_x = _parent._parent.point;
} else {
_x = 200;
}
} else {
_x = 200;
}
}
Instance of Symbol 55 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
sw = "off";
}
onClipEvent (enterFrame) {
if ((_parent._parent.FLG == "OK") and (sw == "off")) {
gotoAndStop (1);
sw = "on";
}
}
Instance of Symbol 57 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
sw = 0;
}
on (rollOver, dragOver) {
if (sw == 0) {
sw = 1;
_parent.point = _parent.point + (5 - (_parent._parent.TRY * 0.5));
}
}
on (release, rollOut, dragOut) {
if (sw == 1) {
sw = 0;
_parent.point = _parent.point + (5 - (_parent._parent.TRY * 0.5));
}
}
onClipEvent (enterFrame) {
if (_parent._parent.FLG == "NG") {
if (_parent.point > 200) {
_parent._parent.FLG = "OK";
_parent._parent.nugi = _parent._parent.nugi + 1;
}
_parent.point = (_parent.point - 0.3) - (0.1 * _parent._parent.TRY);
if (_parent.point < 0) {
_parent.point = 0;
}
}
}
Symbol 76 Button
on (press) {
_parent.TRY = 1;
_parent.nugi = 1;
_parent.gotoAndPlay(3);
}
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
stop();