Frame 1
stop();
message = "";
surl = "http://panyroom.jr.naver.com/game/gameset.php";
sendVars = new LoadVars();
sendVars.gameid = gameid;
sendVars.sendAndLoad(surl, sendVars, "POST");
this.onEnterFrame = function () {
message = sendVars.message;
code = sendVars.code;
ld = getBytesLoaded();
to = getBytesTotal();
loading = (ld + " / ") + to;
if (((ld == to) && (message == "panypang")) && (gameid == "smithy")) {
delete this.onEnterFrame;
menu_mc._y = 452.05;
}
};
Frame 2
stop();
re_sound = new Sound();
re_sound.attachSound("re");
st_sound = new Sound();
st_sound.attachSound("st");
end_sound = new Sound();
end_sound.attachSound("end");
bgm_sound = new Sound();
bgm_sound.attachSound("bgm");
chh = "1";
mm = "ready";
geti = 0;
geti2 = 0;
kv = "0";
mi = 0;
sk = 0;
com = 0;
ho = "stop";
this.onEnterFrame = function () {
if (mm == "play") {
if (Key.isDown(38)) {
vu = vu + 1;
} else {
vu = 0;
}
if (Key.isDown(40)) {
vd = vd + 1;
} else {
vd = 0;
}
if (Key.isDown(37)) {
vl = vl + 1;
} else {
vl = 0;
}
if (Key.isDown(39)) {
vr = vr + 1;
} else {
vr = 0;
}
if (Key.isDown(32)) {
vs = vs + 1;
} else {
vs = 0;
}
}
if (vu >= 1) {
vd = 0;
vl = 0;
vr = 0;
vs = 0;
}
if (vd >= 1) {
vu = 0;
vl = 0;
vr = 0;
vs = 0;
}
if (vl >= 1) {
vu = 0;
vd = 0;
vr = 0;
vs = 0;
}
if (vr >= 1) {
vu = 0;
vd = 0;
vl = 0;
vs = 0;
}
if (vs >= 1) {
vu = 0;
vd = 0;
vl = 0;
vr = 0;
}
if (mm == "play") {
if ((kv == "u") && (vu == 1)) {
bts_mc.play();
ch_mc.gotoAndStop(2);
sk = sk + 1;
com = com + 1;
} else if ((kv == "u") && (vd == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "u") && (vl == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "u") && (vr == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "u") && (vs == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
}
if ((kv == "d") && (vu == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "d") && (vd == 1)) {
bts_mc.play();
ch_mc.gotoAndStop(2);
sk = sk + 1;
com = com + 1;
} else if ((kv == "d") && (vl == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "d") && (vr == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "d") && (vs == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
}
if ((kv == "l") && (vu == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "l") && (vd == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "l") && (vl == 1)) {
bts_mc.play();
ch_mc.gotoAndStop(2);
sk = sk + 1;
com = com + 1;
} else if ((kv == "l") && (vr == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "l") && (vs == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
}
if ((kv == "r") && (vu == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "r") && (vd == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "r") && (vl == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "r") && (vr == 1)) {
bts_mc.play();
ch_mc.gotoAndStop(2);
sk = sk + 1;
com = com + 1;
} else if ((kv == "r") && (vs == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
}
if ((kv == "s") && (vu == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "s") && (vd == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "s") && (vl == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "s") && (vr == 1)) {
if (mi < 4) {
bts_mc.play();
}
ch_mc.gotoAndStop(3);
mi_mc.play();
com = 0;
} else if ((kv == "s") && (vs == 1)) {
bts_mc.play();
ch_mc.gotoAndStop(2);
sk = sk + 1;
com = com + 1;
}
}
if (com == -1) {
com = 0;
sb_mc.comb_mc.gotoAndStop(2);
}
if (com == 15) {
sk = sk + 5;
com = -1;
com_mc.play();
bg_mc.gotoAndStop(2);
}
if (sk >= 50) {
sk = sk - 50;
get_mc.play();
ho = "stop";
}
};
Frame 3
rep = rep + 1;
gotoAndStop (1);
geti = 0;
geti2 = 0;
w01_mc.removeMovieClip();
w02_mc.removeMovieClip();
w03_mc.removeMovieClip();
w04_mc.removeMovieClip();
w05_mc.removeMovieClip();
w06_mc.removeMovieClip();
w07_mc.removeMovieClip();
w08_mc.removeMovieClip();
w09_mc.removeMovieClip();
w10_mc.removeMovieClip();
w11_mc.removeMovieClip();
w12_mc.removeMovieClip();
w13_mc.removeMovieClip();
w14_mc.removeMovieClip();
w15_mc.removeMovieClip();
w16_mc.removeMovieClip();
w17_mc.removeMovieClip();
w18_mc.removeMovieClip();
w19_mc.removeMovieClip();
w20_mc.removeMovieClip();
w21_mc.removeMovieClip();
w22_mc.removeMovieClip();
w23_mc.removeMovieClip();
w24_mc.removeMovieClip();
w25_mc.removeMovieClip();
w26_mc.removeMovieClip();
w27_mc.removeMovieClip();
w28_mc.removeMovieClip();
tico_mc.removeMovieClip();
tb_mc.removeMovieClip();
tbb_mc.removeMovieClip();
int_mc.removeMovieClip();
num1_mc.removeMovieClip();
cw1_mc.removeMovieClip();
cw2_mc.removeMovieClip();
cw3_mc.removeMovieClip();
ww_mc.removeMovieClip();
cutm_mc.removeMovieClip();
start_mc.removeMovieClip();
get_mc.removeMovieClip();
menu_mc.removeMovieClip();
ch_mc.removeMovieClip();
Symbol 11 MovieClip Frame 25
_parent.gotoAndStop(1);
Symbol 12 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_parent.geti == 0) {
gotoAndStop (1);
} else if (_parent.geti == 1) {
gotoAndStop (2);
} else if (_parent.geti == 2) {
gotoAndStop (3);
} else if (_parent.geti == 3) {
gotoAndStop (4);
} else if (_parent.geti == 4) {
gotoAndStop (5);
} else if (_parent.geti == 5) {
gotoAndStop (6);
} else if (_parent.geti == 6) {
gotoAndStop (7);
} else if (_parent.geti == 7) {
gotoAndStop (8);
} else if (_parent.geti == 8) {
gotoAndStop (9);
} else if (_parent.geti >= 9) {
gotoAndStop (10);
}
};
Symbol 31 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_parent.geti2 == 0) {
gotoAndStop (1);
} else if (_parent.geti2 == 1) {
gotoAndStop (2);
} else if (_parent.geti2 == 2) {
gotoAndStop (3);
} else if (_parent.geti2 == 3) {
gotoAndStop (4);
} else if (_parent.geti2 == 4) {
gotoAndStop (5);
} else if (_parent.geti2 == 5) {
gotoAndStop (6);
} else if (_parent.geti2 == 6) {
gotoAndStop (7);
} else if (_parent.geti2 == 7) {
gotoAndStop (8);
} else if (_parent.geti2 == 8) {
gotoAndStop (9);
} else if (_parent.geti2 >= 9) {
gotoAndStop (10);
}
};
Symbol 35 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_parent.geti >= 2) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 57 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 1
stop();
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onPress = function () {
gotoAndStop (3);
};
this.onDragOut = function () {
gotoAndStop (1);
};
this.onReleaseOutside = function () {
gotoAndStop (1);
};
this.onRelease = function () {
gotoAndStop (1);
_parent.nextFrame();
};
Symbol 75 MovieClip Frame 1
stop();
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onPress = function () {
gotoAndStop (3);
};
this.onDragOut = function () {
gotoAndStop (1);
};
this.onReleaseOutside = function () {
gotoAndStop (1);
};
this.onRelease = function () {
gotoAndStop (1);
_parent._parent.nextFrame();
};
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 1
stop();
next_mc.onRollOut = function () {
next_mc.gotoAndStop(1);
};
next_mc.onPress = function () {
next_mc.gotoAndStop(2);
};
next_mc.onDragOut = function () {
next_mc.gotoAndStop(1);
};
next_mc.onReleaseOutside = function () {
next_mc.gotoAndStop(1);
};
next_mc.onRelease = function () {
next_mc.gotoAndStop(1);
nextFrame();
};
if (_parent.rep > 0) {
gotoAndStop (2);
}
Symbol 96 MovieClip Frame 2
stop();
next_mc.onRollOut = function () {
next_mc.gotoAndStop(1);
};
next_mc.onPress = function () {
next_mc.gotoAndStop(2);
};
next_mc.onDragOut = function () {
next_mc.gotoAndStop(1);
};
next_mc.onReleaseOutside = function () {
next_mc.gotoAndStop(1);
};
next_mc.onRelease = function () {
next_mc.gotoAndStop(1);
nextFrame();
};
Symbol 96 MovieClip Frame 3
stop();
next_mc.onRollOut = function () {
next_mc.gotoAndStop(1);
};
next_mc.onPress = function () {
next_mc.gotoAndStop(2);
};
next_mc.onDragOut = function () {
next_mc.gotoAndStop(1);
};
next_mc.onReleaseOutside = function () {
next_mc.gotoAndStop(1);
};
next_mc.onRelease = function () {
next_mc.gotoAndStop(1);
nextFrame();
};
Symbol 96 MovieClip Frame 7
next_mc.onRelease = function () {
next_mc.gotoAndStop(1);
gotoAndStop (2);
};
Symbol 156 MovieClip Frame 1
this.onEnterFrame = function () {
};
Symbol 156 MovieClip Frame 7
stop();
this.onEnterFrame = function () {
if (_parent.mm == "play") {
play();
} else {
stop();
}
};
Symbol 156 MovieClip Frame 8
this.onEnterFrame = function () {
};
Symbol 156 MovieClip Frame 21
stop();
if (_parent.ho == "stop") {
_parent.ho = "play";
}
this.onEnterFrame = function () {
if (_parent.ho == "stop") {
play();
}
};
Symbol 156 MovieClip Frame 22
this.onEnterFrame = function () {
};
Symbol 158 MovieClip Frame 1
if (_parent._parent._parent.chh == "1") {
gotoAndStop (1);
} else if (_parent._parent._parent.chh == "2") {
gotoAndStop (2);
} else if (_parent._parent._parent.chh == "3") {
gotoAndStop (3);
} else if (_parent._parent._parent.chh == "4") {
gotoAndStop (4);
} else if (_parent._parent._parent.chh == "5") {
gotoAndStop (5);
} else if (_parent._parent._parent.chh == "6") {
gotoAndStop (6);
} else if (_parent._parent._parent.chh == "7") {
gotoAndStop (7);
} else if (_parent._parent._parent.chh == "8") {
gotoAndStop (8);
}
Symbol 173 MovieClip Frame 1
if (_parent._parent._parent.chh == "1") {
gotoAndStop (1);
} else if (_parent._parent._parent.chh == "2") {
gotoAndStop (2);
} else if (_parent._parent._parent.chh == "3") {
gotoAndStop (3);
} else if (_parent._parent._parent.chh == "4") {
gotoAndStop (4);
} else if (_parent._parent._parent.chh == "5") {
gotoAndStop (5);
} else if (_parent._parent._parent.chh == "6") {
gotoAndStop (6);
} else if (_parent._parent._parent.chh == "7") {
gotoAndStop (7);
} else if (_parent._parent._parent.chh == "8") {
gotoAndStop (8);
}
Symbol 189 MovieClip Frame 3
_parent._parent.hit_mc.gotoAndPlay(2);
Symbol 189 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 192 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 10
gotoAndStop (1);
Symbol 225 MovieClip Frame 1
onEnterFrame = function () {
timev = new Date();
sv = timev.getSeconds();
mv = timev.getMinutes();
hv = timev.getHours();
if ((hv - 12) > 0) {
hv = hv - 12;
}
s_mc._rotation = sv * 6;
m_mc._rotation = (mv * 6) + (sv / 10);
h_mc._rotation = (hv * 30) + (mv / 2);
};
Symbol 227 MovieClip Frame 1
this.onEnterFrame = function () {
if ((_parent.mm == "gameover") || (_parent.mm == "gameover2")) {
this._xscale = this._xscale;
} else if (_parent.mm == "play") {
this._xscale = this._xscale - 0.1;
}
if (this._xscale <= 0) {
this._xscale = 0;
_parent.mm = "gameover2";
}
};
Symbol 235 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
stop();
d1 = "0";
Symbol 237 MovieClip Frame 2
_parent.mi = 1;
if (_parent.kv == "u") {
d1 = "u";
} else if (_parent.kv == "d") {
d1 = "d";
} else if (_parent.kv == "l") {
d1 = "l";
} else if (_parent.kv == "r") {
d1 = "r";
} else if (_parent.kv == "s") {
d1 = "s";
}
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 3
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 4
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 5
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 6
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 7
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 8
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 9
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 10
stop();
Symbol 237 MovieClip Frame 11
_parent.mi = 2;
if (_parent.kv == "u") {
d1 = "u";
} else if (_parent.kv == "d") {
d1 = "d";
} else if (_parent.kv == "l") {
d1 = "l";
} else if (_parent.kv == "r") {
d1 = "r";
} else if (_parent.kv == "s") {
d1 = "s";
}
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 12
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 13
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 14
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 15
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 16
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 17
stop();
Symbol 237 MovieClip Frame 18
_parent.mi = 3;
if (_parent.kv == "u") {
d1 = "u";
} else if (_parent.kv == "d") {
d1 = "d";
} else if (_parent.kv == "l") {
d1 = "l";
} else if (_parent.kv == "r") {
d1 = "r";
} else if (_parent.kv == "s") {
d1 = "s";
}
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 19
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 20
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 21
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 22
stop();
Symbol 237 MovieClip Frame 23
_parent.mi = 4;
if (_parent.kv == "u") {
d1 = "u";
} else if (_parent.kv == "d") {
d1 = "d";
} else if (_parent.kv == "l") {
d1 = "l";
} else if (_parent.kv == "r") {
d1 = "r";
} else if (_parent.kv == "s") {
d1 = "s";
}
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 24
if (d1 == "u") {
d1_mc.gotoAndStop(1);
} else if (d1 == "d") {
d1_mc.gotoAndStop(2);
} else if (d1 == "l") {
d1_mc.gotoAndStop(3);
} else if (d1 == "r") {
d1_mc.gotoAndStop(4);
} else if (d1 == "s") {
d1_mc.gotoAndStop(5);
}
Symbol 237 MovieClip Frame 25
stop();
Symbol 237 MovieClip Frame 26
_parent.mi = 5;
Symbol 237 MovieClip Frame 27
stop();
_parent.mm = "gameover";
Symbol 238 MovieClip Frame 1
num = num + 1;
if (num == 1) {
b1 = random(6) + 1;
b2 = random(6) + 1;
b3 = random(6) + 1;
b4 = random(6) + 1;
b5 = random(6) + 1;
b6 = random(6) + 1;
if (b1 == 1) {
b1_mc.gotoAndStop(1);
} else if (b1 == 2) {
b1_mc.gotoAndStop(2);
} else if (b1 == 3) {
b1_mc.gotoAndStop(3);
} else if (b1 == 4) {
b1_mc.gotoAndStop(4);
} else if (b1 >= 5) {
b1_mc.gotoAndStop(5);
}
if (b2 == 1) {
b2_mc.gotoAndStop(1);
} else if (b2 == 2) {
b2_mc.gotoAndStop(2);
} else if (b2 == 3) {
b2_mc.gotoAndStop(3);
} else if (b2 == 4) {
b2_mc.gotoAndStop(4);
} else if (b2 >= 5) {
b2_mc.gotoAndStop(5);
}
if (b3 == 1) {
b3_mc.gotoAndStop(1);
} else if (b3 == 2) {
b3_mc.gotoAndStop(2);
} else if (b3 == 3) {
b3_mc.gotoAndStop(3);
} else if (b3 == 4) {
b3_mc.gotoAndStop(4);
} else if (b3 >= 5) {
b3_mc.gotoAndStop(5);
}
if (b4 == 1) {
b4_mc.gotoAndStop(1);
} else if (b4 == 2) {
b4_mc.gotoAndStop(2);
} else if (b4 == 3) {
b4_mc.gotoAndStop(3);
} else if (b4 == 4) {
b4_mc.gotoAndStop(4);
} else if (b4 >= 5) {
b4_mc.gotoAndStop(5);
}
if (b5 == 1) {
b5_mc.gotoAndStop(1);
} else if (b5 == 2) {
b5_mc.gotoAndStop(2);
} else if (b5 == 3) {
b5_mc.gotoAndStop(3);
} else if (b5 == 4) {
b5_mc.gotoAndStop(4);
} else if (b5 >= 5) {
b5_mc.gotoAndStop(5);
}
if (b6 == 1) {
b6_mc.gotoAndStop(1);
} else if (b6 == 2) {
b6_mc.gotoAndStop(2);
} else if (b6 == 3) {
b6_mc.gotoAndStop(3);
} else if (b6 == 4) {
b6_mc.gotoAndStop(4);
} else if (b6 >= 5) {
b6_mc.gotoAndStop(5);
}
} else {
b1 = b2;
b2 = b3;
b3 = b4;
b4 = b5;
b5 = b6;
b6 = random(6) + 1;
if (b1 == 1) {
b1_mc.gotoAndStop(1);
} else if (b1 == 2) {
b1_mc.gotoAndStop(2);
} else if (b1 == 3) {
b1_mc.gotoAndStop(3);
} else if (b1 == 4) {
b1_mc.gotoAndStop(4);
} else if (b1 >= 5) {
b1_mc.gotoAndStop(5);
}
if (b2 == 1) {
b2_mc.gotoAndStop(1);
} else if (b2 == 2) {
b2_mc.gotoAndStop(2);
} else if (b2 == 3) {
b2_mc.gotoAndStop(3);
} else if (b2 == 4) {
b2_mc.gotoAndStop(4);
} else if (b2 >= 5) {
b2_mc.gotoAndStop(5);
}
if (b3 == 1) {
b3_mc.gotoAndStop(1);
} else if (b3 == 2) {
b3_mc.gotoAndStop(2);
} else if (b3 == 3) {
b3_mc.gotoAndStop(3);
} else if (b3 == 4) {
b3_mc.gotoAndStop(4);
} else if (b3 >= 5) {
b3_mc.gotoAndStop(5);
}
if (b4 == 1) {
b4_mc.gotoAndStop(1);
} else if (b4 == 2) {
b4_mc.gotoAndStop(2);
} else if (b4 == 3) {
b4_mc.gotoAndStop(3);
} else if (b4 == 4) {
b4_mc.gotoAndStop(4);
} else if (b4 >= 5) {
b4_mc.gotoAndStop(5);
}
if (b5 == 1) {
b5_mc.gotoAndStop(1);
} else if (b5 == 2) {
b5_mc.gotoAndStop(2);
} else if (b5 == 3) {
b5_mc.gotoAndStop(3);
} else if (b5 == 4) {
b5_mc.gotoAndStop(4);
} else if (b5 >= 5) {
b5_mc.gotoAndStop(5);
}
if (b6 == 1) {
b6_mc.gotoAndStop(1);
} else if (b6 == 2) {
b6_mc.gotoAndStop(2);
} else if (b6 == 3) {
b6_mc.gotoAndStop(3);
} else if (b6 == 4) {
b6_mc.gotoAndStop(4);
} else if (b6 >= 5) {
b6_mc.gotoAndStop(5);
}
}
if (_parent.mm == "ready") {
b1_mc.gotoAndStop(7);
b2_mc.gotoAndStop(7);
b3_mc.gotoAndStop(7);
b4_mc.gotoAndStop(7);
b5_mc.gotoAndStop(7);
b6_mc.gotoAndStop(7);
}
this.onEnterFrame = function () {
if ((_parent.ho == "stop") || (num == 1)) {
gotoAndStop (1);
b1_mc.gotoAndStop(7);
b2_mc.gotoAndStop(7);
b3_mc.gotoAndStop(7);
b4_mc.gotoAndStop(7);
b5_mc.gotoAndStop(7);
b6_mc.gotoAndStop(7);
} else {
play();
}
};
Symbol 238 MovieClip Frame 2
_parent.kv = "0";
if (_parent.ho == "stop") {
gotoAndStop (1);
}
if (b1 == 1) {
b1_mc.gotoAndStop(1);
} else if (b1 == 2) {
b1_mc.gotoAndStop(2);
} else if (b1 == 3) {
b1_mc.gotoAndStop(3);
} else if (b1 == 4) {
b1_mc.gotoAndStop(4);
} else if (b1 >= 5) {
b1_mc.gotoAndStop(5);
}
if (b2 == 1) {
b2_mc.gotoAndStop(1);
} else if (b2 == 2) {
b2_mc.gotoAndStop(2);
} else if (b2 == 3) {
b2_mc.gotoAndStop(3);
} else if (b2 == 4) {
b2_mc.gotoAndStop(4);
} else if (b2 >= 5) {
b2_mc.gotoAndStop(5);
}
if (b3 == 1) {
b3_mc.gotoAndStop(1);
} else if (b3 == 2) {
b3_mc.gotoAndStop(2);
} else if (b3 == 3) {
b3_mc.gotoAndStop(3);
} else if (b3 == 4) {
b3_mc.gotoAndStop(4);
} else if (b3 >= 5) {
b3_mc.gotoAndStop(5);
}
if (b4 == 1) {
b4_mc.gotoAndStop(1);
} else if (b4 == 2) {
b4_mc.gotoAndStop(2);
} else if (b4 == 3) {
b4_mc.gotoAndStop(3);
} else if (b4 == 4) {
b4_mc.gotoAndStop(4);
} else if (b4 >= 5) {
b4_mc.gotoAndStop(5);
}
if (b5 == 1) {
b5_mc.gotoAndStop(1);
} else if (b5 == 2) {
b5_mc.gotoAndStop(2);
} else if (b5 == 3) {
b5_mc.gotoAndStop(3);
} else if (b5 == 4) {
b5_mc.gotoAndStop(4);
} else if (b5 >= 5) {
b5_mc.gotoAndStop(5);
}
if (b6 == 1) {
b6_mc.gotoAndStop(1);
} else if (b6 == 2) {
b6_mc.gotoAndStop(2);
} else if (b6 == 3) {
b6_mc.gotoAndStop(3);
} else if (b6 == 4) {
b6_mc.gotoAndStop(4);
} else if (b6 >= 5) {
b6_mc.gotoAndStop(5);
}
this.onEnterFrame = function () {
};
Symbol 238 MovieClip Frame 3
stop();
if (b1 == 1) {
b1_mc.gotoAndStop(1);
_parent.kv = "u";
} else if (b1 == 2) {
b1_mc.gotoAndStop(2);
_parent.kv = "d";
} else if (b1 == 3) {
b1_mc.gotoAndStop(3);
_parent.kv = "l";
} else if (b1 == 4) {
b1_mc.gotoAndStop(4);
_parent.kv = "r";
} else if (b1 >= 5) {
b1_mc.gotoAndStop(5);
_parent.kv = "s";
}
if (b2 == 1) {
b2_mc.gotoAndStop(1);
} else if (b2 == 2) {
b2_mc.gotoAndStop(2);
} else if (b2 == 3) {
b2_mc.gotoAndStop(3);
} else if (b2 == 4) {
b2_mc.gotoAndStop(4);
} else if (b2 >= 5) {
b2_mc.gotoAndStop(5);
}
if (b3 == 1) {
b3_mc.gotoAndStop(1);
} else if (b3 == 2) {
b3_mc.gotoAndStop(2);
} else if (b3 == 3) {
b3_mc.gotoAndStop(3);
} else if (b3 == 4) {
b3_mc.gotoAndStop(4);
} else if (b3 >= 5) {
b3_mc.gotoAndStop(5);
}
if (b4 == 1) {
b4_mc.gotoAndStop(1);
} else if (b4 == 2) {
b4_mc.gotoAndStop(2);
} else if (b4 == 3) {
b4_mc.gotoAndStop(3);
} else if (b4 == 4) {
b4_mc.gotoAndStop(4);
} else if (b4 >= 5) {
b4_mc.gotoAndStop(5);
}
if (b5 == 1) {
b5_mc.gotoAndStop(1);
} else if (b5 == 2) {
b5_mc.gotoAndStop(2);
} else if (b5 == 3) {
b5_mc.gotoAndStop(3);
} else if (b5 == 4) {
b5_mc.gotoAndStop(4);
} else if (b5 >= 5) {
b5_mc.gotoAndStop(5);
}
if (b6 == 1) {
b6_mc.gotoAndStop(1);
} else if (b6 == 2) {
b6_mc.gotoAndStop(2);
} else if (b6 == 3) {
b6_mc.gotoAndStop(3);
} else if (b6 == 4) {
b6_mc.gotoAndStop(4);
} else if (b6 >= 5) {
b6_mc.gotoAndStop(5);
}
tm = 0;
this.onEnterFrame = function () {
if (_parent.mm == "gameover") {
tm = tm + 1;
}
if (tm == 2) {
b1_mc.gotoAndStop(6);
}
if (tm == 7) {
b2_mc.gotoAndStop(6);
}
if (tm == 12) {
b3_mc.gotoAndStop(6);
}
if (tm == 17) {
b4_mc.gotoAndStop(6);
}
if (tm == 22) {
b5_mc.gotoAndStop(6);
}
if (tm == 27) {
b6_mc.gotoAndStop(6);
}
if (tm == 32) {
_parent.mm = "gameover2";
}
};
Symbol 256 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.sk == 0) {
gotoAndStop (1);
} else if (_parent.sk == 1) {
gotoAndStop (2);
} else if (_parent.sk == 2) {
gotoAndStop (3);
} else if (_parent.sk == 3) {
gotoAndStop (4);
} else if (_parent.sk == 4) {
gotoAndStop (5);
} else if (_parent.sk == 5) {
gotoAndStop (6);
} else if (_parent.sk == 6) {
gotoAndStop (7);
} else if (_parent.sk == 7) {
gotoAndStop (8);
} else if (_parent.sk == 8) {
gotoAndStop (9);
} else if (_parent.sk == 9) {
gotoAndStop (10);
} else if (_parent.sk == 10) {
gotoAndStop (11);
} else if (_parent.sk == 11) {
gotoAndStop (12);
} else if (_parent.sk == 12) {
gotoAndStop (13);
} else if (_parent.sk == 13) {
gotoAndStop (14);
} else if (_parent.sk == 14) {
gotoAndStop (15);
} else if (_parent.sk == 15) {
gotoAndStop (16);
} else if (_parent.sk == 16) {
gotoAndStop (17);
} else if (_parent.sk == 17) {
gotoAndStop (18);
} else if (_parent.sk == 18) {
gotoAndStop (19);
} else if (_parent.sk == 19) {
gotoAndStop (20);
} else if (_parent.sk == 20) {
gotoAndStop (21);
} else if (_parent.sk == 21) {
gotoAndStop (22);
} else if (_parent.sk == 22) {
gotoAndStop (23);
} else if (_parent.sk == 23) {
gotoAndStop (24);
} else if (_parent.sk == 24) {
gotoAndStop (25);
} else if (_parent.sk == 25) {
gotoAndStop (26);
} else if (_parent.sk == 26) {
gotoAndStop (27);
} else if (_parent.sk == 27) {
gotoAndStop (28);
} else if (_parent.sk == 28) {
gotoAndStop (29);
} else if (_parent.sk == 29) {
gotoAndStop (30);
} else if (_parent.sk == 30) {
gotoAndStop (31);
} else if (_parent.sk == 31) {
gotoAndStop (32);
} else if (_parent.sk == 32) {
gotoAndStop (33);
} else if (_parent.sk == 33) {
gotoAndStop (34);
} else if (_parent.sk == 34) {
gotoAndStop (35);
} else if (_parent.sk == 35) {
gotoAndStop (36);
} else if (_parent.sk == 36) {
gotoAndStop (37);
} else if (_parent.sk == 37) {
gotoAndStop (38);
} else if (_parent.sk == 38) {
gotoAndStop (39);
} else if (_parent.sk == 39) {
gotoAndStop (40);
} else if (_parent.sk == 40) {
gotoAndStop (41);
} else if (_parent.sk == 41) {
gotoAndStop (42);
} else if (_parent.sk == 42) {
gotoAndStop (43);
} else if (_parent.sk == 43) {
gotoAndStop (44);
} else if (_parent.sk == 44) {
gotoAndStop (45);
} else if (_parent.sk == 45) {
gotoAndStop (46);
} else if (_parent.sk == 46) {
gotoAndStop (47);
} else if (_parent.sk == 47) {
gotoAndStop (48);
} else if (_parent.sk == 48) {
gotoAndStop (49);
} else if (_parent.sk == 49) {
gotoAndStop (50);
} else if (_parent.sk == 50) {
gotoAndStop (51);
}
};
Symbol 373 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 26
_parent.geti = _parent.geti + 1;
Symbol 386 MovieClip Frame 34
if ((_parent.geti == 3) && (_parent.mi == 0)) {
_parent.get2_mc.play();
}
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 26
_parent.geti2 = 1;
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 2
stop();
Symbol 416 MovieClip Frame 3
stop();
Symbol 416 MovieClip Frame 4
stop();
Symbol 416 MovieClip Frame 5
stop();
Symbol 416 MovieClip Frame 6
stop();
Symbol 416 MovieClip Frame 7
stop();
Symbol 416 MovieClip Frame 8
stop();
Symbol 416 MovieClip Frame 9
stop();
Symbol 416 MovieClip Frame 10
stop();
Symbol 416 MovieClip Frame 11
stop();
Symbol 416 MovieClip Frame 12
stop();
Symbol 421 MovieClip Frame 1
this.onPress = function () {
_root.gotoAndStop(3);
};
Symbol 424 MovieClip Frame 1
this.onPress = function () {
_root.gotoAndStop(3);
};
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 2
stop();
Symbol 429 MovieClip Frame 3
stop();
Symbol 429 MovieClip Frame 4
stop();
Symbol 433 MovieClip Frame 1
stop();
this.onPress = function () {
_root.reconnum = 0;
gotoAndStop (2);
};
Symbol 433 MovieClip Frame 2
stop();
this_recontime = 0;
cmessage = "";
sendVars = new LoadVars();
sendVars.error_flashid = "smithy";
sendVars.error_gameid = _root.gameid;
sendVars.error_part = _root.error_part;
sendVars.error_code1 = _root.error_code1;
sendVars.error_code2 = _root.error_code2;
sendVars.sendAndLoad("http://panyroom.jr.naver.com/game/error.php", sendVars, "POST");
this.onEnterFrame = function () {
cmessage = sendVars.cmessage;
if ((this_recontime < 300) || ((cmessage == "ok") && (cmessage == "success"))) {
if (cmessage == "ok") {
_parent.gotoAndStop(7);
} else if (cmessage == "success") {
_parent.gotoAndStop(12);
} else {
this_recontime = this_recontime + 1;
}
} else {
_root.reconnum = _root.reconnum + 1;
gotoAndStop (3);
}
};
Symbol 433 MovieClip Frame 3
stop();
if (_root.reconnum < 2) {
gotoAndStop (2);
} else {
_parent.gotoAndStop(11);
}
this.onEnterFrame = function () {
};
Symbol 437 MovieClip Frame 1
stop();
this.onPress = function () {
_root.gotoAndStop(1);
};
Symbol 440 MovieClip Frame 2
stop();
score = _root.geti + (_root.geti2 * 3);
if (score >= _root.pcode) {
instsco = score;
sendVars = new LoadVars();
sendVars.gameid = _root.gameid;
sendVars.code = _root.code;
sendVars.sendAndLoad(_root.surl, sendVars, "POST");
gotoAndStop (3);
} else {
gotoAndStop (6);
}
this.onEnterFrame = function () {
};
Symbol 440 MovieClip Frame 3
smessage = "";
message_time = 0;
this.onEnterFrame = function () {
myString2 = new String(instsco);
len2 = myString2.length;
i2 = 0;
while (i2 < len2) {
this["score_img" + (i2 + 1)] = myString2.substr(i2, 1);
if (!(this["score_img" + (i2 + 1)] === ".")) {
is = int(this["score_img" + (i2 + 1)]);
} else {
is = ".";
}
if (this["score_img" + (i2 + 1)].length > 0) {
if (is == ".") {
sys_score_mc["len" + (i2 + (11 - len2))].gotoAndStop(12);
} else {
sys_score_mc["len" + (i2 + (11 - len2))].gotoAndStop(is + 2);
}
}
i2++;
}
rmessage = sendVars.rmessage;
gamename = sendVars.gamename;
if (rmessage == "panypang") {
myString = new String(gamename);
myStr = new String(instsco);
mySc = gamename;
lenn = myStr.length;
myStr = myStr + new String(lenn);
len = myStr.length;
mi = 0;
while (mi < len) {
mStr = myStr.substr(mi, 1);
i = 0;
while (i < 10) {
if (i == mStr) {
mySc = mySc + myString.substr(i * 2, 2);
}
i++;
}
if (mStr == ".") {
mySc = mySc + myString.substr(20, 2);
}
mi++;
}
gotoAndStop (4);
} else if (rmessage == "nogame") {
_root.reconnum = 0;
_root.error_part = "nogame";
_root.error_code1 = _root.code;
_root.error_code2 = "none";
gotoAndStop (9);
} else if (message_time > 500) {
_root.error_code1 = _root.code;
_root.error_code2 = "none";
_root.error_part = "noconnection";
gotoAndStop (8);
} else {
message_time = message_time + 1;
}
};
bbbt.onPress = function () {
box1.text = "\uAE30\uBCF8\uB9AC\uD134\uBA54\uC2DC\uC9C0 : " + rmessage;
box2.text = "\uB9AC\uD134\uAC8C\uC784\uB124\uC784 : " + gamename;
box3.text = "\uCD08\uAE30\uC5D0\uBC1B\uC740\uCF54\uB4DC : " + _root.code;
box4.text = "error_part : " + error_part;
};
Symbol 440 MovieClip Frame 4
smessage = "";
sendVars = new LoadVars();
sendVars.gameid = _root.gameid;
sendVars.point = mySc;
sendVars.sendAndLoad(_root.surl, sendVars, "POST");
message_time = 0;
this.onEnterFrame = function () {
myString2 = new String(instsco);
len2 = myString2.length;
i2 = 0;
while (i2 < len2) {
this["score_img" + (i2 + 1)] = myString2.substr(i2, 1);
if (!(this["score_img" + (i2 + 1)] === ".")) {
is = int(this["score_img" + (i2 + 1)]);
} else {
is = ".";
}
if (this["score_img" + (i2 + 1)].length > 0) {
if (is == ".") {
sys_score_mc["len" + (i2 + (11 - len2))].gotoAndStop(12);
} else {
sys_score_mc["len" + (i2 + (11 - len2))].gotoAndStop(is + 2);
}
}
i2++;
}
smessage_point = sendVars.input_point;
smessage = sendVars.smessage;
if (((smessage == "high") || (smessage == "middle")) || (smessage == "low")) {
smessage_case = smessage;
gotoAndStop (7);
} else if (smessage == "nogame") {
_root.reconnum = 0;
_root.error_part = "nogame";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (9);
} else if (smessage == "timeover") {
_root.reconnum = 0;
_root.error_part = "timeover";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (9);
} else if (smessage == "code_error") {
_root.reconnum = 0;
_root.error_part = "code_error";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (9);
} else if (smessage == "error") {
_root.reconnum = 0;
_root.error_part = "error";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (9);
} else if (smessage == "login") {
gotoAndStop (13);
} else if (message_time > 500) {
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
_root.error_part = "noconnection";
gotoAndStop (8);
} else {
message_time = message_time + 1;
}
};
bbbt.onPress = function () {
box1.text = "\uAE30\uBCF8\uB9AC\uD134\uBA54\uC2DC\uC9C0 : " + smessage;
box2.text = "smessage_point : " + smessage_point;
box3.text = "error_code1" + mySc;
box4.text = "error_code2" + _root.error_code1;
};
Symbol 440 MovieClip Frame 5
stop();
Symbol 440 MovieClip Frame 6
stop();
this.onEnterFrame = function () {
};
Symbol 440 MovieClip Frame 7
stop();
this.onEnterFrame = function () {
if (smessage_case == "low") {
sys_score_mc.case1.gotoAndStop(2);
} else if (smessage_case == "middle") {
sys_score_mc.case1.gotoAndStop(3);
} else if (smessage_case == "high") {
sys_score_mc.case1.gotoAndStop(4);
}
myString2 = new String(smessage_point);
len2 = myString2.length;
i2 = 0;
while (i2 < len2) {
this["score_img" + (i2 + 1)] = myString2.substr(i2, 1);
if (!(this["score_img" + (i2 + 1)] === ".")) {
is = int(this["score_img" + (i2 + 1)]);
} else {
is = ".";
}
if (this["score_img" + (i2 + 1)].length > 0) {
if (is == ".") {
sys_score_mc["len" + (i2 + (11 - len2))].gotoAndStop(12);
} else {
sys_score_mc["len" + (i2 + (11 - len2))].gotoAndStop(is + 2);
}
}
i2++;
}
};
Symbol 440 MovieClip Frame 8
stop();
this.onEnterFrame = function () {
};
Symbol 440 MovieClip Frame 9
stop();
this_recontime = 0;
cmessage = "";
sendVars = new LoadVars();
sendVars.error_flashid = "smithy";
sendVars.error_gameid = _root.gameid;
sendVars.error_part = _root.error_part;
sendVars.error_code1 = _root.error_code1;
sendVars.error_code2 = _root.error_code2;
sendVars.sendAndLoad("http://panyroom.jr.naver.com/game/error.php", sendVars, "POST");
this.onEnterFrame = function () {
cmessage = sendVars.cmessage;
if ((this_recontime < 300) || ((cmessage == "ok") && (cmessage == "success"))) {
if (cmessage == "ok") {
gotoAndStop (7);
} else if (cmessage == "success") {
gotoAndStop (12);
} else {
this_recontime = this_recontime + 1;
}
} else {
_root.reconnum = _root.reconnum + 1;
gotoAndStop (10);
}
};
Symbol 440 MovieClip Frame 10
stop();
if (_root.reconnum < 2) {
gotoAndStop (9);
} else {
gotoAndStop (11);
}
this.onEnterFrame = function () {
};
Symbol 440 MovieClip Frame 11
stop();
this.onEnterFrame = function () {
};
Symbol 440 MovieClip Frame 12
stop();
this.onEnterFrame = function () {
};
Symbol 440 MovieClip Frame 13
stop();
this.onEnterFrame = function () {
};
Symbol 441 MovieClip Frame 1
this.onEnterFrame = function () {
};
Symbol 441 MovieClip Frame 70
stop();
bgm_sound = new Sound();
bgm_sound.attachSound("bgm");
bgm_sound.start(0, 9999);
_parent.mm = "play";
this.onEnterFrame = function () {
if (_parent.mm == "gameover2") {
play();
}
};
Symbol 441 MovieClip Frame 71
stopAllSounds();
this.onEnterFrame = function () {
};
Symbol 441 MovieClip Frame 120
stop();