Frame 1
function sendScore() {
CloseGame(r);
}
function urlChk() {
var _local1 = 0;
while (_local1 < (_url.length - 10)) {
if ((_url.substr(_local1, 16) == "cyworld.nate.com") || (_url.substr(_local1, 11) == "cyworld.com")) {
return(1);
}
_local1++;
}
return(0);
}
Loading = function () {
var _local1 = this;
_local1.wid = _local1.loadingbar.loadingbar._width;
_local1.per = _local1._parent.getBytesLoaded() / _local1._parent.getBytesTotal();
_local1.loadingbar.loadingbar._x = ((-1 * _local1.wid) + 1) + (_local1.per * _local1.wid);
trace(_local1.loadingbar.loadingbar._x);
_local1.percent = Math.floor(_local1.per * 100) + " %";
if (_local1.per >= 1) {
_local1.onEnterFrame = null;
delete _local1.onEnterFrame;
_local1.gotoAndPlay("loading complete");
}
};
loadingMovie.onEnterFrame = Loading;
stopAllSounds();
stop();
function auDebut() {
score = 0;
scoreString = tempSecureArray[score];
rScore = tempSecureArray[0];
}
function enclosure(num) {
if (comparable(score) != rScore) {
modify();
}
score = score + num;
rest0 = score;
rScore = comparable(rest0);
skin.scoreM.scoreView(score);
}
function comparable(rest0) {
var _local1 = this;
scoreString = "";
var rest0String = String(rest0);
var num = rest0String.length;
var _local2 = num;
while (_local2 >= 1) {
_local1["di" + _local2] = 1;
_local1["rest" + _local2] = 0;
_local1["mok" + _local2] = 0;
_local2--;
}
if (num != 0) {
_local2 = num;
while (_local2 >= 1) {
var _local3 = 1;
while (_local3 < _local2) {
_local1["di" + _local2] = _local1["di" + _local2] * 10;
_local3++;
}
_local2--;
}
_local2 = 0;
while (_local2 < num) {
_local1["rest" + (_local2 + 1)] = _local1["rest" + _local2] % _local1["di" + (num - _local2)];
_local1["mok" + (_local2 + 1)] = (_local1["rest" + _local2] - _local1["rest" + (_local2 + 1)]) / _local1["di" + (num - _local2)];
scoreString = scoreString.concat(tempSecureArray[_local1["mok" + (_local2 + 1)]]);
_local2++;
}
}
return(scoreString);
}
function modify() {
score = convertStringToNumber(rScore);
return(score);
}
function convertStringToNumber(rScore) {
var rScoreArray = [];
var rScoreNumber = 0;
var _local2 = rScore.length;
var _local3 = 0;
while (_local3 < _local2) {
rScoreArray[_local3] = rScore.slice(_local3, _local3 + 1);
_local3++;
}
_local3 = 0;
while (_local3 < 10) {
var _local1 = 0;
while (_local1 < _local2) {
if (tempSecureArray[_local3] == rScoreArray[_local1]) {
_root["mok" + (_local1 + 1)] = _local3;
}
_local1++;
}
_local3++;
}
_local3 = _local2;
while (_local3 >= 1) {
this["di" + _local3] = 1;
_local3--;
}
if (_local2 != 0) {
_local3 = _local2;
while (_local3 >= 1) {
var _local1 = 1;
while (_local1 < _local3) {
this["di" + _local3] = this["di" + _local3] * 10;
_local1++;
}
_local3--;
}
}
_local3 = 0;
while (_local3 < _local2) {
rScoreNumber = rScoreNumber + (_root["mok" + (_local3 + 1)] * _root["di" + (_local2 - _local3)]);
_local3++;
}
return(rScoreNumber);
}
var tempSecureArray = ["j", "e", "z", "k", "c", "y", "q", "n", "i", "b"];
Frame 9
arrows = 5;
function init() {
var _local2 = this;
var _local1 = 0;
while (_local1 < 10) {
_local2["arrow" + _local1].removeMovieClip();
_local1++;
}
}
auDebut();
gameover = 0;
failedM.removeMovieClip();
character.removeMovieClip();
gOver.removeMovieClip();
skin.removeMovieClip();
_root.sndvolume.setVolume(100);
_global.pause = 0;
_root.pauseReady = 0;
init();
Frame 14
howtomsg.htmlText = "<font color = '#0099FF'> <b>\uD65C\uC3D8\uAE30</b></font><font color = '#666666'>\n\\\uBC95 \uD559\uAD50 \uD65C\uC3D8\uAE30 \uB300\uD68C\uC5D0 \uCD9C\uC804\uD55C \uD53C\uD540. \uC5EC\uB7EC\uBD84\uC740 \uD53C\uD540\uC774 \uB418\uC5B4 \uB192\uC740 \uC810\uC218\uB97C \uD68D\uB4DD\uD574\uC57C \uD569\uB2C8\uB2E4.\n\uB9C8\uC6B0\uC2A4 \uC67C\uCABD\uBC84\uD2BC\uC744 \uB204\uB974\uACE0 \uC788\uC73C\uBA74 \uD654\uC0B4\uC758 \uB192\uC774 \uAC8C\uC774\uC9C0\uAC00 \uCC28\uACE0 \uC774 \uBC84\uD2BC\uC744 \uB5BC\uBA74 \uD654\uC0B4\uC744 \uC3D8\uAC8C \uB429\uB2C8\uB2E4. \uBC14\uB78C\uACFC \uB3C4\uB974\uB808\uC758 \uAC00\uC18D\uB3C4\uB97C \uACC4\uC0B0\uD574\uC11C 10\uC810 \uB9CC\uC810\uC744 \uB178\uB824 \uBD05\uC2DC\uB2E4.\n\n</font><font color='#0099FF'>\n\uC870\uC791\uD0A4\n</font><font color='#666666'>\uD654\uC0B4\uC3D8\uAE30 : \uB9C8\uC6B0\uC2A4 \uC67C\uCABD\uBC84\uD2BC\n</font> ";
Instance of Symbol 157 MovieClip in Frame 14
on (release) {
this._parent.howtomsg.scroll--;
}
Instance of Symbol 160 MovieClip in Frame 14
on (release) {
this._parent.howtomsg.scroll++;
}
Instance of Symbol 163 MovieClip in Frame 14
onClipEvent (load) {
if (this._parent.howtomsg.maxscroll == 1) {
this._visible = 0;
}
this._y = 75;
this.y1 = 75;
this.y2 = 208;
txt = this._parent.howtomsg;
this.onEnterFrame = function () {
var _local1 = this;
_local1._x = 222.5;
_local1._y = _local1.y1 + ((_local1.y2 - _local1.y1) * ((txt.scroll - 1) / (txt.maxscroll - 1)));
};
}
onClipEvent (mouseDown) {
if (this.hitTest(this._parent._xmouse, this._parent._ymouse)) {
this.startDrag(0, 222.5, this.y1, 222.5, this.y2);
this.onEnterFrame = function () {
var _local1 = this;
_local1._x = 222.5;
txt.scroll = txt.maxscroll * ((_local1._y - _local1.y1) / (_local1.y2 - _local1.y1));
};
}
}
onClipEvent (mouseUp) {
this.onEnterFrame = function () {
var _local1 = this;
_local1._x = 222.5;
_local1._y = _local1.y1 + ((_local1.y2 - _local1.y1) * ((txt.scroll - 1) / (txt.maxscroll - 1)));
};
this.stopDrag();
}
Frame 21
sndVolume = new Sound();
num = 1;
wind = random(200) - 100;
wind = wind / 10;
trace(wind);
Instance of Symbol 174 MovieClip "referee" in Frame 21
onClipEvent (load) {
stop();
}
Instance of Symbol 54 MovieClip "paper" in Frame 21
/* no clip actions */
Instance of Symbol 190 MovieClip "flag" in Frame 21
onClipEvent (load) {
function sets() {
var _local1 = this;
trace("wind" + wind);
if (_parent.wind > 4) {
_local1.gotoAndStop(2);
_local1._parent.character.hair.gotoAndStop(2);
_local1._parent.paper.gotoAndStop(2);
} else if (_parent.wind < -4) {
_local1._parent.character.hair.gotoAndStop(4);
_local1.gotoAndStop(3);
_local1._parent.paper.gotoAndStop(3);
} else {
gotoAndStop (1);
_local1._parent.paper.gotoAndStop(1);
}
}
sets();
}
Instance of Symbol 196 MovieClip "arrow" in Frame 21
onClipEvent (load) {
function shot() {
var _local1 = this;
var _local2 = _parent;
_local1._visible = 1;
_local1._xscale = 100;
_local1._yscale = 100;
_local1.gotoAndPlay(2);
x0 = 200;
y0 = 250;
x1 = _local1._x;
y1 = _local1._y;
ytemp = y1;
x2 = 200;
y2 = 80;
z = 0;
y3 = 0;
tanQ = (y1 - y2) / (x1 - x2);
if (_local1._x > 250) {
xsc = 100;
} else if (_local1._x < 150) {
xsc = -100;
} else {
xsc = 0;
}
trace(tanQ);
y = y1;
_local1.onEnterFrame = function () {
var _local1 = this;
var _local2 = _parent;
if (!_global.pause) {
if (!stoping) {
play();
}
_local1._xscale = _local1._xscale - 2;
_local1._yscale = _local1._yscale - 2;
_y = ytemp;
z = z + 1;
_local1._y = _local1._y - (7 / (z / 2));
_local1._x = x1 - ((y1 - _local1._y) / tanQ);
tempx = _local1._x;
if (x1 > 0) {
temp = (tempx - x0) / (x1 - x0);
} else {
temp = (x0 - tempx) / (x0 - x1);
}
ytemp = _local1._y;
_local1._y = _local1._y - ys;
ys = ys - 3;
if (z == 20) {
_local1.onEnterFrame = null;
}
_local1._x = _local1._x + (_local1.xspeed + _local1._parent.wind);
if ((_local1._x >= (_local2.referee._x - 2)) && (_local1._x < (_local2.referee._x + 10))) {
if ((_local1._y > (_local2.referee._y - 25)) && (_local1._y < (_local2.referee._y + 25))) {
_local2.referee.gotoAndStop(3);
}
} else if ((_local1._x < (_local2.referee._x - 2)) && (_local1._x >= (_local2.referee._x - 10))) {
if ((_local1._y > (_local2.referee._y - 25)) && (_local1._y < (_local2.referee._y + 25))) {
_local2.referee.gotoAndStop(2);
}
}
} else {
stop();
}
};
}
}
Instance of Symbol 221 MovieClip "windNum" in Frame 21
onClipEvent (load) {
function windView() {
var _local1 = Math.abs(this._parent.wind * 10);
var _local2 = Math.floor(_local1 / 100);
var _local3 = Math.floor((_local1 % 100) / 10);
var w1 = (_local1 % 10);
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(_local3 + 1);
n3.gotoAndStop(_local2 + 1);
trace(_local1);
}
windView();
}
Instance of Symbol 225 MovieClip "windDirection" in Frame 21
onClipEvent (load) {
function dirView() {
if (_parent.wind >= 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
dirView();
}
Instance of Symbol 254 MovieClip "score1" in Frame 21
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
var _local2 = this;
_local2._parent.enclosure(Math.floor(_local1));
_local2._parent.scoreMovie.scoreView(_local2._parent.score);
_visible = 1;
var _local3 = Math.floor(_local1 / 10000);
var w4 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(w4 + 1);
n5.gotoAndStop(_local3 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Instance of Symbol 254 MovieClip "score2" in Frame 21
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
var _local2 = this;
_local2._parent.enclosure(Math.floor(_local1));
_local2._parent.scoreMovie.scoreView(_local2._parent.score);
_visible = 1;
var _local3 = Math.floor(_local1 / 10000);
var w4 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(w4 + 1);
n5.gotoAndStop(_local3 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Instance of Symbol 254 MovieClip "score3" in Frame 21
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
var _local2 = this;
_local2._parent.enclosure(Math.floor(_local1));
_local2._parent.scoreMovie.scoreView(_local2._parent.score);
_visible = 1;
var _local3 = Math.floor(_local1 / 10000);
var w4 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(w4 + 1);
n5.gotoAndStop(_local3 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Instance of Symbol 254 MovieClip "score4" in Frame 21
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
var _local2 = this;
_local2._parent.enclosure(Math.floor(_local1));
_local2._parent.scoreMovie.scoreView(_local2._parent.score);
_visible = 1;
var _local3 = Math.floor(_local1 / 10000);
var w4 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(w4 + 1);
n5.gotoAndStop(_local3 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Instance of Symbol 254 MovieClip "score5" in Frame 21
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
var _local2 = this;
_local2._parent.enclosure(Math.floor(_local1));
_local2._parent.scoreMovie.scoreView(_local2._parent.score);
_visible = 1;
var _local3 = Math.floor(_local1 / 10000);
var w4 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(w4 + 1);
n5.gotoAndStop(_local3 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Instance of Symbol 279 MovieClip "scoreMovie" in Frame 21
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
_visible = 1;
var _local2 = Math.floor(_local1 / 10000);
var _local3 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1._visible = 1;
n2._visible = 1;
n3._visible = 1;
n4._visible = 1;
n5._visible = 1;
comma._visible = 1;
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(_local3 + 1);
n5.gotoAndStop(_local2 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Instance of Symbol 289 MovieClip "markZoom" in Frame 21
onClipEvent (load) {
function View() {
var _local1 = this;
_local1.onEnterFrame = function () {
var _local1 = this;
if (!_global.pause) {
_local1.times++;
if (_local1.times == 30) {
_local1.times = 0;
_local1.zoomView();
_local1.onEnterFrame = null;
}
}
};
}
function zoomView() {
var _local3 = _parent;
this._visible = 1;
mark["m" + (_local3.num - 1)]._x = x * 5.32203389830508;
mark["m" + (_local3.num - 1)]._y = y * 5.32203389830508;
mark._x = -1 * mark["m" + (_local3.num - 1)]._x;
mark._y = -1 * mark["m" + (_local3.num - 1)]._y;
trace((x + "_") + mark["m" + (_local3.num - 1)]._x);
var _local2 = Math.sqrt((mark["m" + (_local3.num - 1)]._x * mark["m" + (_local3.num - 1)]._x) + (mark["m" + (_local3.num - 1)]._y * mark["m" + (_local3.num - 1)]._y));
var _local1 = 0;
if (_local2 < 12) {
baksu.start();
_local1 = 9000;
_local1 = _local1 + (1000 * ((12 - _local2) / 12));
} else if (_local2 < 29) {
baksu.start();
_local1 = 8000;
_local1 = _local1 + (1000 * ((29 - _local2) / 17));
} else if (_local2 < 47.5) {
baksu.start();
_local1 = 7000;
_local1 = _local1 + (1000 * ((47.5 - _local2) / 18.5));
} else if (_local2 < 64) {
baksu.start();
_local1 = 6000;
_local1 = _local1 + (1000 * ((64 - _local2) / 16.5));
} else if (_local2 < 79.5) {
baksu.start();
_local1 = 5000;
_local1 = _local1 + (1000 * ((79.5 - _local2) / 15.5));
} else if (_local2 < 93.5) {
yayoo.start();
_local1 = 4000;
_local1 = _local1 + (1000 * ((93.5 - _local2) / 14));
} else if (_local2 < 111.5) {
yayoo.start();
_local1 = 3000;
_local1 = _local1 + (1000 * ((111.5 - _local2) / 18));
} else if (_local2 < 127.5) {
yayoo.start();
_local1 = 2000;
_local1 = _local1 + (1000 * ((127.5 - _local2) / 16));
} else if (_local2 < 145.5) {
yayoo.start();
_local1 = 1000;
_local1 = _local1 + (1000 * ((145.5 - _local2) / 18));
} else if (_local2 < 168) {
yayoo.start();
_local1 = 0;
_local1 = _local1 + (1000 * ((168 - _local2) / 22.5));
} else {
yayoo.start();
}
scoreMovie.scoreView(_local1);
trace("\uC810\uC218" + _local1);
trace((y + "_") + mark["m" + (_local3.num - 1)]._y);
mark["m" + (_local3.num - 1)].play();
this._parent["score" + (_local3.num - 1)].scoreView(_local1);
}
baksu = new Sound();
baksu.attachSound("baksu");
yayoo = new Sound();
yayoo.attachSound("yayoo");
_visible = 0;
}
Instance of Symbol 358 MovieClip "skin" in Frame 21
onClipEvent (load) {
this.swapDepths(103);
}
Frame 49
stop();
Instance of Symbol 389 MovieClip "character" in Frame 49
onClipEvent (load) {
this.swapDepths(100);
this.i = 0;
this.xspeed = 5;
this.gigi2._visible = 0;
}
onClipEvent (mouseDown) {
if ((((!this.shot) && (!_parent.gameover)) && (!_global.pause)) && (!_parent.pauseReady)) {
this._parent.referee.gotoAndStop(1);
this.md = 1;
this.gotoAndPlay("pull");
}
}
onClipEvent (mouseUp) {
if ((this.md && (!_parent.gameover)) && (!_global.pause)) {
this._parent.arrow._x = this._x + 63;
this._parent.arrow._y = 150;
this._parent.arrow.x = ((this._parent.arrow._x - 200) * 2.5) / 200;
this._parent.arrow.xspeed = this.xspeed * 5;
this._parent.arrow.shot();
this._parent.arrow.ys = this.power * 5;
trace(this.power);
this.gotoAndStop("release");
this.md = 0;
this.shot = 1;
}
}
onClipEvent (enterFrame) {
if ((!_parent.gameover) && (!_global.pause)) {
this._x = this._x + this.xspeed;
this.i++;
if (this.i == 25) {
this.i = -25;
this.xspeed = this.xspeed * -1;
if (this.xspeed > 0) {
if (Math.abs(_parent.wind) < 4) {
this.hair.gotoAndStop(1);
}
this.gigi1._visible = 1;
this.gigi2._visible = 0;
} else {
if (Math.abs(_parent.wind) < 4) {
this.hair.gotoAndStop(3);
}
this.gigi1._visible = 0;
this.gigi2._visible = 1;
}
}
}
}
Instance of Symbol 279 MovieClip "scoreMovie" in Frame 49
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
_visible = 1;
var _local2 = Math.floor(_local1 / 10000);
var _local3 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1._visible = 1;
n2._visible = 1;
n3._visible = 1;
n4._visible = 1;
n5._visible = 1;
comma._visible = 1;
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(_local3 + 1);
n5.gotoAndStop(_local2 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
onClipEvent (enterFrame) {
if (_parent.gameover) {
this.i++;
if (((this.i % 4) == 0) && (this.i < 45)) {
this._visible = !this._visible;
}
if (this.i == 45) {
this._visible = 1;
this._parent.gotoAndStop("gameover");
}
}
}
Instance of Symbol 452 MovieClip "failedM" in Frame 59
onClipEvent (load) {
this.swapDepths(1978);
}
Frame 60
stopAllSounds();
failedM.play();
Symbol 13 MovieClip [pause] Frame 1
this.blackBoard.useHandCursor = false;
Symbol 28 MovieClip Frame 1
percent = "50 %";
Symbol 29 MovieClip Frame 1
percent = "50 %";
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 20
_parent.gotoAndStop("title");
Symbol 35 Button
on (release) {
if (!clicked) {
item1 = uItem1;
item2 = uItem2;
item3 = uItem3;
clicked = 1;
i = 0;
((snd_startBtn = new Sound())).attachSound("click2");
snd_startBtn.start();
_root.onEnterFrame = function () {
i++;
if (i == 2) {
delete i;
delete clicked;
_root.onEnterFrame = null;
_root.gotoAndPlay("ready");
}
};
}
}
Symbol 38 Button
on (release) {
if (!clicked) {
clicked = 1;
i = 0;
((snd_howBtn = new Sound())).attachSound("howsnd");
snd_howBtn.start();
_root.onEnterFrame = function () {
i++;
if (i == 3) {
itemOb.userTemp = 1;
delete i;
delete clicked;
_root.onEnterFrame = null;
_root.gotoAndStop("howto");
}
};
}
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 8
stop();
Instance of Symbol 108 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 113 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 118 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 128 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 133 MovieClip in Symbol 141 MovieClip Frame 25
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 118 MovieClip in Symbol 141 MovieClip Frame 29
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 123 MovieClip in Symbol 141 MovieClip Frame 31
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 128 MovieClip in Symbol 141 MovieClip Frame 33
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 54 MovieClip "paper" in Symbol 146 MovieClip Frame 1
/* no clip actions */
Symbol 190 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
stoping = 1;
_visible = 0;
this._parent.character.gotoAndStop(1);
yayoo = new Sound();
yayoo.attachSound("yayoo");
stop();
Instance of Symbol 103 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Symbol 196 MovieClip Frame 2
stoping = 0;
_visible = 1;
Instance of Symbol 108 MovieClip in Symbol 196 MovieClip Frame 4
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 118 MovieClip in Symbol 196 MovieClip Frame 6
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 113 MovieClip in Symbol 196 MovieClip Frame 8
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 123 MovieClip in Symbol 196 MovieClip Frame 10
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 128 MovieClip in Symbol 196 MovieClip Frame 12
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Instance of Symbol 133 MovieClip in Symbol 196 MovieClip Frame 14
onClipEvent (load) {
if (this._parent.xsc == 0) {
stop();
} else {
nextFrame();
this._xscale = this._parent.xsc;
}
}
Symbol 196 MovieClip Frame 16
trace((this._x + "_") + this._y);
this._xscale = 100;
this._yscale = 100;
this.onEnterFrame = null;
if (_y > 115) {
this.gotoAndStop("glass");
} else if ((_y > 50) && (_y < 115)) {
if ((_x > 175) && (_x < 235)) {
this._parent.mark.play();
this.gotoAndStop("ok");
} else {
if (_parent.num == 5) {
_parent.gameover = 1;
}
yayoo.start();
this._parent.num++;
_parent.character.shot = 0;
this._parent["score" + (_parent.num - 1)].scoreView(0);
this.gotoAndStop(1);
}
} else {
if (_parent.num == 5) {
_parent.gameover = 1;
}
yayoo.start();
this._parent.num++;
_parent.character.shot = 0;
this._parent["score" + (_parent.num - 1)].scoreView(0);
this.gotoAndStop(1);
}
Symbol 196 MovieClip Frame 17
stoping = 1;
this.duplicateMovieClip("arrow" + this._parent.num, this._parent.num);
this._parent["arrow" + this._parent.num].gotoAndStop("ok2");
this._parent["arrow" + this._parent.num]._visible = 1;
this._parent.num++;
Symbol 196 MovieClip Frame 18
stoping = 1;
_visible = 1;
this._parent.markZoom.x = this._x - 207;
this._parent.markZoom.y = this._y - 85;
this._parent.markZoom.view();
this._parent.character.gotoAndStop(1);
Symbol 196 MovieClip Frame 22
stoping = 1;
this.duplicateMovieClip("arrow" + this._parent.num, this._parent.num);
this._parent["arrow" + this._parent.num].gotoAndStop("glass2");
this._parent["arrow" + this._parent.num]._visible = 1;
this._parent.num++;
Symbol 196 MovieClip Frame 23
stoping = 0;
_visible = 1;
_parent.character.shot = 0;
if (_parent.num == 6) {
_parent.character.shot = 1;
}
this._parent.character.gotoAndStop(1);
this._parent["score" + (_parent.num - 1)].scoreView(0);
if ((this._x > (_parent.referee._x - 15)) && (this._x < (_parent.referee._x + 15))) {
_parent.referee.gotoAndStop(4);
}
play();
Symbol 196 MovieClip Frame 30
stoping = 1;
stop();
if (_parent.num == 6) {
_parent.gameover = 1;
_parent.character.shot = 1;
_parent.gotoAndStop("gameOver");
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
stop();
stoping = 1;
Symbol 284 MovieClip Frame 2
stoping = 0;
Symbol 284 MovieClip Frame 40
stop();
stoping = 1;
_parent._parent._parent.character.shot = 0;
_parent._parent._parent.referee.gotoAndStop(1);
_parent._parent._parent.wind = random(200) - 100;
_parent._parent._parent.wind = _parent._parent._parent.wind / 10;
_parent._parent._parent.windNum.windView();
_parent._parent._parent.flag.sets();
_parent._parent._parent.windDirection.dirView();
_parent._parent._visible = 0;
if (_parent._parent._parent.num == 6) {
_parent._parent._parent.gameover = 1;
}
Instance of Symbol 284 MovieClip "m1" in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.pause) {
stop();
} else if (!stoping) {
play();
}
}
Instance of Symbol 284 MovieClip "m2" in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.pause) {
stop();
} else if (!stoping) {
play();
}
}
Instance of Symbol 284 MovieClip "m3" in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.pause) {
stop();
} else if (!stoping) {
play();
}
}
Instance of Symbol 284 MovieClip "m4" in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.pause) {
stop();
} else if (!stoping) {
play();
}
}
Instance of Symbol 284 MovieClip "m5" in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.pause) {
stop();
} else if (!stoping) {
play();
}
}
Instance of Symbol 279 MovieClip "scoreMovie" in Symbol 289 MovieClip Frame 1
onClipEvent (load) {
function scoreView(s) {
var _local1 = s;
this._parent.scoreM.scoreView(_local1);
_visible = 1;
var _local2 = Math.floor(_local1 / 10000);
var _local3 = Math.floor((_local1 % 10000) / 1000);
var w3 = Math.floor((_local1 % 1000) / 100);
var w2 = Math.floor((_local1 % 100) / 10);
var w1 = Math.floor(_local1 % 10);
n1._visible = 1;
n2._visible = 1;
n3._visible = 1;
n4._visible = 1;
n5._visible = 1;
comma._visible = 1;
n1.gotoAndStop(w1 + 1);
n2.gotoAndStop(w2 + 1);
n3.gotoAndStop(w3 + 1);
n4.gotoAndStop(_local3 + 1);
n5.gotoAndStop(_local2 + 1);
if (_local1 < 10000) {
n5._visible = 0;
if (_local1 < 1000) {
n4._visible = 0;
comma._visible = 0;
if (_local1 < 100) {
n3._visible = 0;
if (_local1 < 10) {
n2._visible = 0;
}
}
}
}
}
_visible = 0;
}
Symbol 334 Button
on (release, keyPress "p") {
_global.pause = 1;
_root.sndVolume.setVolume(0);
_parent.pausing._visible = 1;
nextFrame();
}
on (rollOver) {
_root.pauseReady = 1;
}
on (rollOut) {
_root.pauseReady = 0;
}
Symbol 349 Button
on (release, keyPress "p") {
_global.pause = 0;
_root.sndVolume.setVolume(100);
_parent.pausing._visible = 0;
prevFrame();
}
Symbol 350 MovieClip Frame 1
this.stop();
Symbol 350 MovieClip Frame 2
this.stop();
Symbol 353 Button
on (release) {
if (!_global.pause) {
_root.sndvolume.setVolume(0);
nextFrame();
}
}
on (rollOver) {
_root.pauseReady = 1;
}
on (rollOut) {
_root.pauseReady = 0;
}
Symbol 356 Button
on (release) {
if (!_global.pause) {
_root.sndvolume.setVolume(100);
prevFrame();
}
}
on (rollOver) {
_root.pauseReady = 1;
}
on (rollOut) {
_root.pauseReady = 0;
}
Symbol 357 MovieClip Frame 1
stop();
Instance of Symbol 13 MovieClip [pause] "pausing" in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 329 MovieClip "scoreM" in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
function scoreView(score) {
var s8 = Math.floor((score % 100000000) / 10000000);
var s7 = Math.floor((score % 10000000) / 1000000);
var s6 = Math.floor((score % 1000000) / 100000);
var s5 = Math.floor((score % 100000) / 10000);
var s4 = Math.floor((score % 10000) / 1000);
var s3 = Math.floor((score % 1000) / 100);
var s2 = Math.floor((score % 100) / 10);
var s1 = Math.floor(score % 10);
i = 1;
while (i <= 8) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
i = 1;
while (i <= 8) {
this["n" + i].stop();
i++;
}
scoreView(this._parent.score);
}
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
if (_root.sndvolume.getVolume() > 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 389 MovieClip Frame 1
stop();
guage._visible = 0;
Symbol 389 MovieClip Frame 5
this.power = 1;
guage._visible = 1;
guage.guage._y = 65.3684210526316;
Symbol 389 MovieClip Frame 6
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 7
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 8
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 9
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 10
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 11
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 12
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 13
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 14
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 15
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 16
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 17
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 18
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 19
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 20
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 21
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 22
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
Symbol 389 MovieClip Frame 23
this.power++;
guage.guage._y = guage.guage._y - 3.63157894736842;
stop();
Symbol 389 MovieClip Frame 24
_parent.skin["a" + _parent.num]._visible = 0;
Symbol 447 Button
on (release) {
this._parent.gotoAndStop("title");
}
Symbol 451 Button
on (release) {
getURL ("http://kr.magic.kids.yahoo.com/", "_blank");
}
Symbol 452 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 452 MovieClip Frame 2
this._visible = 1;
msg = "\uAC8C\uC784 \uACB0\uACFC\uB97C \uC800\uC7A5\uC911\uC785\uB2C8\uB2E4.";
stop();
gameTitle = "\uD65C\uC3D8\uAE30";
starLimit = [30000, 40000, 45000];
starGift = [1, 3, 5];
starGiftName = [];
giftIsItem = 0;
FinalScoreView = function (score) {
var _local1 = this;
message = "\uB9C8\uBC95\uD559\uAD50 \uC544\uC2A4\uD2F0\uB12C\uC5D0\uC11C\n\uB354 \uB9CE\uC740 \uAC8C\uC784\uC744!!.";
gift = 0;
giftName = 0;
var sc = score.toString().split("");
endNum = sc.length;
var _local3 = 1;
while (_local3 < 11) {
_local1["n" + _local3].gotoAndStop(1);
_local3++;
}
_local3 = sc.length - 1;
var _local2 = 1;
while (_local3 >= 0) {
_local1["n" + _local2].token = Number(sc[_local3]) + 1;
_local1["n" + _local2].startAlert = 0;
_local1["n" + _local2].num = _local2;
_local1["n" + _local2].onEnterFrame = function () {
var _local1 = this;
if (_local1.startAlert) {
if (_local1.startAlert == 1) {
_local1.gotoAndPlay(_local1.token + 1);
_local1.startAlert = 2;
} else if (_local1._currentframe == _local1.token) {
_local1.stop();
_local1._parent["n" + (_local1.num + 1)].startAlert = 1;
_local1.onEnterFrame = null;
delete _local1.onEnterFrame;
if (_local1.num == endNum) {
SendScore(_parent.score, giftName, gift, giftIsItem);
}
}
}
};
_local3--;
_local2++;
}
};
SendScore = function (s, gn, gk, i) {
fs = s;
fg = g;
if (gn != 0) {
loadObj = new LoadVars();
loadObj.nUserKey = _parent.nUserKey;
loadObj.yid = _parent.yid;
loadObj.bGetItem = i;
loadObj.nGiftKey = gk;
loadObj.onLoad = function (success) {
if (success) {
nextFrame();
} else {
nextFrame();
}
};
} else {
nextFrame();
}
};
FinalScoreView(_parent.score);
n1.startAlert = 1;
Symbol 452 MovieClip Frame 3
_parent.score = 0;