Frame 1
stop();
Stage.showMenu = false;
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 == "runwang")) {
_root.gotoAndStop(2);
}
gotoAndStop (2);
};
Frame 2
this.onEnterFrame = function () {
};
Frame 3
this.onEnterFrame = function () {
};
Frame 4
sjump = "ready";
mjump = "ready";
hjump = "ready";
sp = "ok";
this.onEnterFrame = function () {
if (Key.isDown(38) && (!Key.isDown(40))) {
vu = vu + 1;
ku_mc.gotoAndStop(2);
} else {
vu = 0;
ku_mc.gotoAndStop(1);
}
if (Key.isDown(40) && (!Key.isDown(38))) {
vd = vd + 1;
kd_mc.gotoAndStop(2);
} else {
vd = 0;
kd_mc.gotoAndStop(1);
}
if (Key.isDown(37) && (!Key.isDown(39))) {
vl = vl + 1;
kl_mc.gotoAndStop(2);
} else {
vl = 0;
kl_mc.gotoAndStop(1);
}
if (Key.isDown(39) && (!Key.isDown(37))) {
vr = vr + 1;
kr_mc.gotoAndStop(2);
} else {
vr = 0;
kr_mc.gotoAndStop(1);
}
if ((Key.isDown(17) || (Key.isDown(32))) || (Key.isDown(16))) {
vs = vs + 1;
kc_mc.gotoAndStop(2);
} else {
vs = 0;
kc_mc.gotoAndStop(1);
}
if (((((((((vl > 0) && (vr == 0)) && (vu != 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(1);
} else if (((((((((vl == 0) && (vr == 0)) && (vu != 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(2);
} else if (((((((((vl == 0) && (vr > 0)) && (vu != 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(3);
} else if ((((((vl > 0) && (vr == 0)) && (vu == 0)) && (vd > 0)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(4);
} else if (((((((vl == 0) && (vr == 0)) && (vu == 0)) && (vd > 0)) && (mst < 15)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(5);
mst = mst + 1;
} else if (((((((vl == 0) && (vr == 0)) && (vu == 0)) && (vd > 0)) && (mst >= 15)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(2);
}
if (!Key.isDown(40)) {
mst = 0;
} else if (((((((vl == 0) && (vr > 0)) && (vu == 0)) && (vd > 0)) && (hst < 23)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(5);
hst = hst + 1;
} else if (((((((vl == 0) && (vr > 0)) && (vu == 0)) && (vd > 0)) && (hst >= 23)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(3);
}
if (!Key.isDown(40)) {
hst = 0;
}
if (((((((((vl > 0) && (vr == 0)) && (vu == 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
sjump = "on";
ch_mc.gotoAndStop(6);
}
if (((((((sjump == "on") && (mjump == "ready")) && (hjump == "ready")) && (vu > 0)) && (ch_mc._y > 100)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc._y = (ch_mc._y - 5) - (ch_mc._y * 0.1);
if (ch_mc._y <= 100) {
sjump = "off";
}
} else if ((((sjump == "on") && (vu == 0)) && (mm != "ready")) && (mm != "ddel")) {
sjump = "off";
}
if (((sjump == "off") && (ch_mc._y < 310)) && (mm != "ready")) {
ch_mc.jump_mc.play();
ch_mc._y = (ch_mc._y + 5) + (ch_mc._y * 0.1);
if (ch_mc._y >= 310) {
ch_mc._y = 310;
sjump = "ready";
mjump = "ready";
hjump = "ready";
}
}
if (((((((((vl == 0) && (vr == 0)) && (vu == 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
mjump = "on";
ch_mc.gotoAndStop(6);
}
if (((((((mjump == "on") && (sjump == "ready")) && (hjump == "ready")) && (vu > 0)) && (ch_mc._y > 100)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc._y = (ch_mc._y - 5) - (ch_mc._y * 0.1);
if (ch_mc._y <= 100) {
mjump = "off";
}
} else if ((((mjump == "on") && (vu == 0)) && (mm != "ready")) && (mm != "ddel")) {
mjump = "off";
}
if (((mjump == "off") && (ch_mc._y < 310)) && (mm != "ready")) {
ch_mc.jump_mc.play();
ch_mc._y = (ch_mc._y + 5) + (ch_mc._y * 0.1);
if (ch_mc._y >= 310) {
ch_mc._y = 310;
sjump = "ready";
mjump = "ready";
hjump = "ready";
if ((vl == 0) && (vr == 0)) {
ch_mc.gotoAndStop(2);
} else if ((vl == 0) && (vr > 0)) {
ch_mc.gotoAndStop(3);
}
}
}
if (((((((((vl == 0) && (vr > 0)) && (vu == 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
hjump = "on";
ch_mc.gotoAndStop(6);
}
if (((((((hjump == "on") && (sjump == "ready")) && (mjump == "ready")) && (vu > 0)) && (ch_mc._y > 100)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc._y = (ch_mc._y - 5) - (ch_mc._y * 0.1);
if (ch_mc._y <= 100) {
hjump = "off";
}
} else if ((((hjump == "on") && (vu == 0)) && (mm != "ready")) && (mm != "ddel")) {
hjump = "off";
}
if (((hjump == "off") && (ch_mc._y < 310)) && (mm != "ready")) {
ch_mc.jump_mc.play();
ch_mc._y = (ch_mc._y + 5) + (ch_mc._y * 0.1);
if (ch_mc._y >= 310) {
ch_mc._y = 310;
sjump = "ready";
mjump = "ready";
hjump = "ready";
if ((vl == 0) && (vr == 0)) {
ch_mc.gotoAndStop(2);
} else if ((vl == 0) && (vr > 0)) {
ch_mc.gotoAndStop(3);
}
}
}
if ((vl == 0) && (vr > 0)) {
ttg_mc.tt_mc._rotation = ttg_mc.tt_mc._rotation + 14;
} else if ((vl == 0) && (vr == 0)) {
ttg_mc.tt_mc._rotation = ttg_mc.tt_mc._rotation + 7;
} else if ((vl > 0) && (vr == 0)) {
ttg_mc.tt_mc._rotation = ttg_mc.tt_mc._rotation;
} else {
ttg_mc.tt_mc._rotation = ttg_mc.tt_mc._rotation;
}
if ((vs == 1) && (sp == "ok")) {
sp_mc.play();
sp = "play";
}
};
Frame 5
lvl = "1";
ttp = 0;
stopAllSounds();
Frame 6
stop();
stopAllSounds();
bgm_sound = new Sound();
bgm_sound.attachSound("bgm");
RAIN_sound = new Sound();
RAIN_sound.attachSound("RAIN");
ef_sound = new Sound();
ef_sound.attachSound("ef");
RAIN_sound.start(0, 9999);
mm = "ready";
bgmb = "0";
cb = 0;
ttp = 0;
sp = "ok";
if (lvl == "1") {
um = 3;
}
if (lvl == "2") {
um = 4;
}
if (lvl == "3") {
um = 5;
}
if (lvl == "4") {
um = 6;
}
ha = 0;
life = 5;
sjump = "ready";
mjump = "ready";
hjump = "ready";
rr = 0;
tt = 0;
ts = 0;
tm1 = 1;
myColor = new Color(ch_mc);
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = 0;
this.onEnterFrame = function () {
if ((mm == "ready") && (Key.isDown(39))) {
if (rr < 1) {
ch_mc.gotoAndStop(3);
}
ch_mc._x = ch_mc._x + 20;
rr = rr + 1;
} else if ((mm == "ready") && (!Key.isDown(39))) {
ch_mc.gotoAndStop(2);
ch_mc._x = ch_mc._x + 10;
}
if ((mm == "ready") && (ch_mc._x >= 200)) {
mm = "play";
}
if (mm == "play") {
if (bgmb == "0") {
bgm_sound.start(0, 9999);
bgmb = "1";
}
if (Key.isDown(38) && (!Key.isDown(40))) {
vu = vu + 1;
} else {
vu = 0;
}
if (Key.isDown(40) && (!Key.isDown(38))) {
vd = vd + 1;
} else {
vd = 0;
}
if (Key.isDown(37) && (!Key.isDown(39))) {
vl = vl + 1;
} else {
vl = 0;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
vr = vr + 1;
} else {
vr = 0;
}
if ((Key.isDown(17) || (Key.isDown(32))) || (Key.isDown(16))) {
vs = vs + 1;
} else {
vs = 0;
}
} else {
vu = 0;
vd = 0;
vl = 0;
vr = 0;
}
if (((((((((vl > 0) && (vr == 0)) && (vu != 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(1);
} else if (((((((((vl == 0) && (vr == 0)) && (vu != 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(2);
} else if (((((((((vl == 0) && (vr > 0)) && (vu != 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(3);
} else if ((((((vl > 0) && (vr == 0)) && (vu == 0)) && (vd > 0)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(4);
} else if (((((((vl == 0) && (vr == 0)) && (vu == 0)) && (vd > 0)) && (mst < 15)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(5);
mst = mst + 1;
} else if (((((((vl == 0) && (vr == 0)) && (vu == 0)) && (vd > 0)) && (mst >= 15)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(2);
}
if (!Key.isDown(40)) {
mst = 0;
} else if (((((((vl == 0) && (vr > 0)) && (vu == 0)) && (vd > 0)) && (hst < 23)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(5);
hst = hst + 1;
} else if (((((((vl == 0) && (vr > 0)) && (vu == 0)) && (vd > 0)) && (hst >= 23)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc.gotoAndStop(3);
}
if (!Key.isDown(40)) {
hst = 0;
}
if (((((((((vl > 0) && (vr == 0)) && (vu == 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
sjump = "on";
ch_mc.gotoAndStop(6);
}
if (((((((sjump == "on") && (mjump == "ready")) && (hjump == "ready")) && (vu > 0)) && (ch_mc._y > 170)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc._y = (ch_mc._y - 5) - (ch_mc._y * 0.1);
if (ch_mc._y <= 170) {
sjump = "off";
}
} else if ((((sjump == "on") && (vu == 0)) && (mm != "ready")) && (mm != "ddel")) {
sjump = "off";
}
if (((sjump == "off") && (ch_mc._y < 380)) && (mm != "ready")) {
ch_mc.jump_mc.play();
ch_mc._y = (ch_mc._y + 5) + (ch_mc._y * 0.1);
if (ch_mc._y >= 380) {
ch_mc._y = 380;
sjump = "ready";
mjump = "ready";
hjump = "ready";
}
}
if (((((((((vl == 0) && (vr == 0)) && (vu == 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
mjump = "on";
ch_mc.gotoAndStop(6);
}
if (((((((mjump == "on") && (sjump == "ready")) && (hjump == "ready")) && (vu > 0)) && (ch_mc._y > 170)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc._y = (ch_mc._y - 5) - (ch_mc._y * 0.1);
if (ch_mc._y <= 170) {
mjump = "off";
}
} else if ((((mjump == "on") && (vu == 0)) && (mm != "ready")) && (mm != "ddel")) {
mjump = "off";
}
if (((mjump == "off") && (ch_mc._y < 380)) && (mm != "ready")) {
ch_mc.jump_mc.play();
ch_mc._y = (ch_mc._y + 5) + (ch_mc._y * 0.1);
if (ch_mc._y >= 380) {
ch_mc._y = 380;
sjump = "ready";
mjump = "ready";
hjump = "ready";
if ((vl == 0) && (vr == 0)) {
ch_mc.gotoAndStop(2);
} else if ((vl == 0) && (vr > 0)) {
ch_mc.gotoAndStop(3);
}
}
}
if (((((((((vl == 0) && (vr > 0)) && (vu == 1)) && (vd == 0)) && (sjump == "ready")) && (mjump == "ready")) && (hjump == "ready")) && (mm != "ready")) && (mm != "ddel")) {
hjump = "on";
ch_mc.gotoAndStop(6);
}
if (((((((hjump == "on") && (sjump == "ready")) && (mjump == "ready")) && (vu > 0)) && (ch_mc._y > 170)) && (mm != "ready")) && (mm != "ddel")) {
ch_mc._y = (ch_mc._y - 5) - (ch_mc._y * 0.1);
if (ch_mc._y <= 170) {
hjump = "off";
}
} else if ((((hjump == "on") && (vu == 0)) && (mm != "ready")) && (mm != "ddel")) {
hjump = "off";
}
if (((hjump == "off") && (ch_mc._y < 380)) && (mm != "ready")) {
ch_mc.jump_mc.play();
ch_mc._y = (ch_mc._y + 5) + (ch_mc._y * 0.1);
if (ch_mc._y >= 380) {
ch_mc._y = 380;
sjump = "ready";
mjump = "ready";
hjump = "ready";
if ((vl == 0) && (vr == 0)) {
ch_mc.gotoAndStop(2);
} else if ((vl == 0) && (vr > 0)) {
ch_mc.gotoAndStop(3);
}
}
}
if ((bg1_mc._x > -7500) && (mm == "play")) {
if ((vl == 0) && (vr > 0)) {
sc = -20;
ra_mc._rotation = 50;
} else if ((vl == 0) && (vr == 0)) {
sc = -10;
ra_mc._rotation = 20;
} else if ((vl > 0) && (vr == 0)) {
sc = 0;
ra_mc._rotation = 0;
}
}
if (mm != "play") {
sc = 0;
ra_mc._rotation = 0;
}
if (mm == "dw1") {
ch_mc.gotoAndStop(7);
mm = "ddel";
}
if (mm == "dw2") {
ch_mc.gotoAndStop(8);
mm = "ddel";
}
bg1_mc._x = bg1_mc._x + sc;
bg2_mc._x = bg2_mc._x + (sc * 0.5);
bg3_mc._x = bg3_mc._x + (sc * 0.3);
bg4_mc._x = bg4_mc._x + (sc * 0.09);
if (bg1_mc._x <= -7500) {
bg1_mc._x = -7500;
bg2_mc._x = bg2_mc._x;
}
if ((bg1_mc._x < -7000) && (mm == "play")) {
whb_mc.play();
}
po_mc._x = 50 + ((-(bg1_mc._x - 8100)) / 31);
if (((mm == "play") || (mm == "dw1")) || (mm == "dw2")) {
tms2_mc.gotoAndStop(2);
} else {
tms2_mc.gotoAndStop(1);
}
if (((tt > 0) && (!((ts == 0) && (tm1 == 0)))) && ((((mm == "play") || (mm == "dw1")) || (mm == "dw2")) || (mm == "ddel"))) {
tt = tt - 1;
} else if (((tt <= 0) && (!((ts == 0) && (tm1 == 0)))) && ((((mm == "play") || (mm == "dw1")) || (mm == "dw2")) || (mm == "ddel"))) {
ts = ts - 1;
if (ts < 0) {
tm1 = tm1 - 1;
ts = 59;
}
tt = 24;
}
if ((ts == 0) && (tm1 == 0)) {
tt = 0;
ts = 0;
tms2_mc.gotoAndStop(1);
}
tm = substring(tm1, 1, 1);
if (ts >= 10) {
ts1 = substring(ts, 1, 1);
ts2 = substring(ts, 2, 1);
} else {
ts1 = 0;
ts2 = substring(ts, 1, 1);
}
timep = (tt + (ts * 60)) + (tm * 3600);
if (tm == 0) {
tm_mc.gotoAndStop(1);
} else if (tm == 1) {
tm_mc.gotoAndStop(2);
} else if (tm == 2) {
tm_mc.gotoAndStop(3);
} else if (tm == 3) {
tm_mc.gotoAndStop(4);
} else if (tm == 4) {
tm_mc.gotoAndStop(5);
} else if (tm == 5) {
tm_mc.gotoAndStop(6);
} else if (tm == 6) {
tm_mc.gotoAndStop(7);
} else if (tm == 7) {
tm_mc.gotoAndStop(8);
} else if (tm == 8) {
tm_mc.gotoAndStop(9);
} else if (tm == 9) {
tm_mc.gotoAndStop(10);
}
if (ts1 == 0) {
ts1_mc.gotoAndStop(1);
} else if (ts1 == 1) {
ts1_mc.gotoAndStop(2);
} else if (ts1 == 2) {
ts1_mc.gotoAndStop(3);
} else if (ts1 == 3) {
ts1_mc.gotoAndStop(4);
} else if (ts1 == 4) {
ts1_mc.gotoAndStop(5);
} else if (ts1 == 5) {
ts1_mc.gotoAndStop(6);
} else if (ts1 == 6) {
ts1_mc.gotoAndStop(7);
} else if (ts1 == 7) {
ts1_mc.gotoAndStop(8);
} else if (ts1 == 8) {
ts1_mc.gotoAndStop(9);
} else if (ts1 == 9) {
ts1_mc.gotoAndStop(10);
}
if (ts2 == 0) {
ts2_mc.gotoAndStop(1);
} else if (ts2 == 1) {
ts2_mc.gotoAndStop(2);
} else if (ts2 == 2) {
ts2_mc.gotoAndStop(3);
} else if (ts2 == 3) {
ts2_mc.gotoAndStop(4);
} else if (ts2 == 4) {
ts2_mc.gotoAndStop(5);
} else if (ts2 == 5) {
ts2_mc.gotoAndStop(6);
} else if (ts2 == 6) {
ts2_mc.gotoAndStop(7);
} else if (ts2 == 7) {
ts2_mc.gotoAndStop(8);
} else if (ts2 == 8) {
ts2_mc.gotoAndStop(9);
} else if (ts2 == 9) {
ts2_mc.gotoAndStop(10);
}
if (tt == 0) {
tms1_mc.gotoAndStop(1);
} else if (tt == 1) {
tms1_mc.gotoAndStop(1);
} else if (tt == 2) {
tms1_mc.gotoAndStop(1);
} else if (tt == 3) {
tms1_mc.gotoAndStop(1);
} else if (tt == 4) {
tms1_mc.gotoAndStop(2);
} else if (tt == 5) {
tms1_mc.gotoAndStop(2);
} else if (tt == 6) {
tms1_mc.gotoAndStop(2);
} else if (tt == 7) {
tms1_mc.gotoAndStop(2);
} else if (tt == 8) {
tms1_mc.gotoAndStop(3);
} else if (tt == 9) {
tms1_mc.gotoAndStop(3);
} else if (tt == 10) {
tms1_mc.gotoAndStop(3);
} else if (tt == 11) {
tms1_mc.gotoAndStop(3);
} else if (tt == 12) {
tms1_mc.gotoAndStop(4);
} else if (tt == 13) {
tms1_mc.gotoAndStop(4);
} else if (tt == 14) {
tms1_mc.gotoAndStop(4);
} else if (tt == 15) {
tms1_mc.gotoAndStop(4);
} else if (tt == 16) {
tms1_mc.gotoAndStop(5);
} else if (tt == 17) {
tms1_mc.gotoAndStop(5);
} else if (tt == 18) {
tms1_mc.gotoAndStop(5);
} else if (tt == 19) {
tms1_mc.gotoAndStop(5);
} else if (tt == 20) {
tms1_mc.gotoAndStop(6);
} else if (tt == 21) {
tms1_mc.gotoAndStop(6);
} else if (tt == 22) {
tms1_mc.gotoAndStop(6);
} else if (tt == 23) {
tms1_mc.gotoAndStop(6);
} else if (tt == 24) {
tms1_mc.gotoAndStop(1);
}
if ((((vs == 1) && (um > 0)) && (sp == "ok")) && (mm == "play")) {
sp_mc.play();
sp = "play";
um = um - 1;
ef_sound.start();
}
if ((dw == "1") && (dwt == 0)) {
myColorTransform = {ra:"100", rb:"255", ga:"100", gb:"255", ba:"100", bb:"255", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
life = life - 1;
dwt = dwt + 1;
dm_mc.play();
} else if ((dw == "1") && (dwt == 1)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 0;
} else if ((dw == "1") && (dwt == 2)) {
myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"200", ba:"100", bb:"250", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 1;
} else if ((dw == "1") && (dwt == 3)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 0;
} else if ((dw == "1") && (dwt == 4)) {
myColorTransform = {ra:"100", rb:"100", ga:"100", gb:"100", ba:"100", bb:"250", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 1;
} else if ((dw == "1") && (dwt == 5)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 0;
} else if ((dw == "1") && (dwt == 6)) {
myColorTransform = {ra:"100", rb:"100", ga:"100", gb:"100", ba:"100", bb:"200", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 1;
} else if ((dw == "1") && (dwt == 7)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 0;
} else if ((dw == "1") && (dwt == 8)) {
myColorTransform = {ra:"100", rb:"100", ga:"100", gb:"100", ba:"100", bb:"150", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
ch_mc._visible = 1;
} else if ((dw == "1") && (dwt == 9)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 10)) {
myColorTransform = {ra:"100", rb:"100", ga:"100", gb:"100", ba:"100", bb:"100", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 11)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 12)) {
myColorTransform = {ra:"100", rb:"75", ga:"100", gb:"75", ba:"100", bb:"75", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 13)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 14)) {
myColorTransform = {ra:"100", rb:"50", ga:"100", gb:"50", ba:"100", bb:"50", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 15)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 16)) {
myColorTransform = {ra:"100", rb:"25", ga:"100", gb:"25", ba:"100", bb:"25", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 17)) {
myColorTransform = {ra:"100", rb:"15", ga:"100", gb:"15", ba:"100", bb:"15", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 18)) {
myColorTransform = {ra:"100", rb:"10", ga:"100", gb:"10", ba:"100", bb:"10", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt == 19)) {
myColorTransform = {ra:"100", rb:"5", ga:"100", gb:"5", ba:"100", bb:"5", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dwt = dwt + 1;
} else if ((dw == "1") && (dwt >= 20)) {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
dw = "0";
dwt = 0;
}
if (life == 0) {
whov_mc.play();
life = -1;
}
};
Frame 7
stop();
this.onEnterFrame = function () {
};
Frame 8
stop();
this.onEnterFrame = function () {
};
Symbol 20 MovieClip Frame 1
stop();
Symbol 20 MovieClip Frame 2
stop();
Symbol 25 MovieClip Frame 1
stop();
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onPress = function () {
gotoAndStop (3);
};
this.onReleaseOutside = function () {
gotoAndStop (1);
};
this.onRelease = function () {
gotoAndStop (1);
_root.gotoAndStop(2);
};
this.onEnterFrame = function () {
an = an + 10;
ana = Math.sin((Math.PI/180) * an) * 100;
if (an >= 360) {
an = an - 360;
}
arr_mc._yscale = ana;
arr_mc._alpha = Math.abs(ana / 2) + 50;
if (ana > 0) {
arr_mc.gotoAndStop(1);
} else {
arr_mc.gotoAndStop(2);
}
};
Symbol 25 MovieClip Frame 2
stop();
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onPress = function () {
gotoAndStop (3);
};
this.onReleaseOutside = function () {
gotoAndStop (1);
};
this.onRelease = function () {
gotoAndStop (1);
_root.gotoAndStop(2);
};
this.onEnterFrame = function () {
an = an + 20;
ana = Math.sin((Math.PI/180) * an) * 100;
if (an >= 360) {
an = an - 360;
}
arr_mc._yscale = ana;
arr_mc._alpha = Math.abs(ana / 2) + 50;
if (ana > 0) {
arr_mc.gotoAndStop(1);
} else {
arr_mc.gotoAndStop(2);
}
};
Symbol 25 MovieClip Frame 3
stop();
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onPress = function () {
gotoAndStop (3);
};
this.onReleaseOutside = function () {
gotoAndStop (1);
};
this.onRelease = function () {
gotoAndStop (1);
_root.gotoAndStop(2);
};
this.onEnterFrame = function () {
an = 90;
ana = Math.sin((Math.PI/180) * an) * 100;
arr_mc._yscale = ana;
arr_mc._alpha = Math.abs(ana / 2) + 50;
if (ana > 0) {
arr_mc.gotoAndStop(1);
} else {
arr_mc.gotoAndStop(2);
}
};
Symbol 46 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);
_root.gotoAndStop(3);
};
Symbol 51 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);
_root.gotoAndStop(4);
};
Symbol 56 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);
_root.gotoAndStop(5);
};
Symbol 120 MovieClip Frame 6
stop();
Symbol 167 MovieClip Frame 44
_root.mm = "play";
Symbol 213 MovieClip Frame 47
_root.mm = "play";
Symbol 214 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
_parent.sp = "ok";
Symbol 218 MovieClip Frame 6
gotoAndStop (1);
_parent.sp = "ok";
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 237 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 () {
_root.lvl = "4";
gotoAndStop (1);
_root.gotoAndStop(6);
};
Symbol 238 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 () {
_root.lvl = "3";
gotoAndStop (1);
_root.gotoAndStop(6);
};
Symbol 239 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 () {
_root.lvl = "2";
gotoAndStop (1);
_root.gotoAndStop(6);
};
Symbol 241 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 () {
_root.lvl = "1";
gotoAndStop (1);
_root.gotoAndStop(6);
};
Symbol 308 MovieClip Frame 1
DUK_sound = new Sound();
DUK_sound.attachSound("DUK");
this.onEnterFrame = function () {
if ((_parent.lvl == "1") && (rt != "stop")) {
ran = random(300);
} else if ((_parent.lvl == "2") && (rt != "stop")) {
ran = random(150);
} else if ((_parent.lvl == "3") && (rt != "stop")) {
ran = random(50);
} else if ((_parent.lvl == "4") && (rt != "stop")) {
ran = random(10);
}
if (ran == 1) {
rt = "stop";
this._x = this._x + _parent.sc;
}
if (this._x < -100) {
rt = "play";
this._x = 700;
}
if (this.hitTest(_parent.ch_mc.ht_mc) && (hitb != "1")) {
hitb = "1";
_parent.dw = "1";
DUK_sound.start();
_root.mm = "dw2";
this._x = -1000;
} else if (!this.hitTest(_parent.ch_mc.ht_mc)) {
hitb = "0";
}
};
Symbol 322 MovieClip Frame 1
DUK_sound = new Sound();
DUK_sound.attachSound("DUK");
this._x = random(1500) + 600;
this._visible = 1;
this.onEnterFrame = function () {
if ((_parent.lvl == "1") && (rt != "stop")) {
ran = random(300);
} else if ((_parent.lvl == "2") && (rt != "stop")) {
ran = random(150);
} else if ((_parent.lvl == "3") && (rt != "stop")) {
ran = random(50);
} else if ((_parent.lvl == "4") && (rt != "stop")) {
ran = random(10);
}
if (ran == 1) {
rt = "stop";
this.play();
this._x = this._x + _parent.sc;
} else {
gotoAndStop (1);
}
if (this._x < -50) {
rt = "play";
}
if (this.hitTest(_parent.ch_mc.ht_mc) && (hitb != "1")) {
hitb = "1";
_parent.dw = "1";
DUK_sound.start();
_root.mm = "dw1";
this._visible = 0;
} else if (!this.hitTest(_parent.ch_mc.ht_mc)) {
hitb = "0";
}
};
Symbol 323 MovieClip Frame 1
DUK_sound = new Sound();
DUK_sound.attachSound("DUK");
this._x = random(1500) + 1000;
this._visible = 1;
this.onEnterFrame = function () {
if ((_parent.lvl == "1") && (rt != "stop")) {
ran = random(300);
} else if ((_parent.lvl == "2") && (rt != "stop")) {
ran = random(150);
} else if ((_parent.lvl == "3") && (rt != "stop")) {
ran = random(50);
} else if ((_parent.lvl == "4") && (rt != "stop")) {
ran = random(10);
}
if (ran == 1) {
rt = "stop";
this.play();
this._x = this._x + _parent.sc;
} else {
gotoAndStop (1);
}
if (this._x < -50) {
rt = "play";
}
if (this.hitTest(_parent.ch_mc.ht_mc) && (hitb != "1")) {
hitb = "1";
_parent.dw = "1";
DUK_sound.start();
_root.mm = "dw1";
this._visible = 0;
} else if (!this.hitTest(_parent.ch_mc.ht_mc)) {
hitb = "0";
}
};
Symbol 337 MovieClip Frame 1
DUK_sound = new Sound();
DUK_sound.attachSound("DUK");
this._x = random(1500) + 600;
this._visible = 1;
this.onEnterFrame = function () {
if ((_parent.lvl == "1") && (rt != "stop")) {
ran = random(300);
} else if ((_parent.lvl == "2") && (rt != "stop")) {
ran = random(150);
} else if ((_parent.lvl == "3") && (rt != "stop")) {
ran = random(50);
} else if ((_parent.lvl == "4") && (rt != "stop")) {
ran = random(10);
}
if (ran == 1) {
rt = "stop";
this.play();
this._x = this._x + _parent.sc;
} else {
gotoAndStop (1);
}
if (this._x < -50) {
rt = "play";
}
if (this.hitTest(_parent.ch_mc.ht_mc) && (hitb != "1")) {
hitb = "1";
_parent.dw = "1";
DUK_sound.start();
_root.mm = "dw1";
this._visible = 0;
} else if (!this.hitTest(_parent.ch_mc.ht_mc)) {
hitb = "0";
}
};
Symbol 341 MovieClip Frame 1
SE6_sound = new Sound();
SE6_sound.attachSound("SE6");
this._x = random(1500) + 500;
this.onEnterFrame = function () {
if (rt != "stop") {
ran = random(100);
}
if (ran == 1) {
rt = "stop";
this.play();
this._x = this._x + _parent.sc;
} else {
gotoAndStop (1);
}
if (this._x < -50) {
rt = "play";
}
if (this.hitTest(_parent.ch_mc)) {
this._x = -1000;
_parent.ha = _parent.ha + 1;
SE6_sound.start();
}
};
Symbol 345 MovieClip Frame 41
gotoAndPlay (1);
Symbol 346 MovieClip Frame 1
SE6_sound = new Sound();
SE6_sound.attachSound("SE6");
this._x = random(1500) + 500;
this.onEnterFrame = function () {
if (rt != "stop") {
ran = random(300);
}
if (ran == 1) {
rt = "stop";
this.play();
this._x = this._x + _parent.sc;
} else {
gotoAndStop (1);
}
if (this._x < -50) {
rt = "play";
}
if (this.hitTest(_parent.ch_mc)) {
this._x = -1000;
_parent.um = _parent.um + 1;
SE6_sound.start();
}
};
Symbol 358 MovieClip Frame 1
if (_parent.life == 0) {
gotoAndStop (6);
} else if (_parent.life == 1) {
gotoAndStop (5);
} else if (_parent.life == 2) {
gotoAndStop (4);
} else if (_parent.life == 3) {
gotoAndStop (3);
} else if (_parent.life == 4) {
gotoAndStop (2);
} else if (_parent.life == 5) {
gotoAndStop (1);
} else {
gotoAndStop (6);
}
this.onEnterFrame = function () {
if (_parent.life == 0) {
gotoAndStop (6);
} else if (_parent.life == 1) {
gotoAndStop (5);
} else if (_parent.life == 2) {
gotoAndStop (4);
} else if (_parent.life == 3) {
gotoAndStop (3);
} else if (_parent.life == 4) {
gotoAndStop (2);
} else if (_parent.life == 5) {
gotoAndStop (1);
} else {
gotoAndStop (6);
}
};
Symbol 370 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 1
if (_parent.um == 0) {
gotoAndStop (1);
} else if (_parent.um == 1) {
gotoAndStop (2);
} else if (_parent.um == 2) {
gotoAndStop (3);
} else if (_parent.um == 3) {
gotoAndStop (4);
} else if (_parent.um == 4) {
gotoAndStop (5);
} else if (_parent.um == 5) {
gotoAndStop (6);
} else if (_parent.um == 6) {
gotoAndStop (7);
} else if (_parent.um == 7) {
gotoAndStop (8);
} else if (_parent.um == 8) {
gotoAndStop (9);
} else {
gotoAndStop (10);
}
this.onEnterFrame = function () {
if (_parent.um == 0) {
gotoAndStop (1);
} else if (_parent.um == 1) {
gotoAndStop (2);
} else if (_parent.um == 2) {
gotoAndStop (3);
} else if (_parent.um == 3) {
gotoAndStop (4);
} else if (_parent.um == 4) {
gotoAndStop (5);
} else if (_parent.um == 5) {
gotoAndStop (6);
} else if (_parent.um == 6) {
gotoAndStop (7);
} else if (_parent.um == 7) {
gotoAndStop (8);
} else if (_parent.um == 8) {
gotoAndStop (9);
} else {
gotoAndStop (10);
}
};
Symbol 392 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 3
_parent.bgm_sound.setVolume(90);
Symbol 393 MovieClip Frame 4
_parent.bgm_sound.setVolume(80);
Symbol 393 MovieClip Frame 5
_parent.bgm_sound.setVolume(70);
Symbol 393 MovieClip Frame 6
_parent.bgm_sound.setVolume(60);
Symbol 393 MovieClip Frame 7
_parent.bgm_sound.setVolume(50);
Symbol 393 MovieClip Frame 8
_parent.bgm_sound.setVolume(40);
Symbol 393 MovieClip Frame 9
_parent.bgm_sound.setVolume(30);
Symbol 393 MovieClip Frame 10
_parent.bgm_sound.setVolume(20);
Symbol 393 MovieClip Frame 11
_parent.bgm_sound.setVolume(10);
Symbol 393 MovieClip Frame 12
_parent.bgm_sound.setVolume(0);
Symbol 393 MovieClip Frame 17
_parent.mm = "stop";
Symbol 393 MovieClip Frame 20
stop();
_parent.gotoAndStop(8);
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 6
stopAllSounds();
Symbol 395 MovieClip Frame 17
_parent.mm = "stop";
Symbol 395 MovieClip Frame 30
stop();
_parent.gotoAndStop(7);
Symbol 396 MovieClip Frame 1
stop();
_parent.sp = "ok";
Symbol 396 MovieClip Frame 2
_parent.en01_mc._x = -1000;
_parent.en11_mc._x = -1000;
_parent.en12_mc._x = -1000;
_parent.en13_mc._x = -1000;
_parent.en14_mc._x = -1000;
_parent.en15_mc._x = -1000;
_parent.en21_mc._x = -1000;
_parent.en22_mc._x = -1000;
_parent.en23_mc._x = -1000;
_parent.en24_mc._x = -1000;
_parent.en25_mc._x = -1000;
_parent.en31_mc._x = -1000;
_parent.en32_mc._x = -1000;
_parent.en33_mc._x = -1000;
_parent.en34_mc._x = -1000;
_parent.en35_mc._x = -1000;
Symbol 396 MovieClip Frame 6
gotoAndStop (1);
_parent.sp = "ok";
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 2
stop();
Symbol 414 MovieClip Frame 3
stop();
Symbol 414 MovieClip Frame 4
stop();
Symbol 414 MovieClip Frame 5
stop();
Symbol 414 MovieClip Frame 6
stop();
Symbol 414 MovieClip Frame 7
stop();
Symbol 414 MovieClip Frame 8
stop();
Symbol 414 MovieClip Frame 9
stop();
Symbol 414 MovieClip Frame 10
stop();
Symbol 414 MovieClip Frame 11
stop();
Symbol 414 MovieClip Frame 12
stop();
Symbol 419 MovieClip Frame 1
this.onPress = function () {
_parent._parent.gotoAndStop(5);
};
Symbol 422 MovieClip Frame 1
this.onPress = function () {
_parent._parent.gotoAndStop(5);
};
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 3
stop();
Symbol 427 MovieClip Frame 4
stop();
Symbol 431 MovieClip Frame 1
stop();
this.onPress = function () {
_root.reconnum = 0;
gotoAndStop (2);
};
Symbol 431 MovieClip Frame 2
stop();
this_recontime = 0;
cmessage = "";
sendVars = new LoadVars();
sendVars.error_flashid = "runwang";
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(106);
} else if (cmessage == "success") {
_parent.gotoAndStop(111);
} else {
this_recontime = this_recontime + 1;
}
} else {
_root.reconnum = _root.reconnum + 1;
gotoAndStop (3);
}
};
Symbol 431 MovieClip Frame 3
stop();
if (_root.reconnum < 2) {
gotoAndStop (2);
} else {
_parent.gotoAndStop(110);
}
this.onEnterFrame = function () {
};
Symbol 435 MovieClip Frame 1
stop();
this.onPress = function () {
_root.gotoAndStop(1);
};
Symbol 438 MovieClip Frame 101
stop();
if (_root.ttp > _root.pcode) {
instsco = _root.ttp;
sendVars = new LoadVars();
sendVars.gameid = _root.gameid;
sendVars.code = _root.code;
sendVars.sendAndLoad(_root.surl, sendVars, "POST");
gotoAndStop (102);
} else {
gotoAndStop (105);
}
this.onEnterFrame = function () {
};
Symbol 438 MovieClip Frame 102
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 (103);
} else if (rmessage == "nogame") {
_root.reconnum = 0;
_root.error_part = "nogame";
_root.error_code1 = _root.code;
_root.error_code2 = "none";
gotoAndStop (108);
} else if (message_time > 500) {
_root.error_code1 = _root.code;
_root.error_code2 = "none";
_root.error_part = "noconnection";
gotoAndStop (107);
} else {
message_time = message_time + 1;
}
};
Symbol 438 MovieClip Frame 103
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 (106);
} else if (smessage == "nogame") {
_root.reconnum = 0;
_root.error_part = "nogame";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "timeover") {
_root.reconnum = 0;
_root.error_part = "timeover";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "code_error") {
_root.reconnum = 0;
_root.error_part = "code_error";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "error") {
_root.reconnum = 0;
_root.error_part = "error";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "login") {
gotoAndStop (112);
} else if (message_time > 500) {
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
_root.error_part = "noconnection";
gotoAndStop (107);
} else {
message_time = message_time + 1;
}
};
Symbol 438 MovieClip Frame 104
stop();
Symbol 438 MovieClip Frame 105
stop();
this.onEnterFrame = function () {
};
Symbol 438 MovieClip Frame 106
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 438 MovieClip Frame 107
stop();
this.onEnterFrame = function () {
};
Symbol 438 MovieClip Frame 108
stop();
this_recontime = 0;
cmessage = "";
sendVars = new LoadVars();
sendVars.error_flashid = "runwang";
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 (106);
} else if (cmessage == "success") {
gotoAndStop (111);
} else {
this_recontime = this_recontime + 1;
}
} else {
_root.reconnum = _root.reconnum + 1;
gotoAndStop (109);
}
};
Symbol 438 MovieClip Frame 109
stop();
if (_root.reconnum < 2) {
gotoAndStop (108);
} else {
gotoAndStop (110);
}
this.onEnterFrame = function () {
};
Symbol 438 MovieClip Frame 110
stop();
this.onEnterFrame = function () {
};
Symbol 438 MovieClip Frame 111
stop();
this.onEnterFrame = function () {
};
Symbol 438 MovieClip Frame 112
stop();
this.onEnterFrame = function () {
};
Symbol 507 MovieClip Frame 1
if (_parent._parent.timep > 1500) {
gotoAndStop (1);
_root.cb = 3200;
} else if ((_parent._parent.timep <= 1500) && (_parent._parent.timep > 1200)) {
gotoAndStop (2);
_root.cb = 1600;
} else if ((_parent._parent.timep <= 1200) && (_parent._parent.timep > 900)) {
gotoAndStop (3);
_root.cb = 800;
} else if ((_parent._parent.timep <= 900) && (_parent._parent.timep > 750)) {
gotoAndStop (4);
_root.cb = 400;
} else if ((_parent._parent.timep <= 750) && (_parent._parent.timep > 600)) {
gotoAndStop (5);
_root.cb = 200;
} else if ((_parent._parent.timep <= 600) && (_parent._parent.timep > 450)) {
gotoAndStop (6);
_root.cb = 100;
} else if ((_parent._parent.timep <= 450) && (_parent._parent.timep > 300)) {
gotoAndStop (7);
_root.cb = 50;
} else if (_parent._parent.timep <= 300) {
gotoAndStop (8);
_root.cb = 0;
}
Symbol 508 MovieClip Frame 6
_parent.bgm_sound.stop();
end_sound = new Sound();
end_sound.attachSound("end");
end_sound.setVolume(10);
end_sound.start(0, 9999);
Symbol 508 MovieClip Frame 8
end_sound.setVolume(20);
Symbol 508 MovieClip Frame 10
end_sound.setVolume(30);
Symbol 508 MovieClip Frame 12
end_sound.setVolume(40);
Symbol 508 MovieClip Frame 14
end_sound.setVolume(50);
Symbol 508 MovieClip Frame 16
end_sound.setVolume(60);
Symbol 508 MovieClip Frame 18
end_sound.setVolume(70);
Symbol 508 MovieClip Frame 20
end_sound.setVolume(80);
Symbol 508 MovieClip Frame 22
end_sound.setVolume(90);
Symbol 508 MovieClip Frame 24
end_sound.setVolume(100);
Symbol 508 MovieClip Frame 56
stop();
Symbol 517 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 544 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 59
if (_parent.timep >= 1000) {
pt1 = substring(_parent.timep, 1, 1);
pt1_mc.gotoAndStop(int(pt1) + 1);
pt2 = substring(_parent.timep, 2, 1);
pt2_mc.gotoAndStop(int(pt2) + 1);
pt3 = substring(_parent.timep, 3, 1);
pt3_mc.gotoAndStop(int(pt3) + 1);
pt4 = substring(_parent.timep, 4, 1);
pt4_mc.gotoAndStop(int(pt4) + 1);
} else if ((_parent.timep < 1000) && (_parent.timep >= 100)) {
pt1_mc.gotoAndStop(11);
pt2 = substring(_parent.timep, 1, 1);
pt2_mc.gotoAndStop(int(pt2) + 1);
pt3 = substring(_parent.timep, 2, 1);
pt3_mc.gotoAndStop(int(pt3) + 1);
pt4 = substring(_parent.timep, 3, 1);
pt4_mc.gotoAndStop(int(pt4) + 1);
} else if ((_parent.timep < 100) && (_parent.timep >= 10)) {
pt1_mc.gotoAndStop(11);
pt2_mc.gotoAndStop(11);
pt3 = substring(_parent.timep, 1, 1);
pt3_mc.gotoAndStop(int(pt3) + 1);
pt4 = substring(_parent.timep, 2, 1);
pt4_mc.gotoAndStop(int(pt4) + 1);
} else if ((_parent.timep < 10) && (_parent.timep >= 0)) {
pt1_mc.gotoAndStop(11);
pt2_mc.gotoAndStop(11);
pt3_mc.gotoAndStop(11);
pt4 = substring(_parent.timep, 1, 1);
pt4_mc.gotoAndStop(int(pt4) + 1);
}
Symbol 566 MovieClip Frame 64
if (_parent.life == 5) {
pl2_mc.gotoAndStop(3);
pl3_mc.gotoAndStop(6);
pl4_mc.gotoAndStop(1);
life = 250;
} else if (_parent.life == 4) {
pl2_mc.gotoAndStop(3);
pl3_mc.gotoAndStop(1);
pl4_mc.gotoAndStop(1);
life = 200;
} else if (_parent.life == 3) {
pl2_mc.gotoAndStop(2);
pl3_mc.gotoAndStop(6);
pl4_mc.gotoAndStop(1);
life = 150;
} else if (_parent.life == 2) {
pl2_mc.gotoAndStop(2);
pl3_mc.gotoAndStop(1);
pl4_mc.gotoAndStop(1);
life = 100;
} else if (_parent.life == 1) {
pl2_mc.gotoAndStop(11);
pl3_mc.gotoAndStop(6);
pl4_mc.gotoAndStop(1);
life = 50;
} else if (_parent.life == 0) {
pl2_mc.gotoAndStop(11);
pl3_mc.gotoAndStop(11);
pl4_mc.gotoAndStop(1);
life = 0;
}
Symbol 566 MovieClip Frame 69
if ((_parent.ha < 100) && (_parent.ha >= 10)) {
ph2 = substring(_parent.ha, 1, 1);
ph2_mc.gotoAndStop(int(ph2) + 1);
ph3 = substring(_parent.ha, 2, 1);
ph3_mc.gotoAndStop(int(ph3) + 1);
ph4_mc.gotoAndStop(1);
} else if ((_parent.ha < 10) && (_parent.ha >= 0)) {
ph2_mc.gotoAndStop(11);
ph3 = substring(_parent.ha, 1, 1);
ph3_mc.gotoAndStop(int(ph3) + 1);
ph4_mc.gotoAndStop(1);
}
ha = _parent.ha * 10;
Symbol 566 MovieClip Frame 74
if ((_parent.um < 100) && (_parent.um >= 10)) {
pu2 = substring(_parent.um, 1, 1);
pu2_mc.gotoAndStop(int(pu2) + 1);
pu3 = substring(_parent.um, 2, 1);
pu3_mc.gotoAndStop(int(pu3) + 1);
pu4_mc.gotoAndStop(1);
} else if ((_parent.um < 10) && (_parent.um >= 0)) {
pu2_mc.gotoAndStop(11);
pu3 = substring(_parent.um, 1, 1);
pu3_mc.gotoAndStop(int(pu3) + 1);
pu4_mc.gotoAndStop(1);
}
um = _parent.um * 10;
Symbol 566 MovieClip Frame 79
if (_root.cb == 3200) {
pc1_mc.gotoAndStop(4);
pc2_mc.gotoAndStop(3);
pc3_mc.gotoAndStop(1);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(1);
} else if (_root.cb == 1600) {
pc1_mc.gotoAndStop(2);
pc2_mc.gotoAndStop(7);
pc3_mc.gotoAndStop(1);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(2);
} else if (_root.cb == 800) {
pc1_mc.gotoAndStop(11);
pc2_mc.gotoAndStop(9);
pc3_mc.gotoAndStop(1);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(3);
} else if (_root.cb == 400) {
pc1_mc.gotoAndStop(11);
pc2_mc.gotoAndStop(5);
pc3_mc.gotoAndStop(1);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(4);
} else if (_root.cb == 200) {
pc1_mc.gotoAndStop(11);
pc2_mc.gotoAndStop(3);
pc3_mc.gotoAndStop(1);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(5);
} else if (_root.cb == 100) {
pc1_mc.gotoAndStop(11);
pc2_mc.gotoAndStop(2);
pc3_mc.gotoAndStop(1);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(6);
} else if (_root.cb == 50) {
pc1_mc.gotoAndStop(11);
pc2_mc.gotoAndStop(11);
pc3_mc.gotoAndStop(6);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(7);
} else if (_root.cb <= 0) {
pc1_mc.gotoAndStop(11);
pc2_mc.gotoAndStop(11);
pc3_mc.gotoAndStop(11);
pc4_mc.gotoAndStop(1);
chb_mc.gotoAndStop(8);
}
Symbol 566 MovieClip Frame 89
if (_root.lvl == 1) {
lvb_mc.gotoAndStop(1);
_root.ttp = (((_parent.timep + life) + ha) + um) + _root.cb;
} else if (_root.lvl == 2) {
lvb_mc.gotoAndStop(2);
_root.ttp = ((((_parent.timep + life) + ha) + um) + _root.cb) * 2;
} else if (_root.lvl == 3) {
lvb_mc.gotoAndStop(3);
_root.ttp = ((((_parent.timep + life) + ha) + um) + _root.cb) * 3;
} else if (_root.lvl == 4) {
lvb_mc.gotoAndStop(4);
_root.ttp = ((((_parent.timep + life) + ha) + um) + _root.cb) * 4;
}
if (_root.ttp >= 10000) {
tt0 = substring(_root.ttp, 1, 1);
tt0_mc.gotoAndStop(int(tt0) + 1);
tt1 = substring(_root.ttp, 2, 1);
tt1_mc.gotoAndStop(int(tt1) + 1);
tt2 = substring(_root.ttp, 3, 1);
tt2_mc.gotoAndStop(int(tt2) + 1);
tt3 = substring(_root.ttp, 4, 1);
tt3_mc.gotoAndStop(int(tt3) + 1);
tt4 = substring(_root.ttp, 5, 1);
tt4_mc.gotoAndStop(int(tt4) + 1);
} else if ((_root.ttp < 10000) && (_root.ttp >= 1000)) {
tt0_mc.gotoAndStop(11);
tt1 = substring(_root.ttp, 1, 1);
tt1_mc.gotoAndStop(int(tt1) + 1);
tt2 = substring(_root.ttp, 2, 1);
tt2_mc.gotoAndStop(int(tt2) + 1);
tt3 = substring(_root.ttp, 3, 1);
tt3_mc.gotoAndStop(int(tt3) + 1);
tt4 = substring(_root.ttp, 4, 1);
tt4_mc.gotoAndStop(int(tt4) + 1);
} else if ((_root.ttp < 1000) && (_root.ttp >= 100)) {
tt0_mc.gotoAndStop(11);
tt1_mc.gotoAndStop(11);
tt2 = substring(_root.ttp, 1, 1);
tt2_mc.gotoAndStop(int(tt2) + 1);
tt3 = substring(_root.ttp, 2, 1);
tt3_mc.gotoAndStop(int(tt3) + 1);
tt4 = substring(_root.ttp, 3, 1);
tt4_mc.gotoAndStop(int(tt4) + 1);
} else if ((_root.ttp < 100) && (_root.ttp >= 10)) {
tt0_mc.gotoAndStop(11);
tt1_mc.gotoAndStop(11);
tt2_mc.gotoAndStop(11);
tt3 = substring(_root.ttp, 1, 1);
tt3_mc.gotoAndStop(int(tt3) + 1);
tt4 = substring(_root.ttp, 2, 1);
tt4_mc.gotoAndStop(int(tt4) + 1);
} else if ((_root.ttp < 10) && (_root.ttp >= 0)) {
tt0_mc.gotoAndStop(11);
tt1_mc.gotoAndStop(11);
tt2_mc.gotoAndStop(11);
tt3_mc.gotoAndStop(11);
tt4 = substring(_root.ttp, 1, 1);
tt4_mc.gotoAndStop(int(tt4) + 1);
}
Symbol 566 MovieClip Frame 101
stop();
if (_root.ttp > _root.pcode) {
instsco = _root.ttp;
sendVars = new LoadVars();
sendVars.gameid = _root.gameid;
sendVars.code = _root.code;
sendVars.sendAndLoad(_root.surl, sendVars, "POST");
gotoAndStop (102);
} else {
gotoAndStop (105);
}
this.onEnterFrame = function () {
};
Symbol 566 MovieClip Frame 102
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 (103);
} else if (rmessage == "nogame") {
_root.reconnum = 0;
_root.error_part = "nogame";
_root.error_code1 = _root.code;
_root.error_code2 = "none";
gotoAndStop (108);
} else if (message_time > 500) {
_root.error_code1 = _root.code;
_root.error_code2 = "none";
_root.error_part = "noconnection";
gotoAndStop (107);
} else {
message_time = message_time + 1;
}
};
Symbol 566 MovieClip Frame 103
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 (106);
} else if (smessage == "nogame") {
_root.reconnum = 0;
_root.error_part = "nogame";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "timeover") {
_root.reconnum = 0;
_root.error_part = "timeover";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "code_error") {
_root.reconnum = 0;
_root.error_part = "code_error";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "error") {
_root.reconnum = 0;
_root.error_part = "error";
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
gotoAndStop (108);
} else if (smessage == "login") {
gotoAndStop (112);
} else if (message_time > 500) {
_root.error_code1 = _root.code;
_root.error_code2 = mySc;
_root.error_part = "noconnection";
gotoAndStop (107);
} else {
message_time = message_time + 1;
}
};
Symbol 566 MovieClip Frame 104
stop();
Symbol 566 MovieClip Frame 105
stop();
this.onEnterFrame = function () {
};
Symbol 566 MovieClip Frame 106
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 566 MovieClip Frame 107
stop();
this.onEnterFrame = function () {
};
Symbol 566 MovieClip Frame 108
stop();
this_recontime = 0;
cmessage = "";
sendVars = new LoadVars();
sendVars.error_flashid = "runwang";
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 (106);
} else if (cmessage == "success") {
gotoAndStop (111);
} else {
this_recontime = this_recontime + 1;
}
} else {
_root.reconnum = _root.reconnum + 1;
gotoAndStop (109);
}
};
Symbol 566 MovieClip Frame 109
stop();
if (_root.reconnum < 2) {
gotoAndStop (108);
} else {
gotoAndStop (110);
}
this.onEnterFrame = function () {
};
Symbol 566 MovieClip Frame 110
stop();
this.onEnterFrame = function () {
};
Symbol 566 MovieClip Frame 111
stop();
this.onEnterFrame = function () {
};
Symbol 566 MovieClip Frame 112
stop();
this.onEnterFrame = function () {
};