Frame 1
stop();
Instance of Symbol 42 MovieClip in Frame 1
/* no clip actions */
Frame 2
_root.ddde = 0;
Frame 3
level = 1;
kalah = 0;
panel = new Sound();
panel.attachSound("kamra");
njebluk = new Sound();
njebluk.attachSound("ledakan");
jalan = new Sound();
jalan.attachSound("siren");
pindah = new Sound();
pindah.attachSound("pindah");
musik1 = new Sound();
musik1.attachSound("musik1");
musik2 = new Sound();
musik2.attachSound("musik2");
buka = new Sound();
buka.attachSound("buka");
tutup = new Sound();
tutup.attachSound("tutup");
tembak = new Sound();
tembak.attachSound("tembak");
gempa = new Sound();
gempa.attachSound("gempa");
maju = new Sound();
maju.attachSound("maju");
putar = new Sound();
putar.attachSound("putar");
petir = new Sound();
petir.attachSound("petir");
musik = new Sound();
musik.attachSound("musik");
gong = new Sound();
gong.attachSound("gong");
stop();
_root.musik.start(0, 9999);
Instance of Symbol 141 MovieClip "codejumper" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 206 MovieClip "incer" in Frame 3
onClipEvent (load) {
_visible = false;
}
Frame 4
stop();
Frame 6
stop();
_root.acj.gotoAndPlay(1);
_root.acj.bulat.selesai = 0;
_root.acj.waktu = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 191 MovieClip "tele" in Frame 6
/* no clip actions */
Instance of Symbol 283 MovieClip "gelem6" in Frame 6
onClipEvent (enterFrame) {
if (_root.gelem6._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 6
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol) and (_root.batu._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol2) and (_root.gate._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(9);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 7
_root.gotoAndPlay(3);
Frame 9
stop();
_root.acj.gotoAndPlay(1);
_root.acj.bulat.selesai = 0;
_root.acj.waktu = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu" in Frame 9
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate" in Frame 9
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem1" in Frame 9
onClipEvent (enterFrame) {
if (_root.gelem1._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 166 MovieClip "tombol" in Frame 9
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol) and (_root.ball.mati == 0)) {
_root.tombol.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2" in Frame 9
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2)) {
_root.tombol2.gotoAndStop(2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 9
onClipEvent (load) {
speed = 10;
mati = 0;
waktu = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if ((hitTest(_root.tombol) and (_root.batu._currentframe == 1)) and (_currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2) and (_root.gate._currentframe == 1)) and (_currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(12);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 10
_root.gotoAndPlay(3);
Frame 12
stop();
efek3 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 341 MovieClip "gate32" in Frame 12
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate32) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol31" in Frame 12
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol31)) {
_root.tombol31.gotoAndStop(2);
}
}
Instance of Symbol 348 MovieClip "tombak31" in Frame 12
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak31) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 348 MovieClip "tombak32" in Frame 12
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak32) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem3" in Frame 12
onClipEvent (enterFrame) {
if (_root.gelem3._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 12
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol31) and (_root.gate32._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate32.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek3 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(15);
_root.efek3 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek3 = 1;
}
}
Frame 13
_root.gotoAndPlay(3);
Frame 15
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu72" in Frame 15
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu72) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu71" in Frame 15
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu71) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol72" in Frame 15
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol72)) {
_root.tombol72.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol71" in Frame 15
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol71)) {
_root.tombol71.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem7" in Frame 15
onClipEvent (enterFrame) {
if (_root.gelem7._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 15
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol71) and (_root.batu71._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu71.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol72) and (_root.batu72._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu72.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(18);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 16
_root.gotoAndPlay(3);
Frame 18
stop();
efek2 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 283 MovieClip "gelem2" in Frame 18
onClipEvent (enterFrame) {
if (_root.gelem2._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 338 MovieClip "batu24" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu24) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate23" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate23) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol22" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol22)) {
_root.tombol22.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol21" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol21) and (_currentframe == 1)) {
_root.tombol21.gotoAndStop(2);
}
}
Instance of Symbol 348 MovieClip "tombak22" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak22) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak21" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak21) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if ((_currentframe == 1) and (_root.efek2 == 0)) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 348 MovieClip "tombak23" in Frame 18
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak23) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 18
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol21) and (_root.gate23._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate23.gotoAndPlay(2);
}
if (hitTest(_root.tombol22) and (_root.batu24._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu24.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek2 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(21);
_root.efek2 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek2 = 1;
}
}
Frame 19
_root.gotoAndPlay(3);
Frame 21
stop();
efek5 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu51" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu51) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate52" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate52) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak51" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak51) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak52" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak52) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak53" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak53) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 338 MovieClip "batu52" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu52) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol52" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol52)) {
_root.tombol52.gotoAndStop(2);
}
}
Instance of Symbol 341 MovieClip "gate51" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate51) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol53" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol53)) {
_root.tombol53.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol51" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol51)) {
_root.tombol51.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol54" in Frame 21
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol54)) {
_root.tombol54.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem5" in Frame 21
onClipEvent (enterFrame) {
if (_root.gelem5._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 21
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol51) and (_root.batu51._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu51.gotoAndPlay(2);
}
if (hitTest(_root.tombol52) and (_root.batu52._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu52.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol53) and (_root.gate51._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate51.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol54) and (_root.gate52._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate52.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek5 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(24);
_root.efek5 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek5 = 1;
}
}
Frame 22
_root.gotoAndPlay(3);
Frame 24
stop();
efek4 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu42" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu42) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu44" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu44) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser4" in Frame 24
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 60)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if ((nilai >= 60) and (nilai < 120)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if (nilai == 120) {
nilai = 0;
}
if ((_root.laser4.listrik._currentframe == 1) and (_root.efek4 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser4) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol41" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol41)) {
_root.tombol41.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol43" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol43)) {
_root.tombol43.gotoAndStop(2);
}
}
Instance of Symbol 348 MovieClip "tombak41" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak41) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak42" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak42) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak44" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak44) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak43" in Frame 24
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak43) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 283 MovieClip "gelem4" in Frame 24
onClipEvent (enterFrame) {
if (_root.gelem4._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 24
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol41) and (_root.batu42._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu42.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol43) and (_root.batu44._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu44.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek4 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(27);
_root.efek4 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek4 = 1;
}
}
Frame 25
_root.gotoAndPlay(3);
Frame 27
stop();
efek8 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 372 MovieClip "tembakan8" in Frame 27
onClipEvent (load) {
gunkeluar = 0;
}
onClipEvent (enterFrame) {
if (gunkeluar == 0) {
attachMovie(_root.panah8, "panah", 1);
_root.panah8._x = this._x - 35;
_root.panah8._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan8) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 2 MovieClip [panah] "panah8" in Frame 27
onClipEvent (enterFrame) {
if (_name != _root.panah8) {
_x = (_x - 10);
}
if (_x < 150) {
_root.panah8.removeMovieClip();
_root.tembakan8.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah8) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah8.removeMovieClip();
_root.tembakan8.gunkeluar = 0;
}
}
Instance of Symbol 166 MovieClip "tombol8" in Frame 27
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol8)) {
_root.tombol8.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem8" in Frame 27
onClipEvent (enterFrame) {
if (_root.gelem8._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 338 MovieClip "batu8" in Frame 27
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu8) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 27
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol8) and (_root.batu8._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu8.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek8 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(30);
_root.efek8 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek8 = 1;
}
}
Frame 28
_root.gotoAndPlay(3);
Frame 30
stop();
efek9 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu92" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu92) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak91" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak91) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak93" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak93) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak92" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak92) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 367 MovieClip "laser92" in Frame 30
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 27)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if ((nilai >= 27) and (nilai < 54)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if (nilai == 54) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser92) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser91" in Frame 30
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 27)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if ((nilai >= 27) and (nilai < 54)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if (nilai == 54) {
nilai = 0;
}
if ((_root.laser91.listrik._currentframe == 1) and (_root.efek9 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser91) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu91" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu91) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol92" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol92)) {
_root.tombol92.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol91" in Frame 30
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol91)) {
_root.tombol91.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem9" in Frame 30
onClipEvent (enterFrame) {
if (_root.gelem9._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 30
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol91) and (_root.batu91._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu91.gotoAndPlay(2);
}
if (hitTest(_root.tombol92) and (_root.batu92._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu92.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek9 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(33);
_root.efek9 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek9 = 1;
}
}
Frame 31
_root.gotoAndPlay(3);
Frame 33
stop();
efek15 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 166 MovieClip "tombol153" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol153)) {
_root.tombol153.gotoAndStop(2);
}
}
Instance of Symbol 341 MovieClip "gate152" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate152) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate153" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate153) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate151" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate151) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol152" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol152)) {
_root.tombol152.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol15" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol15)) {
_root.tombol15.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem15" in Frame 33
onClipEvent (enterFrame) {
if (_root.gelem15._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 341 MovieClip "gate154" in Frame 33
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate154) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir15" in Frame 33
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_root.efek15 == 0)) {
_root.kincir15.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir15) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 33
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol152) and (_root.gate151._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate151.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol153) and (_root.gate154._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate154.gotoAndPlay(2);
}
if ((_root.ball.hitTest(_root.tombol15) and (_root.gate151._currentframe == 15)) and (_root.gate152._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate151.gotoAndPlay(16);
_root.tutup.start(0, 1);
_root.gate152.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate153.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek15 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(36);
_root.efek15 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek15 = 1;
}
}
Frame 34
_root.gotoAndPlay(3);
Frame 36
stop();
efek14 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 341 MovieClip "gate141" in Frame 36
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate141) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate142" in Frame 36
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate142) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate143" in Frame 36
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate143) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 171 MovieClip "tombol14" in Frame 36
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol14)) {
_root.tombol14.gotoAndStop(2);
}
}
Instance of Symbol 372 MovieClip "tembakan14" in Frame 36
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah14, "panah", 1);
_root.panah14._x = this._x - 35;
_root.panah14._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan14) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 2 MovieClip [panah] "panah14" in Frame 36
onClipEvent (enterFrame) {
if (_name != _root.panah14) {
_x = (_x - 9);
}
if (_x < -70) {
_root.panah14.removeMovieClip();
_root.tembakan14.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah14) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah14.removeMovieClip();
_root.tembakan14.gunkeluar = 0;
}
}
Instance of Symbol 283 MovieClip "gelem14" in Frame 36
onClipEvent (enterFrame) {
if (_root.gelem14._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 36
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol14) and (_root.gate141._currentframe == 1)) {
_root.tembakan14.aktif = 1;
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate141.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate142.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate143.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek14 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(39);
_root.efek14 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek14 = 1;
}
}
Frame 37
_root.gotoAndPlay(3);
Frame 39
stop();
efek11 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 348 MovieClip "tombak11" in Frame 39
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak11) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 338 MovieClip "batu11" in Frame 39
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu11) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate11" in Frame 39
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate11) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol111" in Frame 39
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol111)) {
_root.tombol111.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol112" in Frame 39
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol112)) {
_root.tombol112.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem11" in Frame 39
onClipEvent (enterFrame) {
if (_root.gelem11._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 39
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol111) and (_root.gate11._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate11.gotoAndPlay(2);
}
if (hitTest(_root.tombol112) and (_root.batu11._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu11.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek11 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(42);
_root.efek11 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek11 = 1;
}
}
Frame 40
_root.gotoAndPlay(3);
Frame 42
stop();
efek16 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu161" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu161) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate163" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate163) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu163" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu163) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu162" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu162) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate162" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate162) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate161" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate161) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser162" in Frame 42
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 70)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 70) and (nilai < 140)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 140) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser162) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser161" in Frame 42
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 70)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 70) and (nilai < 140)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 140) {
nilai = 0;
}
if ((_root.laser161.listrik._currentframe == 1) and (_root.efek16 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser161) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol161" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol161)) {
_root.tombol161.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol163" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol163)) {
_root.tombol163.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol164" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol164)) {
_root.tombol164.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol165" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol165)) {
_root.tombol165.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol162" in Frame 42
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol162)) {
_root.tombol162.gotoAndStop(2);
}
}
Instance of Symbol 381 MovieClip "kincir16" in Frame 42
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_root.efek16 == 0)) {
_root.kincir16.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir16) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem16" in Frame 42
onClipEvent (enterFrame) {
if (_root.gelem16._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 42
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol161) and (_root.gate161._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate161.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol162) and (_root.gate162._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate161.gotoAndPlay(16);
_root.tutup.start(0, 1);
_root.gate162.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate163.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol163) and (_root.batu161._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu161.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol164) and (_root.batu162._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu162.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol165) and (_root.batu163._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu163.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek16 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(45);
_root.efek16 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek16 = 1;
}
}
Frame 43
_root.gotoAndPlay(3);
Frame 45
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu1723" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1723) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1724" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1724) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1714" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1714) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1715" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1715) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1716" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1716) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1717" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1717) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1726" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1726) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1725" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1725) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1734" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1734) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1733" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1733) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1732" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1732) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1735" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1735) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1736" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1736) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1727" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1727) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1718" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1718) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu179" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu179) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu178" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu178) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu177" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu177) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu176" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu176) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu175" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu175) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 399 MovieClip "batu171" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu171) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1710" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1710) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1719" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1719) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1728" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1728) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1737" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1737) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "1738" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1738) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1729" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1729) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1720" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1720) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1711" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1711) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu172" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu172) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu173" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu173) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1712" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1712) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1721" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1721) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1730" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1730) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1739" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1739) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1740" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1740) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1731" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1731) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1722" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1722) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu1713" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu1713) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu174" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu174) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol171" in Frame 45
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol171)) {
_root.tombol171.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol172" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol172)) {
_root.tombol172.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol176" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol176)) {
_root.tombol176.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1715" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1715)) {
_root.tombol1715.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1718" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1718)) {
_root.tombol1718.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1719" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1719)) {
_root.tombol1719.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1723" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1723)) {
_root.tombol1723.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1724" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1724)) {
_root.tombol1724.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1710" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1710)) {
_root.tombol1710.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol175" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol175)) {
_root.tombol175.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol178" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol178)) {
_root.tombol178.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol174" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol174)) {
_root.tombol174.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol179" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol179)) {
_root.tombol179.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol177" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol177)) {
_root.tombol177.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol1712" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1712)) {
_root.tombol1712.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol1711" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1711)) {
_root.tombol1711.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol1714" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1714)) {
_root.tombol1714.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol1716" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1716)) {
_root.tombol1716.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol173" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol173)) {
_root.tombol173.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol1717" in Frame 45
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1717)) {
_root.tombol1717.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem17" in Frame 45
onClipEvent (enterFrame) {
if (_root.gelem17._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 45
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if ((hitTest(_root.tombol171) and (_root.batu171._currentframe == 1)) and (_root.tombol171.aktif == 0)) {
_root.panel.start(0, 1);
_root.batu171.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol172) and (_root.batu171._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu172.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu176.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu171.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol173) and (_root.batu172._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu173.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu177.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu172.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol174) and (_root.batu173._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu174.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu178.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu173.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol175) and (_root.batu179._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu179.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol176) and (_root.batu175._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu175.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol177) and (_root.batu176._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu1710.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1715.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu176.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol178) and (_root.batu1711._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1711.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol179) and (_root.batu178._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu1712.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1713.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu178.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol1710) and (_root.batu1718._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1718.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1711) and (_root.batu1719._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu1714.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1723.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1719.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol1712) and (_root.batu1715._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu1719.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1724.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1715.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol1714) and (_root.batu1718._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu1722.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1727.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1718.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol1715) and (_root.batu1732._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1732.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1716) and (_root.batu1724._currentframe == 14)) {
_root.panel.start(0, 1);
_root.batu1728.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1733.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu1724.gotoAndPlay(15);
_root.tutup.start(0, 1);
}
if (hitTest(_root.tombol1717) and (_root.batu1725._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1725.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1718) and (_root.batu1730._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1730.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1719) and (_root.batu1736._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1736.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1721) and (_root.batu1737._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1737.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1723) and (_root.batu1735._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1735.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol1724) and (_root.batu1740._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu1740.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(48);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 46
_root.gotoAndPlay(3);
Frame 48
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu202" in Frame 48
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu202) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu203" in Frame 48
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu203) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 161 MovieClip "tombol202" in Frame 48
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol202) and (aktif == 0)) {
_root.tombol202.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol204.penuh = _root.tombol204.penuh + 1;
}
}
Instance of Symbol 179 MovieClip "tombol204" in Frame 48
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol204) and (penuh == 3)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
}
Instance of Symbol 161 MovieClip "tombol203" in Frame 48
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol203) and (aktif == 0)) {
_root.tombol203.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol204.penuh = _root.tombol204.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol201" in Frame 48
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol201) and (aktif == 0)) {
_root.tombol201.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol204.penuh = _root.tombol204.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol205" in Frame 48
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol205) and (aktif == 0)) {
_root.tombol205.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol208.penuh = _root.tombol208.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol206" in Frame 48
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol206) and (aktif == 0)) {
_root.tombol206.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol208.penuh = _root.tombol208.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol207" in Frame 48
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol207) and (aktif == 0)) {
_root.tombol207.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol208.penuh = _root.tombol208.penuh + 1;
}
}
Instance of Symbol 166 MovieClip "tombol209" in Frame 48
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol209)) {
_root.tombol209.gotoAndStop(2);
}
}
Instance of Symbol 338 MovieClip "batu201" in Frame 48
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu201) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 179 MovieClip "tombol208" in Frame 48
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol208) and (penuh == 3)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
}
Instance of Symbol 283 MovieClip "gelem20" in Frame 48
onClipEvent (enterFrame) {
if (_root.gelem20._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 48
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if ((hitTest(_root.tombol204) and (_root.batu201._currentframe == 1)) and (_root.tombol204._currentframe == 4)) {
_root.panel.start(0, 1);
_root.batu201.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((hitTest(_root.tombol208) and (_root.batu202._currentframe == 1)) and (_root.tombol208._currentframe == 4)) {
_root.panel.start(0, 1);
_root.batu202.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol209) and (_root.batu203._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu203.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(51);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 49
_root.gotoAndPlay(3);
Frame 51
stop();
efek18 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu181" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu181) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu182" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu182) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu183" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu183) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate181" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate181) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate182" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate182) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate183" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate183) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser182" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser182) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser181" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if ((_root.laser181.listrik._currentframe == 1) and (_root.efek18 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser181) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser183" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser183) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser185" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if ((_root.laser185.listrik._currentframe == 1) and (_root.efek18 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser185) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser184" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser184) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser186" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if ((_root.laser186.listrik._currentframe == 1) and (_root.efek18 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser186) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser188" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser188) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser187" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if ((_root.laser187.listrik._currentframe == 1) and (_root.efek18 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser187) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser189" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser189) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser1811" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser1811) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser1810" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser1810) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser1812" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser1812) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser1814" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser1814) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser1813" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser1813) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser1815" in Frame 51
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 29)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 29) and (nilai < 58)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 58) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser1815) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol181" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol181)) {
_root.tombol181.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol182" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol182)) {
_root.tombol182.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol183" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol183)) {
_root.tombol183.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol184" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol184)) {
_root.tombol184.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol185" in Frame 51
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol185)) {
_root.tombol185.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol186" in Frame 51
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol186)) {
_root.tombol186.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol187" in Frame 51
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol187)) {
_root.tombol187.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol188" in Frame 51
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol188)) {
_root.tombol188.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol189" in Frame 51
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol189)) {
_root.tombol189.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 283 MovieClip "gelem18" in Frame 51
onClipEvent (enterFrame) {
if (_root.gelem18._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 409 MovieClip "batu185" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu185) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 409 MovieClip "batu184" in Frame 51
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu184) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 51
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol181) and (_root.batu181._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu181.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol182) and (_root.batu182._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu182.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol183) and (_root.batu183._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu183.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol184) and (_root.batu184._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu185.gotoAndPlay(2);
_root.batu184.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol186) and (_root.gate183._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate183.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol187) and (_root.gate181._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate181.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol189) and (_root.gate182._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate182.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek18 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(54);
_root.efek18 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek18 = 1;
}
}
Frame 52
_root.gotoAndPlay(3);
Frame 54
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 283 MovieClip "gelem28" in Frame 54
onClipEvent (enterFrame) {
if (_root.gelem28._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 54
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(57);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 55
_root.gotoAndPlay(3);
Frame 57
stop();
efek25 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 348 MovieClip "tombak257" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak257) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak252" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak252) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak253" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak253) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak255" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak255) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak254" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak254) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak251" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak251) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 348 MovieClip "tombak256" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak256) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2511" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2511) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak259" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak259) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2510" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2510) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak258" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak258) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2545" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2545) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2544" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2544) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2537" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2537) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2539" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2539) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2543" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2543) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2546" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2546) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2542" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2542) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2541" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2541) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2540" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2540) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2538" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2538) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2514" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2514) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2512" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2512) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2513" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2513) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2517" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2517) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2515" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2515) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2516" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2516) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2520" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2520) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2518" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2518) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2519" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2519) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2523" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2523) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2521" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2521) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2522" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2522) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2526" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2526) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2524" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2524) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2525" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2525) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2529" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2529) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2527" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2527) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2528" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2528) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2530" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2530) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2531" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2531) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2534" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2534) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2532" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2532) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2533" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2533) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2535" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2535) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2536" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2536) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2548" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2548) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2550" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2550) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2552" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2552) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2554" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2554) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2556" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2556) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2558" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2558) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2547" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2547) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2549" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2549) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2551" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2551) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2553" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2553) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2555" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2555) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2557" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2557) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak2559" in Frame 57
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak2559) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem25" in Frame 57
onClipEvent (enterFrame) {
if (_root.gelem25._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 57
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol) and (_root.batu._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol2) and (_root.gate._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek25 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(60);
_root.efek25 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek25 = 1;
}
}
Frame 58
_root.gotoAndPlay(3);
Frame 60
stop();
efek13 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu133" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu133) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate132" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate132) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu132" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu132) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak131" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak131) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 348 MovieClip "tombak132" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak132) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser131" in Frame 60
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 41)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if ((nilai >= 41) and (nilai < 82)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if (nilai == 82) {
nilai = 0;
}
if ((_root.laser131.listrik._currentframe == 1) and (_root.efek13 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser131) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser132" in Frame 60
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 41)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if ((nilai >= 41) and (nilai < 82)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if (nilai == 82) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser132) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser133" in Frame 60
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 41)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if ((nilai >= 41) and (nilai < 82)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if (nilai == 82) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser133) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser134" in Frame 60
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 41)) {
_y = (_y - 3);
nilai = nilai + 1;
}
if ((nilai >= 41) and (nilai < 82)) {
_y = (_y + 3);
nilai = nilai + 1;
}
if (nilai == 82) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser134) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol133" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol133)) {
_root.tombol133.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol132" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol132)) {
_root.tombol132.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol135" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol112)) {
_root.tombol112.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol131" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol134)) {
_root.tombol131.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol134" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol134)) {
_root.tombol134.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem13" in Frame 60
onClipEvent (enterFrame) {
if (_root.gelem13._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 381 MovieClip "kincir13" in Frame 60
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_root.efek13 == 0)) {
_root.kincir13.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir13) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu131" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu131) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu136" in Frame 60
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu136) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 60
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol131) and (_root.batu136._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu136.gotoAndPlay(2);
}
if (hitTest(_root.tombol132) and (_root.batu131._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu131.gotoAndPlay(2);
}
if (hitTest(_root.tombol133) and (_root.batu132._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu132.gotoAndPlay(2);
}
if (hitTest(_root.tombol134) and (_root.batu133._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu133.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol135) and (_root.gate132._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate132.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek13 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(63);
_root.efek13 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek13 = 1;
}
}
Frame 61
_root.gotoAndPlay(3);
Frame 63
stop();
efek24 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 161 MovieClip "tombol242" in Frame 63
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol242) and (aktif == 0)) {
_root.tombol242.gotoAndStop(2);
_root.tembakan242.aktif = 1;
_root.panel.start(0, 1);
aktif = 1;
_root.tombol24.penuh = _root.tombol24.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol243" in Frame 63
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol243) and (aktif == 0)) {
_root.tombol243.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tembakan243.aktif = 1;
_root.tombol24.penuh = _root.tombol24.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol244" in Frame 63
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol244) and (aktif == 0)) {
_root.tombol244.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tembakan244.aktif = 1;
_root.tombol24.penuh = _root.tombol24.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol241" in Frame 63
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol241) and (aktif == 0)) {
_root.tombol241.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tembakan241.aktif = 1;
_root.tombol24.penuh = _root.tombol24.penuh + 1;
}
}
Instance of Symbol 2 MovieClip [panah] "panah241" in Frame 63
onClipEvent (enterFrame) {
if (_name != _root.panah241) {
_y = (_y - 10);
}
if (_y < 20) {
_root.panah241.removeMovieClip();
_root.tembakan241.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah241) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah241.removeMovieClip();
_root.tembakan241.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah242" in Frame 63
onClipEvent (enterFrame) {
if (_name != _root.panah242) {
_x = (_x + 10);
}
if (_x > 500) {
_root.panah242.removeMovieClip();
_root.tembakan242.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah242) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah242.removeMovieClip();
_root.tembakan242.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah244" in Frame 63
onClipEvent (enterFrame) {
if (_name != _root.panah244) {
_x = (_x - 10);
}
if (_x < 40) {
_root.panah244.removeMovieClip();
_root.tembakan244.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah244) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah244.removeMovieClip();
_root.tembakan244.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah243" in Frame 63
onClipEvent (enterFrame) {
if (_name != _root.panah243) {
_y = (_y + 10);
}
if (_y > 450) {
_root.panah243.removeMovieClip();
_root.tembakan243.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah243) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah243.removeMovieClip();
_root.tembakan243.gunkeluar = 0;
}
}
Instance of Symbol 341 MovieClip "gate24" in Frame 63
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate24) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan241" in Frame 63
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah241, "panah", 1);
_root.panah241._x = this._x;
_root.panah241._y = this._y - 5;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan241) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan242" in Frame 63
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah242, "panah", 1);
_root.panah242._x = this._x + 5;
_root.panah242._y = this._y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan242) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan243" in Frame 63
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah243, "panah", 1);
_root.panah243._x = this._x;
_root.panah243._y = this._y - 5;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan243) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan244" in Frame 63
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah244, "panah", 1);
_root.panah244._x = this._x - 5;
_root.panah244._y = this._y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan244) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem24" in Frame 63
onClipEvent (enterFrame) {
if (_root.gelem24._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 427 MovieClip "tombol24" in Frame 63
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol24) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 63
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol24) and (_root.tombol24._currentframe == 5)) {
_root.panel.start(0, 1);
_root.gate24.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek24 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(66);
_root.efek24 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek24 = 1;
}
}
Frame 64
_root.gotoAndPlay(3);
Frame 66
stop();
efek29 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 348 MovieClip "tombak293" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak293) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu291" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu291) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu292" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu292) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu293" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu293) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu295" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu295) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu294" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu294) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu296" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu296) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu297" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu297) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu299" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu299) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu2910" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2910) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu2911" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2911) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu298" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu298) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak292" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak292) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak291" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak291) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 338 MovieClip "batu2912" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2912) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol291" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol291)) {
_root.tombol291.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol292" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol292)) {
_root.tombol292.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol293" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol293)) {
_root.tombol293.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol294" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol294)) {
_root.tombol294.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol295" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol295)) {
_root.tombol295.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol296" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol296)) {
_root.tombol296.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol297" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol297)) {
_root.tombol297.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol298" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol298)) {
_root.tombol298.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol299" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol299)) {
_root.tombol299.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2910" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2910)) {
_root.tombol2910.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2911" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2911)) {
_root.tombol2911.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2912" in Frame 66
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2912)) {
_root.tombol2912.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem29" in Frame 66
onClipEvent (enterFrame) {
if (_root.gelem29._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 66
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol291) and (_root.batu291._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu291.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol292) and (_root.batu292._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu292.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol293) and (_root.batu293._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu293.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol294) and (_root.batu294._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu294.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol295) and (_root.batu295._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu295.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol296) and (_root.batu296._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu296.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol297) and (_root.batu297._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu297.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol298) and (_root.batu298._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu298.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol299) and (_root.batu299._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu299.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2910) and (_root.batu2910._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2910.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2911) and (_root.batu2911._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2911.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2912) and (_root.batu2912._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2912.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek29 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(69);
_root.efek29 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek29 = 1;
}
}
Frame 67
_root.gotoAndPlay(3);
Frame 69
stop();
efek22 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 348 MovieClip "tombak224" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak224) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu224" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu224) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate221" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu223" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu223) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate222" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak222" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak222) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak223" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak223) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak221" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak221) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 166 MovieClip "tombol228" in Frame 69
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol228)) {
_root.tombol228.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol2210" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2210)) {
_root.tombol2210.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol227" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol227)) {
_root.tombol227.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol225" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol225)) {
_root.tombol225.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol223" in Frame 69
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol223)) {
_root.tombol223.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol222" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol222)) {
_root.tombol222.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol224" in Frame 69
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol224)) {
_root.tombol224.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol226" in Frame 69
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol226)) {
_root.tombol226.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 2 MovieClip [panah] "panah22" in Frame 69
onClipEvent (enterFrame) {
if (_name != _root.panah22) {
_x = (_x + 10);
}
if (_x > 600) {
_root.panah22.removeMovieClip();
_root.tembakan22.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah22) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah22.removeMovieClip();
_root.tembakan22.gunkeluar = 0;
}
}
Instance of Symbol 372 MovieClip "tembakan22" in Frame 69
onClipEvent (load) {
gunkeluar = 0;
}
onClipEvent (enterFrame) {
if (gunkeluar == 0) {
attachMovie(_root.panah22, "panah", 1);
_root.panah22._x = this._x + 5;
_root.panah22._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan22) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 435 MovieClip "batu225" in Frame 69
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu225) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem22" in Frame 69
onClipEvent (enterFrame) {
if (_root.gelem22._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 69
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol222) and (_root.batu224._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu224.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol225) and (_root.gate221._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate221.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol227) and (_root.gate222._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate222.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol2210) and (_root.tombol2210._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu223.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol223) and (_root.tombol223.aktif == 0)) {
_root.panel.start(0, 1);
_root.batu225._y = _root.batu225._y + 47;
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol224) and (_root.tombol224.aktif == 0)) {
_root.panel.start(0, 1);
_root.batu225._y = _root.batu225._y + 47;
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol226) and (_root.tombol226.aktif == 0)) {
_root.panel.start(0, 1);
_root.batu225._y = _root.batu225._y + 47;
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol228) and (_root.tombol228.aktif == 0)) {
_root.panel.start(0, 1);
_root.batu225._y = _root.batu225._y + 47;
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek22 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(72);
_root.efek22 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek22 = 1;
}
}
Frame 70
_root.gotoAndPlay(3);
Frame 72
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 341 MovieClip "gate231" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate231) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate233" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate233) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate235" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate235) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate237" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate237) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate239" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate239) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate2311" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate2311) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate232" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate232) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate234" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate234) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate236" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate236) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate238" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate2310" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate2310) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate2312" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate2312) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate2313" in Frame 72
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate2313) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol231" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol231)) {
_root.tombol231.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol233" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol233)) {
_root.tombol233.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol239" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol239)) {
_root.tombol239.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol2312" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2312)) {
_root.tombol2312.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol2310" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2310)) {
_root.tombol2310.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol236" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol236)) {
_root.tombol236.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 156 MovieClip "tombol234" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol234)) {
_root.tombol234.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol232" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol232)) {
_root.tombol232.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol238" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol238)) {
_root.tombol238.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol2313" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2313)) {
_root.tombol2313.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol237" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol237)) {
_root.tombol237.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol2311" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2311)) {
_root.tombol2311.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol235" in Frame 72
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol235)) {
_root.tombol235.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 283 MovieClip "gelem23" in Frame 72
onClipEvent (enterFrame) {
if (_root.gelem23._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 72
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if ((_root.ball.hitTest(_root.tombol231) and (_root.gate231._currentframe == 1)) and (_root.tombol231.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate231.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol232) and (_root.gate2311._currentframe == 1)) and (_root.tombol232.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate2311.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol233) and (_root.gate233._currentframe == 15)) and (_root.tombol233.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate235.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate2310.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate233.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol234) and (_root.gate232._currentframe == 15)) and (_root.tombol234.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate238.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate239.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate232.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol235) and (_root.gate236._currentframe == 1)) and (_root.tombol235.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate236.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol236) and (_root.gate2310._currentframe == 15)) and (_root.tombol236.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate231.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate2312.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate2310.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol237) and (_root.gate2313._currentframe == 1)) and (_root.tombol237.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate2313.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol238) and (_root.gate234._currentframe == 15)) and (_root.tombol238.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate233.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate2310.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate234.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol239) and (_root.gate239._currentframe == 15)) and (_root.tombol239.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate232.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate235.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate239.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2310) and (_root.gate238._currentframe == 15)) and (_root.tombol2310.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate234.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate237.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate238.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2311) and (_root.gate233._currentframe == 1)) and (_root.tombol2311.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate233.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2312) and (_root.gate231._currentframe == 15)) and (_root.tombol2312.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate232.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate233.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate231.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2313) and (_root.gate238._currentframe == 1)) and (_root.tombol2313.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate238.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(75);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 73
_root.gotoAndPlay(3);
Frame 75
stop();
efek12 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 381 MovieClip "kincir121" in Frame 75
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_root.efek12 == 0)) {
_root.kincir121.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir121) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir122" in Frame 75
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.kincir122.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir122) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir123" in Frame 75
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.kincir123.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir123) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir124" in Frame 75
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.kincir124.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir124) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir126" in Frame 75
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.kincir126.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir126) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir129" in Frame 75
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.kincir129.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir129) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem12" in Frame 75
onClipEvent (enterFrame) {
if (_root.gelem12._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 75
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol) and (_root.batu._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tombol2) and (_root.gate._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek12 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(78);
_root.efek12 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek12 = 1;
}
}
Frame 76
_root.gotoAndPlay(3);
Frame 78
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 283 MovieClip "gelem19" in Frame 78
onClipEvent (enterFrame) {
if (_root.gelem19._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 78
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(81);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 79
_root.gotoAndPlay(3);
Frame 81
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 338 MovieClip "batu271" in Frame 81
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu271) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu272" in Frame 81
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu272) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu273" in Frame 81
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu273) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu274" in Frame 81
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu274) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 179 MovieClip "tombol2719" in Frame 81
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2719) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 161 MovieClip "tombol271" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol271) and (aktif == 0)) {
_root.tombol271.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol275.penuh = _root.tombol275.penuh + 1;
}
}
Instance of Symbol 427 MovieClip "tombol2710" in Frame 81
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2710) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 427 MovieClip "tombol275" in Frame 81
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol275) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 427 MovieClip "tombol2715" in Frame 81
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2715) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 161 MovieClip "tombol272" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol272) and (aktif == 0)) {
_root.tombol272.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol275.penuh = _root.tombol275.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol273" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol273) and (aktif == 0)) {
_root.tombol273.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol275.penuh = _root.tombol275.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol274" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol274) and (aktif == 0)) {
_root.tombol274.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol275.penuh = _root.tombol275.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol276" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol276) and (aktif == 0)) {
_root.tombol276.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2710.penuh = _root.tombol2710.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol277" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol277) and (aktif == 0)) {
_root.tombol277.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2710.penuh = _root.tombol2710.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol278" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol278) and (aktif == 0)) {
_root.tombol278.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2710.penuh = _root.tombol2710.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol279" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol279) and (aktif == 0)) {
_root.tombol279.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2710.penuh = _root.tombol2710.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2713" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2713) and (aktif == 0)) {
_root.tombol2713.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2715.penuh = _root.tombol2715.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2714" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2714) and (aktif == 0)) {
_root.tombol2714.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2715.penuh = _root.tombol2715.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2712" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2712) and (aktif == 0)) {
_root.tombol2712.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2715.penuh = _root.tombol2715.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2711" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2711) and (aktif == 0)) {
_root.tombol2711.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2715.penuh = _root.tombol2715.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2717" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2717) and (aktif == 0)) {
_root.tombol2717.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2719.penuh = _root.tombol2719.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2718" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2718) and (aktif == 0)) {
_root.tombol2718.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2719.penuh = _root.tombol2719.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol2716" in Frame 81
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2716) and (aktif == 0)) {
_root.tombol2716.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol2719.penuh = _root.tombol2719.penuh + 1;
}
}
Instance of Symbol 283 MovieClip "gelem27" in Frame 81
onClipEvent (enterFrame) {
if (_root.gelem27._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 81
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if ((hitTest(_root.tombol275) and (_root.batu271._currentframe == 1)) and (_root.tombol275._currentframe == 5)) {
_root.panel.start(0, 1);
_root.batu271.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((hitTest(_root.tombol2710) and (_root.batu272._currentframe == 1)) and (_root.tombol2710._currentframe == 5)) {
_root.panel.start(0, 1);
_root.batu272.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((hitTest(_root.tombol2715) and (_root.batu273._currentframe == 1)) and (_root.tombol2715._currentframe == 5)) {
_root.panel.start(0, 1);
_root.batu273.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((hitTest(_root.tombol2719) and (_root.batu274._currentframe == 1)) and (_root.tombol2719._currentframe == 4)) {
_root.panel.start(0, 1);
_root.batu274.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(84);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 82
_root.gotoAndPlay(3);
Frame 84
stop();
efek26 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 381 MovieClip "kincir261" in Frame 84
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (_root.efek26 == 0)) {
_root.kincir261.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir261) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu261" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu261) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 166 MovieClip "tombol267" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol267)) {
_root.tombol267.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol263" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol263)) {
_root.tombol263.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol266" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol266)) {
_root.tombol266.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol265" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol265)) {
_root.tombol265.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol264" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol264)) {
_root.tombol264.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol262" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol262)) {
_root.tombol262.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2613" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2613)) {
_root.tombol2613.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2612" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2612)) {
_root.tombol2612.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2611" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2611)) {
_root.tombol2611.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2619" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2619)) {
_root.tombol2619.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2618" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2618)) {
_root.tombol2618.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2617" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2617)) {
_root.tombol2617.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2616" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2616)) {
_root.tombol2616.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2625" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2625)) {
_root.tombol2625.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2624" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2624)) {
_root.tombol2624.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2623" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2623)) {
_root.tombol2623.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2622" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2622)) {
_root.tombol2622.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2610" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2610)) {
_root.tombol2610.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol269" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol269)) {
_root.tombol269.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol268" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol268)) {
_root.tombol268.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2615" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2615)) {
_root.tombol2615.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2614" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2614)) {
_root.tombol2614.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2621" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2621)) {
_root.tombol2621.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2620" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2620)) {
_root.tombol2620.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol261" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol261)) {
_root.tombol261.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol2626" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2625)) {
_root.tombol2625.gotoAndStop(2);
}
}
Instance of Symbol 283 MovieClip "gelem26" in Frame 84
onClipEvent (enterFrame) {
if (_root.gelem26._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 451 MovieClip "batu2627" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2627) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2626" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2626) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2625" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2625) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2624" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2624) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2620" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2620) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2616" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2616) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2619" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2619) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2618" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2618) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2615" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2615) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2617" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2617) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2614" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2614) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2610" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2610) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2613" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2613) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu269" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu269) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2612" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2612) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu268" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu268) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2611" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2611) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu267" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu267) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu263" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu263) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu266" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu266) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu265" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu265) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu264" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu264) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu262" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu262) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2623" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2623) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2622" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2622) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 451 MovieClip "batu2621" in Frame 84
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu2621) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 84
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol261) and (_root.batu261._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu261.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol262) and (_root.batu262._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu262.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol263) and (_root.batu263._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu263.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol264) and (_root.batu264._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu264.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol265) and (_root.batu265._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu265.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol266) and (_root.batu266._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu266.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol267) and (_root.batu267._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu267.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol268) and (_root.batu268._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu268.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol269) and (_root.batu269._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu269.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2610) and (_root.batu2610._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2610.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2611) and (_root.batu2611._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2611.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2612) and (_root.batu2613._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2613.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2613) and (_root.batu2614._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2614.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2614) and (_root.batu2615._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2615.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2615) and (_root.batu2616._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2616.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2616) and (_root.batu2617._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2617.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2617) and (_root.batu2618._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2618.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2618) and (_root.batu2619._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2619.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2619) and (_root.batu2620._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2620.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2620) and (_root.batu2621._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2621.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2621) and (_root.batu2623._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2623.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2622) and (_root.batu2624._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2624.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2623) and (_root.batu2625._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2625.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2624) and (_root.batu2626._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2626.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2625) and (_root.batu2627._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2627.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (hitTest(_root.tombol2626) and (_root.batu2622._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu2622.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek26 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(87);
_root.efek26 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek26 = 1;
}
}
Frame 85
_root.gotoAndPlay(3);
Frame 87
stop();
efek30 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 171 MovieClip "tombol30" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol30)) {
_root.tombol30.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol304" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol304) and (_currentframe == 1)) {
_root.tombol304.gotoAndStop(2);
_root.panel.start(0, 1);
_root.tembakan302.aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol301" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol301) and (_currentframe == 1)) {
_root.tombol301.gotoAndStop(2);
_root.panel.start(0, 1);
_root.tembakan303.aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol302" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol302) and (_currentframe == 1)) {
_root.tombol302.gotoAndStop(2);
_root.panel.start(0, 1);
_root.tembakan304.aktif = 1;
}
}
Instance of Symbol 166 MovieClip "tombol303" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol303) and (_currentframe == 1)) {
_root.tombol303.gotoAndStop(2);
_root.panel.start(0, 1);
_root.tembakan301.aktif = 1;
}
}
Instance of Symbol 2 MovieClip [panah] "panah303" in Frame 87
onClipEvent (enterFrame) {
if (_name != _root.panah303) {
_y = (_y - 10);
}
if (_y < 40) {
_root.panah303.removeMovieClip();
_root.tembakan303.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah303) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
_root.panah303.removeMovieClip();
_root.tembakan303.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah304" in Frame 87
onClipEvent (enterFrame) {
if (_name != _root.panah304) {
_x = (_x + 10);
}
if (_x > 420) {
_root.panah304.removeMovieClip();
_root.tembakan304.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah304) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
_root.panah304.removeMovieClip();
_root.tembakan304.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah302" in Frame 87
onClipEvent (enterFrame) {
if (_name != _root.panah302) {
_x = (_x - 10);
}
if (_x < 150) {
_root.panah302.removeMovieClip();
_root.tembakan302.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah302) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
_root.panah302.removeMovieClip();
_root.tembakan302.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah301" in Frame 87
onClipEvent (enterFrame) {
if (_name != _root.panah301) {
_y = (_y + 10);
}
if (_y > 300) {
_root.panah301.removeMovieClip();
_root.tembakan301.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah301) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
_root.panah301.removeMovieClip();
_root.tembakan301.gunkeluar = 0;
}
}
Instance of Symbol 456 MovieClip "change304" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.change304) and (_root.ball._currentframe == 1)) {
if (_root.ball.hitTest(_root.change304.tele) and (_currentframe > 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek30 = 1;
_root.change304.gotoAndStop(2);
}
if (_currentframe == 1) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.change304.gotoAndStop(1);
}
}
}
Instance of Symbol 456 MovieClip "change301" in Frame 87
onClipEvent (load) {
waktu = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.change301) and (_root.ball._currentframe == 1)) {
if (_root.ball.hitTest(_root.change301.tele) and (_currentframe > 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek30 = 1;
_root.change301.gotoAndStop(2);
}
if (_currentframe == 1) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.change301.gotoAndStop(1);
}
}
waktu++;
if ((waktu > 0) and (waktu < 10)) {
_root.change304.gotoAndStop(1);
_root.change301.gotoAndPlay(2);
}
if ((waktu >= 10) and (waktu < 20)) {
_root.change302.gotoAndPlay(2);
root.change301.gotoAndStop(1);
}
if ((waktu >= 20) and (waktu < 30)) {
_root.change303.gotoAndPlay(2);
_root.change302.gotoAndStop(1);
}
if ((waktu >= 30) and (waktu < 40)) {
_root.change304.gotoAndPlay(2);
_root.change303.gotoAndStop(1);
}
if ((waktu >= 40) and (waktu < 42)) {
waktu = 0;
}
}
Instance of Symbol 456 MovieClip "change302" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.change302) and (_root.ball._currentframe == 1)) {
if (_root.ball.hitTest(_root.change302.tele) and (_currentframe > 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek30 = 1;
_root.change302.gotoAndStop(2);
}
if (_currentframe == 1) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.change302.gotoAndStop(1);
}
}
}
Instance of Symbol 456 MovieClip "change303" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.change303) and (_root.ball._currentframe == 1)) {
if (_root.ball.hitTest(_root.change303.tele) and (_currentframe > 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek30 = 1;
_root.change303.gotoAndStop(2);
}
if (_currentframe == 1) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.change303.gotoAndStop(1);
}
}
}
Instance of Symbol 372 MovieClip "tembakan303" in Frame 87
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah303, "panah", 1);
_root.panah303._x = this._x;
_root.panah303._y = this._y - 5;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan303) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan301" in Frame 87
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah301, "panah", 1);
_root.panah301._x = this._x;
_root.panah301._y = this._y + 5;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan301) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan302" in Frame 87
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah302, "panah", 1);
_root.panah302._x = this._x - 5;
_root.panah302._y = this._y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan302) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan304" in Frame 87
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 1)) {
attachMovie(_root.panah304, "panah", 1);
_root.panah304._x = this._x + 5;
_root.panah304._y = this._y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan304) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem30" in Frame 87
onClipEvent (enterFrame) {
if (_root.gelem30._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 338 MovieClip "batu302" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu302) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu304" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu304) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu303" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu303) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu301" in Frame 87
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu301) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 87
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol30) and (_root.batu301._currentframe == 1)) {
_root.panel.start(0, 1);
_root.batu301.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu302.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu303.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.batu304.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(90);
_root.efek30 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek30 = 1;
}
}
Frame 88
_root.gotoAndPlay(3);
Frame 90
stop();
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 341 MovieClip "gate312" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate312) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate313" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate313) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate319" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate319) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate318" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate318) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate317" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate317) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate316" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate316) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate315" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate315) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate3114" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate3114) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate3112" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate3112) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate3113" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate3113) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate3115" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate3115) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate3110" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate3110) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate3111" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate3111) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 156 MovieClip "tombol311" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol311)) {
_root.tombol311.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol312" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol312)) {
_root.tombol312.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol313" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol313)) {
_root.tombol313.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol314" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol314)) {
_root.tombol314.gotoAndStop(2);
}
}
Instance of Symbol 156 MovieClip "tombol315" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol315)) {
_root.tombol315.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol317" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol317)) {
_root.tombol317.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol316" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol316)) {
_root.tombol316.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol318" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol318)) {
_root.tombol318.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol319" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol319)) {
_root.tombol319.gotoAndStop(2);
}
}
Instance of Symbol 460 MovieClip "gate314" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate314) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 460 MovieClip "gate311" in Frame 90
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate311) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem31" in Frame 90
onClipEvent (enterFrame) {
if (_root.gelem31._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 90
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.ball.hitTest(_root.tombol311) and (_root.gate311._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate312.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate313.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate311.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol312) and (_root.gate314._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate317.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate316.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate314.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol313) and (_root.gate317._currentframe == 15)) {
_root.panel.start(0, 1);
_root.gate315.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate318.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate317.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol314) and (_root.gate319._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate319.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol315) and (_root.gate319._currentframe == 15)) {
_root.panel.start(0, 1);
_root.gate3111.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate3110.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate319.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol316) and (_root.gate3112._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate3112.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol317) and (_root.gate3113._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate3113.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol318) and (_root.gate3114._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate3114.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tombol319) and (_root.gate3115._currentframe == 1)) {
_root.panel.start(0, 1);
_root.gate3115.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(93);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
}
}
Frame 91
_root.gotoAndPlay(3);
Frame 93
stop();
efek21 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 341 MovieClip "gate21" in Frame 93
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate21) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate212" in Frame 93
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate212) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate213" in Frame 93
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate213) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser211" in Frame 93
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 62)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 62) and (nilai < 124)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 124) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser211) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser212" in Frame 93
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 90)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 90) and (nilai < 180)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 180) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser212) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser213" in Frame 93
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 90)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if ((nilai >= 90) and (nilai < 180)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if (nilai == 180) {
nilai = 0;
}
if ((_root.laser213.listrik._currentframe == 1) and (_root.efek21 == 0)) {
_root.petir.start(0, 1);
}
if (_root.ball.hitTest(_root.laser213) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 367 MovieClip "laser214" in Frame 93
onClipEvent (load) {
nilai = 0;
}
onClipEvent (enterFrame) {
if ((nilai >= 0) and (nilai < 90)) {
_x = (_x - 3);
nilai = nilai + 1;
}
if ((nilai >= 90) and (nilai < 180)) {
_x = (_x + 3);
nilai = nilai + 1;
}
if (nilai == 180) {
nilai = 0;
}
if (_root.ball.hitTest(_root.laser214) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 161 MovieClip "tombol211" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol211) and (aktif == 0)) {
_root.tombol211.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol218.penuh = _root.tombol218.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol212" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol212) and (aktif == 0)) {
_root.tombol212.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol218.penuh = _root.tombol218.penuh + 1;
}
}
Instance of Symbol 161 MovieClip "tombol214" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol214) and (aktif == 0)) {
_root.tombol214.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol218.penuh = _root.tombol218.penuh + 1;
}
}
Instance of Symbol 427 MovieClip "tombol218" in Frame 93
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol218) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 161 MovieClip "tombol213" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol213) and (aktif == 0)) {
_root.tombol213.gotoAndStop(2);
_root.panel.start(0, 1);
aktif = 1;
_root.tombol218.penuh = _root.tombol218.penuh + 1;
}
}
Instance of Symbol 171 MovieClip "tombol219" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol219) and (_currentframe == 1)) {
_root.tombol219.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 184 MovieClip "tombol2112" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2112) and (_currentframe == 1)) {
_root.tombol2112.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 171 MovieClip "tombol2110" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2110) and (_currentframe == 1)) {
_root.tombol2110.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 184 MovieClip "tombol2111" in Frame 93
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2111) and (_currentframe == 1)) {
_root.tombol2111.gotoAndStop(2);
aktif = 1;
}
}
Instance of Symbol 372 MovieClip "tembakan211" in Frame 93
onClipEvent (load) {
gunkeluar = 0;
}
onClipEvent (enterFrame) {
if (gunkeluar == 0) {
attachMovie(_root.panah211, "panah", 1);
_root.panah211._x = this._x - 35;
_root.panah211._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan211) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 2 MovieClip [panah] "panah211" in Frame 93
onClipEvent (enterFrame) {
if (_name != _root.panah211) {
_x = (_x - 10);
}
if (_x < 400) {
_root.panah211.removeMovieClip();
_root.tembakan211.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah211) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah211.removeMovieClip();
_root.tembakan211.gunkeluar = 0;
}
}
Instance of Symbol 372 MovieClip "tembakan212" in Frame 93
onClipEvent (load) {
gunkeluar = 0;
}
onClipEvent (enterFrame) {
if (gunkeluar == 0) {
attachMovie(_root.panah212, "panah", 1);
_root.panah212._x = this._x - 35;
_root.panah212._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan212) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan213" in Frame 93
onClipEvent (load) {
gunkeluar = 0;
}
onClipEvent (enterFrame) {
if (gunkeluar == 0) {
attachMovie(_root.panah213, "panah", 1);
_root.panah213._x = this._x - 35;
_root.panah213._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan213) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 372 MovieClip "tembakan214" in Frame 93
onClipEvent (load) {
gunkeluar = 0;
}
onClipEvent (enterFrame) {
if (gunkeluar == 0) {
attachMovie(_root.panah214, "panah", 1);
_root.panah214._x = this._x - 35;
_root.panah214._y = _y;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan214) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 2 MovieClip [panah] "panah212" in Frame 93
onClipEvent (enterFrame) {
if (_name != _root.panah212) {
_x = (_x - 12);
}
if (_x < 400) {
_root.panah212.removeMovieClip();
_root.tembakan212.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah212) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah212.removeMovieClip();
_root.tembakan212.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah213" in Frame 93
onClipEvent (enterFrame) {
if (_name != _root.panah213) {
_x = (_x - 9);
}
if (_x < 400) {
_root.panah213.removeMovieClip();
_root.tembakan213.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah213) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah213.removeMovieClip();
_root.tembakan213.gunkeluar = 0;
}
}
Instance of Symbol 2 MovieClip [panah] "panah214" in Frame 93
onClipEvent (enterFrame) {
if (_name != _root.panah214) {
_x = (_x - 11);
}
if (_x < 400) {
_root.panah214.removeMovieClip();
_root.tembakan214.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah214) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah214.removeMovieClip();
_root.tembakan214.gunkeluar = 0;
}
}
Instance of Symbol 283 MovieClip "gelem21" in Frame 93
onClipEvent (enterFrame) {
if (_root.gelem21._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 93
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if ((_root.ball.hitTest(_root.tombol218) and (_root.gate21._currentframe == 1)) and (_root.tombol218._currentframe == 5)) {
_root.panel.start(0, 1);
_root.gate21.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol219) and (_root.gate212._currentframe == 1)) and (_root.tombol219.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate212.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate213.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2110) and (_root.gate212._currentframe == 1)) and (_root.tombol2110.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate212.gotoAndPlay(2);
_root.buka.start(0, 1);
_root.gate213.gotoAndPlay(2);
_root.buka.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2111) and (_root.gate212._currentframe == 15)) and (_root.tombol2111.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate212.gotoAndPlay(16);
_root.tutup.start(0, 1);
_root.gate213.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if ((_root.ball.hitTest(_root.tombol2112) and (_root.gate212._currentframe == 15)) and (_root.tombol2112.aktif == 0)) {
_root.panel.start(0, 1);
_root.gate212.gotoAndPlay(16);
_root.tutup.start(0, 1);
_root.gate213.gotoAndPlay(16);
_root.tutup.start(0, 1);
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
_root.efek21 = 1;
}
if ((win == 1) and (_currentframe == 25)) {
_root.gotoAndPlay(96);
_root.efek21 = 1;
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek21 = 1;
}
}
Frame 94
_root.gotoAndPlay(3);
Frame 96
stop();
efek10 = 0;
ball.onEnterFrame = function () {
var _local1 = _root;
var _local2;
var Angle:Number;
_local2 = Math.sqrt(Math.pow(_local1._xmouse - ball._x, 2) + Math.pow(_local1._ymouse - ball._y, 2));
Angle = Math.asin((_local1._xmouse - ball._x) / _local2);
Angle = Angle * 57.2957795130823;
if (_local1._ymouse > ball._y) {
if ((_local1._xmouse > ball._x) || (_local1._xmouse < ball._x)) {
Angle = 180 - Angle;
}
}
ball._rotation = Angle;
};
Instance of Symbol 348 MovieClip "tombak101" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak101) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 341 MovieClip "gate10" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.gate10) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak91) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak103" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak103) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 348 MovieClip "tombak102" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombak102) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
if (_currentframe == 1) {
_root.maju.start(0, 1);
}
}
Instance of Symbol 166 MovieClip "tombol101" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol101)) {
_root.tombol101.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol102" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol102)) {
_root.tombol102.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol103" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol103)) {
_root.tombol103.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol104" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol104)) {
_root.tombol104.gotoAndStop(2);
}
}
Instance of Symbol 2 MovieClip [panah] "panah10" in Frame 96
onClipEvent (enterFrame) {
if (_name != _root.panah10) {
_y = (_y - 10);
}
if (_y < -40) {
_root.panah10.removeMovieClip();
_root.tembakan10.gunkeluar = 0;
}
if (_root.ball.hitTest(_root.panah10) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
_root.panah10.removeMovieClip();
_root.tembakan10.gunkeluar = 0;
}
}
Instance of Symbol 372 MovieClip "tembakan10" in Frame 96
onClipEvent (load) {
gunkeluar = 0;
aktif = 0;
}
onClipEvent (enterFrame) {
if ((gunkeluar == 0) and (aktif == 0)) {
attachMovie(_root.panah10, "panah", 1);
_root.panah10._x = this._x;
_root.panah10._y = this._y - 5;
_root.tembak.start(0, 1);
gunkeluar = 1;
}
if (_root.ball.hitTest(_root.tembakan10) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 283 MovieClip "gelem10" in Frame 96
onClipEvent (enterFrame) {
if (_root.gelem10._currentframe == 1) {
gotoAndPlay (2);
}
}
Instance of Symbol 338 MovieClip "batu101" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu101) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu103" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu103) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 338 MovieClip "batu102" in Frame 96
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.batu102) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 381 MovieClip "kincir10" in Frame 96
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.kincir10.gotoAndPlay(2);
}
if (_root.ball.hitTest(_root.kincir10) and (_root.ball._currentframe == 1)) {
_root.ball.mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
_root.ball.speed = _root.ball.speed - 10;
}
}
Instance of Symbol 335 MovieClip "ball" in Frame 96
onClipEvent (load) {
speed = 10;
mati = 0;
win = 0;
lose = 0;
}
onClipEvent (mouseDown) {
if (mati == 0) {
_root.jalan.stop;
_root.jalan.start(0, 1);
targetX = _root._xmouse;
targetY = _root._ymouse;
}
}
onClipEvent (enterFrame) {
if (mati == 0) {
this._x = this._x + ((targetX - this._x) / speed);
this._y = this._y + ((targetY - this._y) / speed);
test = getBounds(_root);
}
if (_root.wall.hitTest(test.xmax, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(test.xmin, _y, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymin, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (_root.wall.hitTest(_x, test.ymax, true) and (_root.ball._currentframe == 1)) {
mati = 1;
_root.ball.gotoAndPlay(2);
_root.njebluk.start(0, 1);
speed = speed - 10;
}
if (hitTest(_root.tombol101) and (_root.gate10._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.gate10.gotoAndPlay(2);
}
if (hitTest(_root.tombol102) and (_root.batu101._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu101.gotoAndPlay(2);
}
if (hitTest(_root.tombol103) and (_root.batu102._currentframe == 1)) {
_root.panel.start(0, 1);
_root.buka.start(0, 1);
_root.batu102.gotoAndPlay(2);
}
if (hitTest(_root.tombol104) and (_root.tombol104._currentframe == 1)) {
_root.panel.start(0, 1);
_root.tembakan10.aktif = 1;
}
if (_root.ball.hitTest(_root.tele) and (_currentframe == 1)) {
mati = 1;
_root.efek10 = 1;
_root.ball.gotoAndPlay(3);
_root.pindah.start(0, 1);
}
if (((_root.ball.hitTest(_root.item) and (_currentframe == 1)) and (_root.batu103._currentframe == 1)) and (_root.dptitm._currentframe == 1)) {
_root.dptitm.gotoAndPlay(2);
_root.item._visible = false;
_root.gong.start(0, 1);
_root.buka.start(0, 1);
_root.batu103.gotoAndPlay(2);
}
if (((win == 1) and (_currentframe == 25)) and (_root.hitam._currentframe == 1)) {
_root.efek10 = 1;
_root.hitam.gotoAndPlay(2);
}
if ((lose == 1) and (_root.ball.ledakan._currentframe == 18)) {
_root.gotoAndPlay(99);
_root.efek10 = 1;
}
}
Frame 97
_root.gotoAndPlay(3);
Frame 99
stop();
listrik = new Sound();
listrik.attachSound("listrik");
listrik.start(0, 3);
_root.ddde++;
if (_root.ddde >= 3) {
neon.gotoAndStop(2);
}
Frame 100
_root.gotoAndPlay(3);
Frame 102
stop();
_root.listrik.stop();
Symbol 4 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 42 MovieClip Frame 2
if ((_root.getBytesLoaded() / _root.getBytesTotal()) >= 1) {
loaderbar.gotoAndStop(100);
gotoAndPlay (2);
} else {
total_loaded = _root.getBytesLoaded() / _root.getBytesTotal();
total_loaded = Math.round(total_loaded * 100);
loaderbar.gotoAndStop(total_loaded);
gotoAndPlay (1);
}
Symbol 42 MovieClip Frame 80
_root.gotoAndStop(3);
stop();
Symbol 65 MovieClip Frame 7
gotoAndPlay (1);
Symbol 71 MovieClip Frame 30
gotoAndPlay (1);
Symbol 71 MovieClip Frame 41
stop();
Symbol 91 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 98 Button
on (release) {
_root.incer._visible = true;
_root.star._visible = false;
_root.instruction._visible = false;
_root.freeButton._visible = false;
_root.titlehold._visible = false;
_root.wwwThing._visible = false;
_root.codetombol._visible = false;
_root.explorerTitle.gotoAndPlay("fadeout");
}
Symbol 107 Button
on (release) {
_root.codejumper._visible = true;
_root.star._visible = false;
_root.instruction._visible = false;
_root.codetombol._visible = false;
_root.freeButton._visible = false;
}
Symbol 112 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 119 Button
on (release) {
getURL ("http://www.freegamesjungle.com/games_for_my_websites.html", "_blank");
}
Symbol 129 Button
on (release) {
_root.codejumper._visible = false;
_root.star._visible = true;
_root.instruction._visible = true;
_root.codetombol._visible = true;
_root.freeButton._visible = true;
}
Symbol 135 Button
on (release) {
if (_root.codejumper.code.toUpperCase() == "DHUOT") {
_root.musik.stop();
_root.gotoAndPlay(6);
}
if (_root.codejumper.code.toUpperCase() == "KIYEK") {
_root.level = _root.level + 1;
_root.musik.stop();
_root.gotoAndPlay(9);
}
if (_root.codejumper.code.toUpperCase() == "NGOEK") {
_root.level = _root.level + 2;
_root.musik.stop();
_root.gotoAndPlay(12);
}
if (_root.codejumper.code.toUpperCase() == "NGGOG") {
_root.level = _root.level + 3;
_root.musik.stop();
_root.gotoAndPlay(15);
}
if (_root.codejumper.code.toUpperCase() == "PETOK") {
_root.level = _root.level + 4;
_root.musik.stop();
_root.gotoAndPlay(18);
}
if (_root.codejumper.code.toUpperCase() == "GATOT") {
_root.level = _root.level + 5;
_root.musik.stop();
_root.gotoAndPlay(21);
}
if (_root.codejumper.code.toUpperCase() == "GUGUG") {
_root.level = _root.level + 6;
_root.musik.stop();
_root.gotoAndPlay(24);
}
if (_root.codejumper.code.toUpperCase() == "WAJIK") {
_root.level = _root.level + 7;
_root.musik.stop();
_root.gotoAndPlay(27);
}
if (_root.codejumper.code.toUpperCase() == "KWEAK") {
_root.level = _root.level + 8;
_root.musik.stop();
_root.gotoAndPlay(30);
}
if (_root.codejumper.code.toUpperCase() == "PUTHU") {
_root.level = _root.level + 9;
_root.musik.stop();
_root.gotoAndPlay(33);
}
if (_root.codejumper.code.toUpperCase() == "TEKEK") {
_root.level = _root.level + 10;
_root.musik.stop();
_root.gotoAndPlay(36);
}
if (_root.codejumper.code.toUpperCase() == "KWEHH") {
_root.level = _root.level + 11;
_root.musik.stop();
_root.gotoAndPlay(39);
}
if (_root.codejumper.code.toUpperCase() == "NGINK") {
_root.level = _root.level + 12;
_root.musik.stop();
_root.gotoAndPlay(42);
}
if (_root.codejumper.code.toUpperCase() == "CENIL") {
_root.level = _root.level + 13;
_root.musik.stop();
_root.gotoAndPlay(45);
}
if (_root.codejumper.code.toUpperCase() == "HEMMO") {
_root.level = _root.level + 14;
_root.musik.stop();
_root.gotoAndPlay(48);
}
if (_root.codejumper.code.toUpperCase() == "MEONG") {
_root.level = _root.level + 15;
_root.musik.stop();
_root.gotoAndPlay(51);
}
if (_root.codejumper.code.toUpperCase() == "SRABI") {
_root.level = _root.level + 16;
_root.musik.stop();
_root.gotoAndPlay(54);
}
if (_root.codejumper.code.toUpperCase() == "NGENG") {
_root.level = _root.level + 17;
_root.musik.stop();
_root.gotoAndPlay(57);
}
if (_root.codejumper.code.toUpperCase() == "CUCUR") {
_root.level = _root.level + 18;
_root.musik.stop();
_root.gotoAndPlay(60);
}
if (_root.codejumper.code.toUpperCase() == "WAUNG") {
_root.level = _root.level + 19;
_root.musik.stop();
_root.gotoAndPlay(63);
}
if (_root.codejumper.code.toUpperCase() == "WHEEG") {
_root.level = _root.level + 20;
_root.musik.stop();
_root.gotoAndPlay(66);
}
if (_root.codejumper.code.toUpperCase() == "DHUUT") {
_root.level = _root.level + 21;
_root.musik.stop();
_root.gotoAndPlay(69);
}
if (_root.codejumper.code.toUpperCase() == "TIWUL") {
_root.level = _root.level + 22;
_root.musik.stop();
_root.gotoAndPlay(72);
}
if (_root.codejumper.code.toUpperCase() == "THIIT") {
_root.level = _root.level + 23;
_root.musik.stop();
_root.gotoAndPlay(75);
}
if (_root.codejumper.code.toUpperCase() == "KWOOK") {
_root.level = _root.level + 24;
_root.musik.stop();
_root.gotoAndPlay(78);
}
if (_root.codejumper.code.toUpperCase() == "BAKSO") {
_root.level = _root.level + 25;
_root.musik.stop();
_root.gotoAndPlay(81);
}
if (_root.codejumper.code.toUpperCase() == "PREHT") {
_root.level = _root.level + 26;
_root.musik.stop();
_root.gotoAndPlay(84);
}
if (_root.codejumper.code.toUpperCase() == "TEMPE") {
_root.level = _root.level + 27;
_root.musik.stop();
_root.gotoAndPlay(87);
}
if (_root.codejumper.code.toUpperCase() == "LUPIS") {
_root.level = _root.level + 28;
_root.musik.stop();
_root.gotoAndPlay(90);
}
if (_root.codejumper.code.toUpperCase() == "MBEKS") {
_root.level = _root.level + 29;
_root.musik.stop();
_root.gotoAndPlay(93);
}
if (_root.codejumper.code.toUpperCase() == "KRIIK") {
_root.level = _root.level + 30;
_root.musik.stop();
_root.gotoAndPlay(96);
}
}
Symbol 148 Button
on (release) {
_root.incer._visible = false;
_root.star._visible = true;
_root.instruction._visible = true;
_root.freeButton._visible = true;
_root.codetombol._visible = true;
_root.titlehold._visible = true;
_root.wwwThing._visible = true;
_root.explorerTitle.gotoAndPlay("fadein");
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 179 MovieClip Frame 5
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
stop();
Instance of Symbol 156 MovieClip "tombol1712" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol1712)) {
_root.tombol1712.gotoAndStop(2);
}
}
Instance of Symbol 161 MovieClip "tombol31" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol31)) {
_root.tombol31.gotoAndStop(2);
}
}
Instance of Symbol 166 MovieClip "tombol" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol) and (_root.ball.mati == 0)) {
_root.tombol.gotoAndStop(2);
}
}
Instance of Symbol 171 MovieClip "tombol14" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol14)) {
_root.tombol14.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "tombol208" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
penuh = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol208) and (penuh == 4)) {
penuh = penuh + 1;
}
if (penuh == 1) {
gotoAndStop (2);
}
if (penuh == 2) {
gotoAndStop (3);
}
if (penuh == 3) {
gotoAndStop (4);
}
if (penuh == 4) {
gotoAndStop (5);
}
if (penuh == 5) {
gotoAndStop (6);
}
}
Instance of Symbol 184 MovieClip "tombol2112" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
aktif = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.tombol2112) and (_currentframe == 1)) {
_root.tombol2112.gotoAndStop(2);
aktif = 1;
}
}
Symbol 208 MovieClip Frame 1
function camControl() {
var _local1 = _parent;
var _local2 = this;
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / _local2._width;
var _loc3 = (sY / _local2._height);
_local1._x = cX - (_local2._x * _local3);
_local1._y = cY - (_local2._y * _loc3);
_local1._xscale = 100 * _local3;
_local1._yscale = 100 * _loc3;
}
function resetStage() {
var _local1 = _parent;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_local1._xscale = 100;
_local1._yscale = 100;
_local1._x = 0;
_local1._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 266 MovieClip Frame 300
stop();
_root.gotoAndPlay(6);
_root.musik.stop();
Symbol 272 Button
on (release) {
_root.gotoAndPlay(6);
_root.musik.stop();
}
Symbol 280 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 18
stop();
Symbol 293 MovieClip Frame 1
stop();
Instance of Symbol 292 MovieClip "bulat" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
fps = 0;
_root.acj.waktu = 0;
selesai = 0;
}
onClipEvent (enterFrame) {
if (selesai == 0) {
fps++;
}
if (fps == 5) {
fps = 1;
_root.acj.waktu++;
}
if ((_root.acj.waktu == 5) and (_root.acj._currentframe == 1)) {
_root.acj.gotoAndPlay(2);
selesai = 1;
}
if (_root.level == 1) {
_root.acj.pasword = "DHUOT";
}
if (_root.level == 2) {
_root.acj.pasword = "KIYEK";
}
if (_root.level == 3) {
_root.acj.pasword = "NGOEK";
}
if (_root.level == 4) {
_root.acj.pasword = "NGGOG";
}
if (_root.level == 5) {
_root.acj.pasword = "PETOK";
}
if (_root.level == 6) {
_root.acj.pasword = "GATOT";
}
if (_root.level == 7) {
_root.acj.pasword = "GUGUG";
}
if (_root.level == 8) {
_root.acj.pasword = "WAJIK";
}
if (_root.level == 9) {
_root.acj.pasword = "KWEAK";
}
if (_root.level == 10) {
_root.acj.pasword = "PUTHU";
}
if (_root.level == 11) {
_root.acj.pasword = "TEKEK";
}
if (_root.level == 12) {
_root.acj.pasword = "KWEHH";
}
if (_root.level == 13) {
_root.acj.pasword = "NGINK";
}
if (_root.level == 14) {
_root.acj.pasword = "CENIL";
}
if (_root.level == 15) {
_root.acj.pasword = "HEMMO";
}
if (_root.level == 16) {
_root.acj.pasword = "MEONG";
}
if (_root.level == 17) {
_root.acj.pasword = "SRABI";
}
if (_root.level == 18) {
_root.acj.pasword = "NGENG";
}
if (_root.level == 19) {
_root.acj.pasword = "CUCUR";
}
if (_root.level == 20) {
_root.acj.pasword = "WAUNG";
}
if (_root.level == 21) {
_root.acj.pasword = "WHEEG";
}
if (_root.level == 22) {
_root.acj.pasword = "DHUUT";
}
if (_root.level == 23) {
_root.acj.pasword = "TIWUL";
}
if (_root.level == 24) {
_root.acj.pasword = "THIIT";
}
if (_root.level == 25) {
_root.acj.pasword = "KWOOK";
}
if (_root.level == 26) {
_root.acj.pasword = "BAKSO";
}
if (_root.level == 27) {
_root.acj.pasword = "PREHT";
}
if (_root.level == 28) {
_root.acj.pasword = "TEMPE";
}
if (_root.level == 29) {
_root.acj.pasword = "LUPIS";
}
if (_root.level == 30) {
_root.acj.pasword = "MBEKS";
}
if (_root.level == 31) {
_root.acj.pasword = "KRIIK";
}
}
Symbol 293 MovieClip Frame 15
_root.acj._visible = false;
stop();
Symbol 332 MovieClip Frame 18
_root.ball.lose = 1;
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 2
stop();
Symbol 335 MovieClip Frame 25
_root.ball.win = 1;
_root.level = _root.level + 1;
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 14
stop();
Symbol 338 MovieClip Frame 26
gotoAndStop (1);
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 15
stop();
Symbol 341 MovieClip Frame 28
gotoAndStop (1);
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 2
_root.putar.start(0.5, 1);
Symbol 381 MovieClip Frame 36
gotoAndPlay (2);
Symbol 391 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 14
stop();
Symbol 399 MovieClip Frame 26
gotoAndStop (1);
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 15
stop();
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 427 MovieClip Frame 5
stop();
Symbol 427 MovieClip Frame 6
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 14
stop();
Symbol 435 MovieClip Frame 29
gotoAndStop (1);
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 10
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 5
gotoAndStop (1);
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 10
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 41
_root.dptitm._visible = false;
stop();
Symbol 478 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 77
_root.gotoAndPlay(102);
Symbol 483 MovieClip Frame 8
stop();
Symbol 486 Button
on (release) {
_root.listrik.stop();
if (_root.level == 1) {
_root.gotoAndPlay(5);
}
if (_root.level == 2) {
_root.gotoAndPlay(8);
}
if (_root.level == 3) {
_root.gotoAndPlay(11);
}
if (_root.level == 4) {
_root.gotoAndPlay(14);
}
if (_root.level == 5) {
_root.gotoAndPlay(17);
}
if (_root.level == 6) {
_root.gotoAndPlay(20);
}
if (_root.level == 7) {
_root.gotoAndPlay(23);
}
if (_root.level == 8) {
_root.gotoAndPlay(26);
}
if (_root.level == 9) {
_root.gotoAndPlay(29);
}
if (_root.level == 10) {
_root.gotoAndPlay(32);
}
if (_root.level == 11) {
_root.gotoAndPlay(35);
}
if (_root.level == 12) {
_root.gotoAndPlay(38);
}
if (_root.level == 13) {
_root.gotoAndPlay(41);
}
if (_root.level == 14) {
_root.gotoAndPlay(44);
}
if (_root.level == 15) {
_root.gotoAndPlay(47);
}
if (_root.level == 16) {
_root.gotoAndPlay(50);
}
if (_root.level == 17) {
_root.gotoAndPlay(53);
}
if (_root.level == 18) {
_root.gotoAndPlay(56);
}
if (_root.level == 19) {
_root.gotoAndPlay(59);
}
if (_root.level == 20) {
_root.gotoAndPlay(62);
}
if (_root.level == 21) {
_root.gotoAndPlay(65);
}
if (_root.level == 22) {
_root.gotoAndPlay(68);
}
if (_root.level == 23) {
_root.gotoAndPlay(71);
}
if (_root.level == 24) {
_root.gotoAndPlay(74);
}
if (_root.level == 25) {
_root.gotoAndPlay(77);
}
if (_root.level == 26) {
_root.gotoAndPlay(80);
}
if (_root.level == 27) {
_root.gotoAndPlay(83);
}
if (_root.level == 28) {
_root.gotoAndPlay(86);
}
if (_root.level == 29) {
_root.gotoAndPlay(89);
}
if (_root.level == 30) {
_root.gotoAndPlay(92);
}
if (_root.level == 31) {
_root.gotoAndPlay(95);
}
}
Symbol 490 MovieClip Frame 8
stop();
Symbol 493 Button
on (release) {
_root.listrik.stop();
_root.gotoAndPlay(3);
}
Symbol 504 MovieClip Frame 6
gotoAndPlay (1);
Symbol 517 MovieClip Frame 13
gotoAndPlay (1);
Symbol 528 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 529 MovieClip Frame 1
stop();
Symbol 531 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 550 MovieClip Frame 35
_root.end.gotoAndPlay(6);
stop();
Symbol 554 MovieClip Frame 75
_root.gotoAndPlay(3);
stop();
Symbol 555 MovieClip Frame 1
stop();
ending = new Sound();
ending.attachSound("ending");
ending.start(0, 1);
Instance of Symbol 292 MovieClip "bulat" in Symbol 555 MovieClip Frame 1
onClipEvent (load) {
fps = 0;
_root.end.time = 0;
selesai = 0;
}
onClipEvent (enterFrame) {
if (selesai == 0) {
fps++;
}
if (fps == 9) {
fps = 1;
_root.end.time++;
}
if (_root.end.time == 8) {
_root.end.gotoAndStop(2);
}
if (_root.end.time == 17) {
_root.end.gotoAndStop(3);
}
if (_root.end.time == 25) {
_root.end.gotoAndStop(4);
}
if (_root.end.time == 34) {
_root.end.gotoAndStop(5);
}
if (_root.end.time == 38) {
selesai = 1;
}
}
Symbol 555 MovieClip Frame 2
stop();
Symbol 555 MovieClip Frame 3
stop();
Symbol 555 MovieClip Frame 4
stop();
Symbol 555 MovieClip Frame 5
stop();
Symbol 555 MovieClip Frame 6
stop();