Frame 1
stop();
Frame 2
stop();
Frame 3
Stage.showMenu = false;
stop();
poin = 0;
jarijari = pemain._width / 2;
kecepatan = 5;
pemain.onEnterFrame = function () {
var _local1 = this;
if (Key.isDown(37)) {
_local1._x = _local1._x - kecepatan;
}
if (Key.isDown(39)) {
_local1._x = _local1._x + kecepatan;
}
if (Key.isDown(38)) {
_local1._y = _local1._y - kecepatan;
}
if (Key.isDown(40)) {
_local1._y = _local1._y + kecepatan;
}
if (_local1.hitTest(penghalang1)) {
gotoAndPlay (4);
}
if (_local1.hitTest(penghalang2)) {
gotoAndPlay (4);
}
if (_local1.hitTest(penghalang3)) {
gotoAndPlay (4);
}
if (_local1.hitTest(poin1)) {
poin = poin + 1;
poin1._y = -1000;
}
if (_local1.hitTest(poin2)) {
poin = poin + 1;
poin2._y = -1000;
}
if (_local1.hitTest(poin3)) {
poin = poin + 1;
poin3._y = -1000;
}
if (poin > 2) {
gotoAndPlay (5);
}
while (dinding.hitTest(_local1._x, _local1._y + jarijari, true)) {
_local1._y--;
}
while (dinding.hitTest(_local1._x, _local1._y - jarijari, true)) {
_local1._y++;
}
while (dinding.hitTest(_local1._x - jarijari, _local1._y, true)) {
_local1._x++;
}
while (dinding.hitTest(_local1._x + jarijari, _local1._y, true)) {
_local1._x--;
}
};
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
poin = 0;
jarijari = pemain._width / 2;
kecepatan = 5;
pemain.onEnterFrame = function () {
var _local1 = this;
if (Key.isDown(37)) {
_local1._x = _local1._x - kecepatan;
}
if (Key.isDown(39)) {
_local1._x = _local1._x + kecepatan;
}
if (Key.isDown(38)) {
_local1._y = _local1._y - kecepatan;
}
if (Key.isDown(40)) {
_local1._y = _local1._y + kecepatan;
}
if (_local1.hitTest(penghalang1)) {
gotoAndPlay (7);
}
if (_local1.hitTest(penghalang2)) {
gotoAndPlay (7);
}
if (_local1.hitTest(penghalang3)) {
gotoAndPlay (7);
}
if (_local1.hitTest(penghalang4)) {
gotoAndPlay (7);
}
if (_local1.hitTest(penghalang5)) {
gotoAndPlay (7);
}
if (_local1.hitTest(penghalang6)) {
gotoAndPlay (7);
}
if (_local1.hitTest(penghalang7)) {
gotoAndPlay (7);
}
if (_local1.hitTest(poin1)) {
poin = poin + 1;
poin1._y = -1000;
}
if (_local1.hitTest(poin2)) {
poin = poin + 1;
poin2._y = -1000;
}
if (_local1.hitTest(poin3)) {
poin = poin + 1;
poin3._y = -1000;
}
if (_local1.hitTest(poin4)) {
poin = poin + 1;
poin4._y = -1000;
}
if (_local1.hitTest(poin5)) {
poin = poin + 1;
poin5._y = -1000;
}
if (_local1.hitTest(poin6)) {
poin = poin + 1;
poin6._y = -1000;
}
if (poin > 5) {
gotoAndPlay (8);
}
while (dinding.hitTest(_local1._x, _local1._y + jarijari, true)) {
_local1._y--;
}
while (dinding.hitTest(_local1._x, _local1._y - jarijari, true)) {
_local1._y++;
}
while (dinding.hitTest(_local1._x - jarijari, _local1._y, true)) {
_local1._x++;
}
while (dinding.hitTest(_local1._x + jarijari, _local1._y, true)) {
_local1._x--;
}
};
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
poin = 0;
jarijari = pemain._width / 2;
kecepatan = 5;
pemain.onEnterFrame = function () {
var _local1 = this;
if (Key.isDown(37)) {
_local1._x = _local1._x - kecepatan;
}
if (Key.isDown(39)) {
_local1._x = _local1._x + kecepatan;
}
if (Key.isDown(38)) {
_local1._y = _local1._y - kecepatan;
}
if (Key.isDown(40)) {
_local1._y = _local1._y + kecepatan;
}
if (_local1.hitTest(penghalang1)) {
gotoAndPlay (10);
}
if (_local1.hitTest(penghalang2)) {
gotoAndPlay (10);
}
if (_local1.hitTest(penghalang3)) {
gotoAndPlay (10);
}
if (_local1.hitTest(penghalang4)) {
gotoAndPlay (10);
}
if (_local1.hitTest(penghalang5)) {
gotoAndPlay (10);
}
if (_local1.hitTest(penghalang6)) {
gotoAndPlay (10);
}
if (_local1.hitTest(penghalang7)) {
gotoAndPlay (10);
}
if (_local1.hitTest(poin1)) {
poin = poin + 1;
poin1._y = -1000;
}
if (_local1.hitTest(poin2)) {
poin = poin + 1;
poin2._y = -1000;
}
if (_local1.hitTest(poin3)) {
poin = poin + 1;
poin3._y = -1000;
}
if (_local1.hitTest(poin4)) {
poin = poin + 1;
poin4._y = -1000;
}
if (_local1.hitTest(poin5)) {
poin = poin + 1;
poin5._y = -1000;
}
if (poin > 4) {
gotoAndPlay (11);
}
while (dinding.hitTest(_local1._x, _local1._y + jarijari, true)) {
_local1._y--;
}
while (dinding.hitTest(_local1._x, _local1._y - jarijari, true)) {
_local1._y++;
}
while (dinding.hitTest(_local1._x - jarijari, _local1._y, true)) {
_local1._x++;
}
while (dinding.hitTest(_local1._x + jarijari, _local1._y, true)) {
_local1._x--;
}
};
Frame 10
stop();
Frame 11
stop();
Frame 12
Stage.showMenu = false;
stop();
poin = 0;
jarijari = pemain._width / 2;
kecepatan = 5;
pemain.onEnterFrame = function () {
var _local1 = this;
if (Key.isDown(37)) {
_local1._x = _local1._x - kecepatan;
}
if (Key.isDown(39)) {
_local1._x = _local1._x + kecepatan;
}
if (Key.isDown(38)) {
_local1._y = _local1._y - kecepatan;
}
if (Key.isDown(40)) {
_local1._y = _local1._y + kecepatan;
}
if (_local1.hitTest(penghalang1)) {
gotoAndPlay (13);
}
if (_local1.hitTest(penghalang2)) {
gotoAndPlay (13);
}
if (_local1.hitTest(penghalang3)) {
gotoAndPlay (13);
}
if (_local1.hitTest(penghalang4)) {
gotoAndPlay (13);
}
if (_local1.hitTest(penghalang5)) {
gotoAndPlay (13);
}
if (_local1.hitTest(penghalang6)) {
gotoAndPlay (13);
}
if (_local1.hitTest(poin1)) {
poin = poin + 1;
poin1._y = -1000;
}
if (_local1.hitTest(poin2)) {
poin = poin + 1;
poin2._y = -1000;
}
if (_local1.hitTest(poin3)) {
poin = poin + 1;
poin3._y = -1000;
}
if (_local1.hitTest(poin4)) {
poin = poin + 1;
poin4._y = -1000;
}
if (poin > 3) {
gotoAndPlay (14);
}
while (dinding.hitTest(_local1._x, _local1._y + jarijari, true)) {
_local1._y--;
}
while (dinding.hitTest(_local1._x, _local1._y - jarijari, true)) {
_local1._y++;
}
while (dinding.hitTest(_local1._x - jarijari, _local1._y, true)) {
_local1._x++;
}
while (dinding.hitTest(_local1._x + jarijari, _local1._y, true)) {
_local1._x--;
}
};
Frame 13
stop();
Frame 14
stop();
Frame 15
stop();
Symbol 4 MovieClip Frame 1
Total = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (Total != 100) {
kotak._xscale = Total;
} else {
_root.gotoAndPlay(2);
}
Symbol 4 MovieClip Frame 2
gotoAndPlay (1);
Symbol 12 Button
on (release) {
gotoAndPlay ("level1");
}
Symbol 33 Button
on (press) {
gotoAndPlay ("level1");
}
Symbol 41 Button
on (press) {
gotoAndPlay ("level2");
}
Symbol 44 Button
on (press) {
gotoAndPlay ("level2");
}
Symbol 45 Button
on (press) {
gotoAndPlay ("level3");
}
Symbol 48 Button
on (press) {
gotoAndPlay ("level3");
}
Symbol 49 Button
on (press) {
gotoAndPlay ("level4");
}
Symbol 51 Button
on (press) {
gotoAndPlay ("level4");
}
Symbol 52 Button
on (press) {
gotoAndPlay ("level5");
}
Symbol 55 Button
on (release) {
gotoAndPlay (2);
}