Frame 1
var _mochiads_game_id = "95f7f2a11dd8024e";
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "true");
fscommand ("showmenu", "false");
onEnterFrame = function () {
if (Key.isDown(27)) {
fscommand ("quit");
}
};
if (getBytesLoaded() == getBytesTotal()) {
gotoAndPlay (3);
} else {
_root.Loading_Var = Math.floor((getBytesLoaded() / getBytesTotal()) * 100);
}
Instance of Symbol 7 MovieClip in Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.Loading_Var);
}
Frame 2
gotoAndPlay (1);
Frame 251
MovieClip.prototype.setCookie = function (c, n, v) {
var _local1 = SharedObject.getLocal(c);
_local1.data[n] = v;
};
MovieClip.prototype.getCookie = function (c, n) {
var _local1 = SharedObject.getLocal(c);
return(_local1.data[n]);
};
_root.SetData = function () {
_root.Win_var = (_root.Lose_var = (_root.Tie_var = 0));
};
_root.SaveData = function () {
_root.setCookie("Score", "Win", _root.Win_var);
_root.setCookie("Score", "Lose", _root.Lose_var);
_root.setCookie("Score", "Tie", _root.Tie_var);
};
_root.LoadData = function () {
_root.Win_var = _root.getCookie("Score", "Win");
_root.Lose_var = _root.getCookie("Score", "Lose");
_root.Tie_var = _root.getCookie("Score", "Tie");
};
if (_root.getCookie("Score", "Win") == null) {
_root.SetData();
_root.SaveData();
} else {
_root.LoadData();
}
Frame 252
stop();
Frame 253
stop();
_root.Layar_mc.gotoAndPlay(1);
Frame 254
stop();
_root.Layar_mc.gotoAndPlay(1);
Instance of Symbol 120 MovieClip in Frame 254
onClipEvent (enterFrame) {
this.TotalSquare_var = _root.TotalSquare_var;
this.Menit_var = _root.Menit_var;
this.Detik_var = _root.Detik_var;
this.Second_var = _root.Second_var;
this.Level_var = _root.Level_var;
if (_root.Level_var == 1) {
_root.Menit_var = 0;
_root.Detik_var = 13;
_root.Second_var = 0;
_root.TotalSquare_var = 13;
} else if (_root.Level_var == 2) {
_root.Menit_var = 0;
_root.Detik_var = 45;
_root.Second_var = 0;
_root.TotalSquare_var = 45;
} else if (_root.Level_var == 3) {
_root.Menit_var = 1;
_root.Detik_var = 25;
_root.Second_var = 0;
_root.TotalSquare_var = 85;
} else if (_root.Level_var == 4) {
_root.Menit_var = 2;
_root.Detik_var = 13;
_root.Second_var = 0;
_root.TotalSquare_var = 133;
} else if (_root.Level_var == 5) {
_root.Menit_var = 2;
_root.Detik_var = 13;
_root.Second_var = 0;
_root.TotalSquare_var = 189;
} else if (_root.Level_var == 6) {
} else if (_root.Level_var == 7) {
} else if (_root.Level_var == 8) {
} else if (_root.Level_var == 9) {
} else if (_root.Level_var == 10) {
} else if (_root.Level_var == 11) {
} else if (_root.Level_var == 12) {
} else if (_root.Level_var == 13) {
} else if (_root.Level_var == 14) {
} else if (_root.Level_var == 15) {
}
}
on (press) {
_root.play();
}
Frame 255
stop();
_root.Layar_mc.gotoAndPlay(1);
Instance of Symbol 131 MovieClip in Frame 255
on (press) {
_parent.gotoAndStop("Menu_lb");
}
on (keyPress "<Enter>") {
_parent.gotoAndStop("Menu_lb");
}
on (keyPress "<?#19>") {
_parent.gotoAndStop("Menu_lb");
}
Frame 256
_root.Speed_var = 8;
_root.GameOver_var = 0;
_root.EnemySpeed_var = 7;
_root.PlayerSpeed_var = 6;
_root.Control_var = 0;
_root.Layar_mc.gotoAndPlay(1);
Instance of Symbol 133 MovieClip in Frame 256
onClipEvent (enterFrame) {
if (this.hitTest(_root.Bola_mc)) {
_root.NilaiY_var = _root.Speed_var;
}
}
Instance of Symbol 133 MovieClip in Frame 256
onClipEvent (enterFrame) {
if (this.hitTest(_root.Bola_mc)) {
_root.NilaiY_var = -_root.Speed_var;
}
}
Instance of Symbol 179 MovieClip in Frame 256
onClipEvent (enterFrame) {
if (_root.Control_var == 1) {
_root.Detik_var = _root.Detik_var - 1;
if ((_root.Detik_var <= 0) and (_root.Menit_var > 0)) {
_root.Menit_var = _root.Menit_var - 1;
_root.Detik_var = 60;
}
if (((_root.Menit_var <= 0) and (_root.Detik_var <= 0)) and (_root.Second_var <= 0)) {
_root.Second_var = 0;
_root.Detik_var = 0;
_root.Menit_var = 0;
_root.Control_var = 0;
_root.GameOver_var = 1;
_root.Teks_mc.gotoAndPlay("TimeOver_lb");
}
}
}
Frame 257
stop();
_root.Layar_mc.gotoAndPlay(1);
Instance of Symbol 195 MovieClip "Bola_mc" in Frame 257
onClipEvent (load) {
if (_root.BallPosition_var == "Player1") {
_root.NilaiY_var = 0;
_root.NilaiX_var = -5;
} else if (_root.BallPosition_var == "Player2") {
_root.NilaiY_var = 0;
_root.NilaiX_var = 5;
}
}
onClipEvent (enterFrame) {
if (_root.Control_var == 1) {
this._rotation = this._rotation + ((_root.NilaiY_var + _root.NilaiX_var) * 2);
this._y = this._y + _root.NilaiY_var;
this._x = this._x + _root.NilaiX_var;
if (this._x > 610) {
_root.Control_var = 0;
_root.GoalPlayer1_var = _root.GoalPlayer1_var + 1;
_root.BallPosition_var = "Player2";
_root.Teks_mc.gotoAndPlay("Goal_lb");
}
if (this._x < 30) {
_root.Control_var = 0;
_root.GoalPlayer2_var = _root.GoalPlayer2_var + 1;
_root.BallPosition_var = "Player1";
_root.Teks_mc.gotoAndPlay("Goal_lb");
}
}
}
Instance of Symbol 215 MovieClip "Player1_mc" in Frame 257
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if ((_root.Control_var == 1) and (this.Kiper_mc._currentframe != 4)) {
if (this._y > 85) {
this._y = this._y - _root.PlayerSpeed_var;
this.Kiper_mc.gotoAndStop(2);
}
}
} else if (Key.isDown(40)) {
if ((_root.Control_var == 1) and (this.Kiper_mc._currentframe != 4)) {
if (this._y < 395) {
this._y = this._y + _root.PlayerSpeed_var;
this.Kiper_mc.gotoAndStop(3);
}
}
} else if (Key.isDown(32)) {
if ((_root.Control_var == 1) and (this.Kiper_mc._currentframe != 4)) {
this.Kiper_mc.gotoAndStop("Tendang_lb");
}
}
if (this.hitTest(_root.Bola_mc)) {
if (this.Kiper_mc._currentframe == 4) {
_root.NilaiX_var = _root.Speed_var + 10;
_root.Sounds_mc.gotoAndPlay(2);
} else {
_root.NilaiX_var = 8;
_root.Sounds_mc.gotoAndPlay(3);
}
if (this._y > _root.Bola_mc._y) {
_root.NilaiY_var = -((this._y - _root.Bola_mc._y) / 5);
}
if (this._y < _root.Bola_mc._y) {
_root.nilaiY_var = (_root.Bola_mc._y - this._y) / 5;
}
}
}
Instance of Symbol 215 MovieClip "Player2_mc" in Frame 257
onClipEvent (enterFrame) {
this.gotoAndStop(2);
if (_root.Control_var == 1) {
if (_root.NilaiX_var > 0) {
if ((this._y >= (_root.Bola_mc._y + _root.EnemySpeed_var)) and (this.Kiper_mc._currentframe != 4)) {
this._y = this._y - _root.EnemySpeed_var;
this.Kiper_mc.gotoAndStop("Atas_lb");
} else if ((this._y < (_root.Bola_mc._y - _root.EnemySpeed_var)) and (this.Kiper_mc._currentframe != 4)) {
this._y = this._y + _root.EnemySpeed_var;
this.Kiper_mc.gotoAndStop("Bawah_lb");
}
}
if (this.hitTest(_root.Bola_mc)) {
_root.NilaiX_var = -(_root.Speed_var + (random(5) + 5));
_root.NilaiY_var = -(random(20) - 10);
this.Kiper_mc.gotoAndStop("Tendang_lb");
_root.Sounds_mc.gotoAndPlay(2);
}
} else {
this.Kiper_mc.gotoAndStop(1);
}
}
Symbol 7 MovieClip Frame 100
stop();
Symbol 50 MovieClip Frame 1
onEnterFrame = function () {
if (Aktive_var != 1) {
X_var = random(10) + 2;
Y_var = random(10) + 5;
Rotation_var = random(25);
if (random(25) == 1) {
Aktive_var = 1;
}
} else {
this._x = this._x + X_var;
this._y = this._y + Y_var;
if (this._x >= 200) {
X_var = X_var + 1;
this._alpha = this._alpha - 5;
}
this._rotation = this._rotation + Rotation_var;
this._alpha = this._alpha - Alpha_var;
}
};
Symbol 63 MovieClip Frame 17
stop();
Symbol 64 Button
on (press) {
_root.gotoAndStop("Menu_lb");
}
Symbol 67 MovieClip Frame 25
stop();
Symbol 76 Button
on (press) {
_root.gotoAndPlay("Instructions_lb");
}
Symbol 81 Button
on (press) {
fscommand ("quit");
}
Symbol 86 Button
on (press) {
getURL ("http://www.loyaleternal.com", "_blank");
}
Symbol 91 Button
on (press) {
_root.gotoAndStop("Credit_lb");
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 112 Button
on (press) {
_root.SetData();
_root.SaveData();
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Lose_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Lose_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Tie_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Tie_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Win_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Win_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Symbol 114 MovieClip Frame 35
stop();
Symbol 125 Button
on (press) {
_root.BallPosition_var = "Player1";
_root.GoalPlayer1_var = 0;
_root.GoalPlayer2_var = 0;
_root.Second_var = 0;
_root.Detik_var = 0;
_root.Menit_var = 45;
_root.gotoAndPlay("Game_lb");
}
Symbol 152 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Instance of Symbol 152 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer2_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 152 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer2_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 164 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer1_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 164 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer1_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 177 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Detik_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 177 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Detik_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 177 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Menit_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 177 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.Menit_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Symbol 189 MovieClip Frame 1
Speed_var = random(10) + 5;
Whine_var = random(20) - 10;
Rotasi_var = random(10) - 5;
Scale_var = random(100) + 50;
this._y = -50;
this._x = random(640);
this._yscale = Scale_var;
this._xscale = Scale_var;
this.gotoAndStop(random(10));
onEnterFrame = function () {
if (_root.GameOver_var == 1) {
this._y = this._y + Speed_var;
this._x = this._x + Whine_var;
this._rotation = this._rotation + Rotasi_var;
if (this._y > 500) {
Speed_var = random(25) + 5;
Whine_var = random(20) - 10;
Rotasi_var = random(10) - 5;
this._y = -50;
this._x = random(640);
this.gotoAndStop(random(10));
}
}
};
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
gotoAndStop (1);
Symbol 193 MovieClip Frame 3
gotoAndStop (1);
Symbol 205 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 206 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 207 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 213 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 214 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 217 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
Nilai_var = _root.GoalPlayer2_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 217 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
Nilai_var = _root.GoalPlayer2_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 219 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
Nilai_var = _root.GoalPlayer1_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 219 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
Nilai_var = _root.GoalPlayer1_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 217 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer2_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 217 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer2_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 219 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer1_var;
if (length(Nilai_var) == 1) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(9)) + 1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 219 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
Nilai_var = _root.GoalPlayer1_var;
if (length(Nilai_var) == 2) {
this.gotoAndStop(Number(String(Nilai_var).charAt(0)) + 1);
} else if (length(Nilai_var) == 3) {
this.gotoAndStop(Number(String(Nilai_var).charAt(1)) + 1);
} else if (length(Nilai_var) == 4) {
this.gotoAndStop(Number(String(Nilai_var).charAt(2)) + 1);
} else if (length(Nilai_var) == 5) {
this.gotoAndStop(Number(String(Nilai_var).charAt(3)) + 1);
} else if (length(Nilai_var) == 6) {
this.gotoAndStop(Number(String(Nilai_var).charAt(4)) + 1);
} else if (length(Nilai_var) == 7) {
this.gotoAndStop(Number(String(Nilai_var).charAt(5)) + 1);
} else if (length(Nilai_var) == 8) {
this.gotoAndStop(Number(String(Nilai_var).charAt(6)) + 1);
} else if (length(Nilai_var) == 9) {
this.gotoAndStop(Number(String(Nilai_var).charAt(7)) + 1);
} else if (length(Nilai_var) == 10) {
this.gotoAndStop(Number(String(Nilai_var).charAt(8)) + 1);
} else {
this.gotoAndStop(1);
}
}
Symbol 241 Button
on (press) {
_root.gotoAndPlay("Menu_lb");
}
Instance of Symbol 221 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
}
Symbol 244 MovieClip Frame 185
stop();
_root.Control_var = 1;
Symbol 244 MovieClip Frame 250
stop();
_root.gotoAndPlay("Game_lb");
Instance of Symbol 236 MovieClip in Symbol 244 MovieClip Frame 300
onClipEvent (load) {
this._alpha = 0;
if (_root.GoalPlayer1_var > _root.GoalPlayer2_var) {
_root.Win_var = _root.Win_var + 1;
_root.TeksResult_var = "YOU WIN";
} else if (_root.GoalPlayer1_var < _root.GoalPlayer2_var) {
_root.Lose_var = _root.Lose_var + 1;
_root.TeksResult_var = "YOU LOSE";
} else {
_root.TeksResult_var = "TIE";
_root.Tie_var = _root.Tie_var + 1;
}
_root.SaveData();
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
}
Symbol 244 MovieClip Frame 405
stop();