Frame 1
_root.lasuta._xscale = int((_root.getBytesLoaded() * 100) / _root.getBytesTotal());
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (load) {
function duteLaAlnostru() {
getURL ("http://www.imh.ro", "_top");
}
var alnostru = new ContextMenu();
alnostru.hideBuiltInItems();
var saitunostru = new ContextMenuItem("Made by IMH", duteLaAlnostru);
alnostru.customItems.push(saitunostru);
_root.menu = alnostru;
}
Frame 2
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndPlay (1);
}
Frame 11
stop();
Mouse.show();
Instance of Symbol 24 MovieClip in Frame 11
on (rollOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.nextFrame();
}
Instance of Symbol 26 MovieClip in Frame 11
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Instance of Symbol 28 MovieClip in Frame 11
on (release) {
getURL ("http://www.koalafun.com/free-website-games.htm", "_blank");
}
Frame 12
stop();
Mouse.show();
_root.ommare.gotoAndStop(1);
_root.scor.text = 0;
Frame 13
function executeCallback() {
x = int(Math.random() * 2);
if (x == 0) {
_root.bani.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 3;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul + 10;
_root.scor.text = _root.scorul;
this.gotoAndPlay(2);
}
if (this._y > 400) {
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.removeMovieClip();
}
}
};
}
if (x == 1) {
_root.banim.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 4;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul - 10;
_root.scor.text = _root.scorul;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.gotoAndPlay(2);
}
if (this._y > 400) {
this.removeMovieClip();
}
}
};
}
_root.ab++;
if (_root.ab >= 100) {
_root.ab = 1;
}
clearInterval(_root.intervalId);
_root.timp = int(Math.random() * 501) + 1000;
intervalId = setInterval(this, "executeCallback", _root.timp);
}
stop();
Mouse.hide();
ab = 1;
_root.scorul = 0;
_root.scorTotal = 0;
_root.prosti = 0;
_root.timp = int(Math.random() * 501) + 1000;
var intervalId;
intervalId = setInterval(this, "executeCallback", _root.timp);
var mouseListener = new Object();
mouseListener.onMouseMove = function () {
_root.om._x = _xmouse - (_root.om._width / 2);
if (_root.om._x < 0) {
_root.om._x = 0;
}
if (_root.om._x > 500) {
_root.om._x = 500;
}
};
Mouse.addListener(mouseListener);
onEnterFrame = function () {
if (_root.scorul <= 25) {
_root.om.cos.gotoAndStop(1);
}
if ((_root.scorul > 25) and (_root.scorul <= 50)) {
_root.om.cos.gotoAndStop(2);
}
if ((_root.scorul > 50) and (_root.scorul <= 75)) {
_root.om.cos.gotoAndStop(3);
}
if ((_root.scorul > 75) and (_root.scorul <= 100)) {
_root.om.cos.gotoAndStop(4);
}
if (_root.scorul == 100) {
_root.stergele();
_root.nextFrame();
delete onEnterFrame;
}
};
_root.stergele = function () {
i = 1;
while (i <= 100) {
removeMovieClip("bani" + i);
i++;
}
clearInterval(_root.intervalId);
};
Instance of Symbol 26 MovieClip in Frame 13
on (rollOver) {
Mouse.show();
}
on (releaseOutside, rollOut) {
Mouse.hide();
}
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 14
stop();
Mouse.show();
_root.ommare.gotoAndStop(2);
_root.scorTotal = (_root.scor.text = _root.scorul);
Instance of Symbol 24 MovieClip in Frame 14
on (rollOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.nextFrame();
}
Instance of Symbol 26 MovieClip in Frame 14
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 15
function executeCallback() {
x = int(Math.random() * 3);
if ((x == 0) || (x == 2)) {
_root.bani.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 4;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul + 10;
_root.scor.text = _root.scorul;
this.gotoAndPlay(2);
}
if (this._y > 400) {
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.removeMovieClip();
}
}
};
}
if (x == 1) {
_root.banim.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 6;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul - 10;
_root.scor.text = _root.scorul;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.gotoAndPlay(2);
}
if (this._y > 400) {
this.removeMovieClip();
}
}
};
}
_root.ab++;
if (((_root.ab % 20) == 0) and (!(_root.r1._currentframe === 1))) {
_root.viata.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab]._y = -50;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 3;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.prosti--;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(1);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(1);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(1);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(2);
}
this.removeMovieClip();
}
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
if (_root.ab >= 100) {
_root.ab = 1;
}
clearInterval(_root.intervalId);
_root.timp = int(Math.random() * 501) + 500;
intervalId = setInterval(this, "executeCallback", _root.timp);
}
stop();
Mouse.hide();
_root.om.gotoAndStop(2);
ab = 1;
_root.scorul = 0;
_root.timp = int(Math.random() * 501) + 500;
var intervalId;
intervalId = setInterval(this, "executeCallback", _root.timp);
onEnterFrame = function () {
if (_root.scorul <= 50) {
_root.om.cos.gotoAndStop(1);
}
if ((_root.scorul > 50) and (_root.scorul <= 100)) {
_root.om.cos.gotoAndStop(2);
}
if ((_root.scorul > 100) and (_root.scorul <= 150)) {
_root.om.cos.gotoAndStop(3);
}
if ((_root.scorul > 150) and (_root.scorul <= 200)) {
_root.om.cos.gotoAndStop(4);
}
if (_root.scorul == 200) {
_root.stergele();
_root.nextFrame();
delete onEnterFrame;
}
};
Instance of Symbol 26 MovieClip in Frame 15
on (rollOver) {
Mouse.show();
}
on (releaseOutside, rollOut) {
Mouse.hide();
}
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 16
stop();
Mouse.show();
_root.ommare.gotoAndStop(3);
_root.scorTotal = _root.scorTotal + _root.scorul;
_root.scor.text = _root.scorTotal;
Instance of Symbol 24 MovieClip in Frame 16
on (rollOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.nextFrame();
}
Instance of Symbol 26 MovieClip in Frame 16
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 17
function executeCallback() {
x = int(Math.random() * 16);
if (((x % 2) == 0) and (x < 15)) {
_root.bani.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 5;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul + 10;
_root.scor.text = _root.scorul;
this.gotoAndPlay(2);
}
if (this._y > 400) {
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.removeMovieClip();
}
}
};
}
if (((x % 2) == 1) and (x < 15)) {
_root.banim.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 7;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul - 10;
_root.scor.text = _root.scorul;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.gotoAndPlay(2);
}
if (this._y > 400) {
this.removeMovieClip();
}
}
};
}
if (x >= 15) {
_root.pasare.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._y = Math.random() * 90;
_root["bani" + ab]._x = -100;
_root["bani" + ab].onEnterFrame = function () {
this._x = this._x + 5;
if ((this._x >= 100) and (this._currentframe == 1)) {
this.gotoAndStop(2);
_root.ab++;
ics = this._x + 10;
igrec = this._y + 40;
_root.cacarez.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = ics;
_root["bani" + ab]._y = igrec;
_root["bani" + ab].onEnterFrame = function () {
this._x = this._x + 3;
this._y = this._y + 2;
if ((this.hitTest(_root.om) == true) and (this._y < 400)) {
_root.scorul = _root.scorul - 50;
_root.scor.text = _root.scorul;
_root.prosti++;
if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r1.gotoAndStop(3);
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r2.gotoAndStop(3);
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
removeMovieClip(this);
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
};
}
_root.ab++;
if (((_root.ab % 15) == 0) and (!(_root.r1._currentframe === 1))) {
_root.viata.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab]._y = -50;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 3;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.prosti--;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(1);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(1);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(1);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(2);
}
this.removeMovieClip();
}
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
if (_root.ab >= 100) {
_root.ab = 1;
}
clearInterval(_root.intervalId);
_root.timp = int(Math.random() * 501) + 500;
intervalId = setInterval(this, "executeCallback", _root.timp);
}
stop();
Mouse.hide();
_root.om.gotoAndStop(3);
ab = 1;
_root.scorul = 0;
_root.timp = int(Math.random() * 501) + 500;
var intervalId;
intervalId = setInterval(this, "executeCallback", _root.timp);
onEnterFrame = function () {
if (_root.scorul <= 50) {
_root.om.cos.gotoAndStop(1);
}
if ((_root.scorul > 50) and (_root.scorul <= 100)) {
_root.om.cos.gotoAndStop(2);
}
if ((_root.scorul > 150) and (_root.scorul <= 200)) {
_root.om.cos.gotoAndStop(3);
}
if ((_root.scorul > 200) and (_root.scorul <= 300)) {
_root.om.cos.gotoAndStop(4);
}
if (_root.scorul == 300) {
_root.stergele();
_root.nextFrame();
delete onEnterFrame;
}
};
Instance of Symbol 26 MovieClip in Frame 17
on (rollOver) {
Mouse.show();
}
on (releaseOutside, rollOut) {
Mouse.hide();
}
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 18
stop();
Mouse.show();
_root.ommare.gotoAndStop(4);
_root.scorTotal = _root.scorTotal + _root.scorul;
_root.scor.text = _root.scorTotal;
Instance of Symbol 24 MovieClip in Frame 18
on (rollOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.nextFrame();
}
Instance of Symbol 26 MovieClip in Frame 18
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 19
function executeCallback() {
x = int(Math.random() * 19);
if (((x % 2) == 0) and (x < 15)) {
_root.bani.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 6;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul + 10;
_root.scor.text = _root.scorul;
this.gotoAndPlay(2);
}
if (this._y > 400) {
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.removeMovieClip();
}
}
};
}
if (((x % 2) == 1) and (x < 15)) {
_root.banim.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 7;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul - 10;
_root.scor.text = _root.scorul;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.gotoAndPlay(2);
}
if (this._y > 400) {
this.removeMovieClip();
}
}
};
}
if (x >= 15) {
_root.pasare.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._y = Math.random() * 90;
_root["bani" + ab]._x = -100;
_root["bani" + ab].onEnterFrame = function () {
this._x = this._x + 5;
if ((this._x >= 100) and (this._currentframe == 1)) {
this.gotoAndStop(2);
_root.ab++;
ics = this._x + 10;
igrec = this._y + 40;
_root.cacarez.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = ics;
_root["bani" + ab]._y = igrec;
_root["bani" + ab].onEnterFrame = function () {
this._x = this._x + 2;
this._y = this._y + 3;
if ((this.hitTest(_root.om) == true) and (this._y < 400)) {
_root.scorul = _root.scorul - 50;
_root.scor.text = _root.scorul;
_root.prosti++;
if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r1.gotoAndStop(3);
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r2.gotoAndStop(3);
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
removeMovieClip(this);
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
};
}
_root.ab++;
if (((_root.ab % 15) == 0) and (!(_root.r1._currentframe === 1))) {
_root.viata.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab]._y = -50;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 3;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.prosti--;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(1);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(1);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(1);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(2);
}
this.removeMovieClip();
}
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
if (_root.ab >= 100) {
_root.ab = 1;
}
clearInterval(_root.intervalId);
_root.timp = int(Math.random() * 501) + 500;
intervalId = setInterval(this, "executeCallback", _root.timp);
}
stop();
Mouse.hide();
_root.om.gotoAndStop(4);
ab = 1;
_root.scorul = 0;
_root.timp = int(Math.random() * 501) + 500;
var intervalId;
intervalId = setInterval(this, "executeCallback", _root.timp);
onEnterFrame = function () {
if (_root.scorul <= 50) {
_root.om.cos.gotoAndStop(1);
}
if ((_root.scorul > 50) and (_root.scorul <= 100)) {
_root.om.cos.gotoAndStop(2);
}
if ((_root.scorul > 150) and (_root.scorul <= 200)) {
_root.om.cos.gotoAndStop(3);
}
if ((_root.scorul > 200) and (_root.scorul <= 300)) {
_root.om.cos.gotoAndStop(4);
}
if (_root.scorul == 300) {
_root.stergele();
_root.nextFrame();
delete onEnterFrame;
}
};
Instance of Symbol 26 MovieClip in Frame 19
on (rollOver) {
Mouse.show();
}
on (releaseOutside, rollOut) {
Mouse.hide();
}
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 20
stop();
Mouse.show();
_root.ommare.gotoAndStop(5);
_root.scorTotal = _root.scorTotal + _root.scorul;
_root.scor.text = _root.scorTotal;
Instance of Symbol 24 MovieClip in Frame 20
on (rollOver) {
this.gotoAndStop(2);
}
on (releaseOutside, rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.nextFrame();
}
Instance of Symbol 26 MovieClip in Frame 20
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 21
function executeCallback() {
x = int(Math.random() * 22);
if (((x % 2) == 0) and (x < 15)) {
_root.bani.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 6;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul + 10;
_root.scor.text = _root.scorul;
this.gotoAndPlay(2);
}
if (this._y > 400) {
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.removeMovieClip();
}
}
};
}
if (((x % 2) == 1) and (x < 15)) {
_root.banim.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 7;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.scorul = _root.scorul - 10;
_root.scor.text = _root.scorul;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
this.gotoAndPlay(2);
}
if (this._y > 400) {
this.removeMovieClip();
}
}
};
}
if ((x >= 15) and (x <= 19)) {
_root.pasare.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._y = Math.random() * 90;
_root["bani" + ab]._x = -100;
_root["bani" + ab].onEnterFrame = function () {
this._x = this._x + 5;
if ((this._x >= 100) and (this._currentframe == 1)) {
this.gotoAndStop(2);
_root.ab++;
ics = this._x + 10;
igrec = this._y + 40;
_root.cacarez.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = ics;
_root["bani" + ab]._y = igrec;
_root["bani" + ab].onEnterFrame = function () {
this._x = this._x + 2;
this._y = this._y + 3;
if ((this.hitTest(_root.om) == true) and (this._y < 400)) {
_root.scorul = _root.scorul - 50;
_root.scor.text = _root.scorul;
_root.prosti++;
if (_root.prosti == 1) {
_root.r1.gotoAndStop(3);
} else if (_root.prosti == 2) {
_root.r1.gotoAndStop(3);
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(3);
} else if (_root.prosti == 4) {
_root.r2.gotoAndStop(3);
_root.r3.gotoAndStop(2);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(3);
_root.gotoAndStop("gameover");
}
_root.prosti++;
removeMovieClip(this);
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
};
}
if (x == 20) {
_root.f1.gotoAndPlay(2);
}
if (x == 21) {
_root.f2.gotoAndPlay(2);
}
_root.ab++;
if (((_root.ab % 15) == 0) and (!(_root.r1._currentframe === 1))) {
_root.viata.duplicateMovieClip("bani" + ab, ab);
_root["bani" + ab]._x = Math.random() * 501;
_root["bani" + ab]._y = -50;
_root["bani" + ab].onEnterFrame = function () {
if (this._currentframe == 1) {
this._y = this._y + 3;
updateAfterEvent();
if ((this.hitTest(_root.om) == true) and (this._y < 330)) {
_root.prosti--;
if (_root.prosti == 0) {
_root.r1.gotoAndStop(1);
} else if (_root.prosti == 1) {
_root.r1.gotoAndStop(2);
} else if (_root.prosti == 2) {
_root.r2.gotoAndStop(1);
} else if (_root.prosti == 3) {
_root.r2.gotoAndStop(2);
} else if (_root.prosti == 4) {
_root.r3.gotoAndStop(1);
} else if (_root.prosti == 5) {
_root.r3.gotoAndStop(2);
}
this.removeMovieClip();
}
}
if (this._y > 400) {
this.removeMovieClip();
}
};
_root.ab++;
}
if (_root.ab >= 100) {
_root.ab = 1;
}
clearInterval(_root.intervalId);
_root.timp = int(Math.random() * 501) + 500;
intervalId = setInterval(this, "executeCallback", _root.timp);
}
stop();
Mouse.hide();
_root.om.gotoAndStop(5);
ab = 1;
_root.scorul = 0;
_root.timp = int(Math.random() * 501) + 500;
var intervalId;
intervalId = setInterval(this, "executeCallback", _root.timp);
onEnterFrame = function () {
if (_root.scorul <= 50) {
_root.om.cos.gotoAndStop(1);
}
if ((_root.scorul > 50) and (_root.scorul <= 100)) {
_root.om.cos.gotoAndStop(2);
}
if ((_root.scorul > 150) and (_root.scorul <= 200)) {
_root.om.cos.gotoAndStop(3);
}
if ((_root.scorul > 200) and (_root.scorul <= 300)) {
_root.om.cos.gotoAndStop(4);
}
if (_root.scorul == 300) {
_root.stergele();
_root.nextFrame();
delete onEnterFrame;
}
};
Instance of Symbol 26 MovieClip in Frame 21
on (rollOver) {
Mouse.show();
}
on (releaseOutside, rollOut) {
Mouse.hide();
}
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 22
stop();
Mouse.show();
_root.ommare.gotoAndStop(6);
_root.scorTotal = _root.scorTotal + _root.scorul;
_root.scor.text = _root.scorTotal;
Instance of Symbol 127 MovieClip in Frame 22
on (release) {
getURL ("http://www.imh.ro/game");
}
Instance of Symbol 129 MovieClip in Frame 22
on (release) {
getURL ("http://www.koalafun.com", "_blank");
}
Frame 23
stop();
Mouse.show();
_root.scorTotal = _root.scorTotal + _root.scorul;
_root.scor.text = _root.scorTotal;
_root.stergele();
_root.scor.text = _root.scorTotal;
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 29
gotoAndPlay (10);
Symbol 47 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 10
removeMovieClip(this._parent);
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 10
removeMovieClip(this._parent);
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 1
stop();
Instance of Symbol 113 MovieClip in Symbol 116 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.om) == true) {
trace("dadada");
}
}