Frame 1
function min(a, b) {
if (a < b) {
return(a);
}
return(b);
}
function butterFlyMinus1() {
butterPow = butterPow - spd1_u;
setIndicators();
}
function butterFlyMinus3() {
butterPow = butterPow - spd3_u;
setIndicators();
}
function butterFlyMinusMy1() {
butterPow = butterPow - butt_vint;
setIndicators();
}
function butterFlyMinusMy2() {
butterPow = butterPow - butt_gus;
setIndicators();
}
function netAdd() {
butterNet = butterNet + butt_net;
setIndicators();
}
function changeGun(num) {
curGun = num;
i = 1;
while (3 >= i) {
tmpP = eval ("gpos" + i);
tmpP._visible = i == num;
tmpP = eval ("cur" + i);
tmpP._visible = (i == num) && (!mouseVisible);
i++;
}
}
function setIndicators() {
if (100 < butterNet) {
butterNet = 100;
}
ind_pow.a._x = ind_pow.b._x - (ind_pow.b._width * (1 - (butterPow / 100)));
ind_net.a._x = ind_net.b._x - (ind_net.b._width * (1 - (butterNet / 100)));
if (0 >= butterNet) {
gameWin();
}
if (0 >= butterPow) {
gameOver();
}
}
function removeAll() {
i = 1;
while (spdC >= i) {
spdA[i].remove();
i++;
}
}
function gameOver() {
removeAll();
mc_sloop.gotoAndStop(3);
this.gotoAndPlay("lamo");
Mouse.show();
_quality = "HIGH";
}
function gameWin() {
removeAll();
mc_sloop.gotoAndStop(3);
this.gotoAndPlay("rul");
Mouse.show();
_quality = "HIGH";
}
function gameStart() {
level = 0;
nextLevel();
Set("/gametablo:scores", 0);
setProperty("/gametablo", _visible , true);
}
function nextLevel() {
level++;
gotoAndStop (4);
if (!stopSoundFlag) {
mc_sloop.gotoAndStop(2);
}
_quality = "MEDIUM";
}
function newGame() {
setProperty("/Game", _visible , 0);
this.Stop();
setProperty("/Rating", _visible , 1);
tellTarget ("/Rating") {
gotoAndStop ("Save");
};
}
function startPause() {
pauseFlag = true;
mc_sloop.gotoAndStop(3);
}
function stopPause() {
pauseFlag = false;
if (!stopSoundFlag) {
mc_sloop.gotoAndStop(2);
}
}
function stopMySound() {
stopSoundFlag = true;
mc_sloop.gotoAndStop(3);
}
function startMySound() {
stopSoundFlag = false;
if (!pauseFlag) {
mc_sloop.gotoAndStop(2);
}
}
function playSnd(lib_snd, v) {
s = new Sound(this);
s.attachSound(lib_snd);
s.setVolume(v);
s.start();
}
mP = 57.2957795130823;
mPo = (Math.PI/180);
sp_r1 = 45;
sp_r2 = 110;
_sp1 = 4000;
_sp1_k = 4500;
_sp2 = 3000;
_sp2_k = 3300;
_sp2_s = 3600;
_sp3 = 2000;
_sp3_k = 2500;
_bms = 7000;
_bmb1 = 8000;
_bmb2 = 8500;
_netv = 9000;
_netp = 9600;
_net = 9300;
_butb = 10000;
Spider1 = function (num, parent, parent_k, _boom, velo) {
this.num = Number(num);
this.p = parent;
this.p_k = parent_k;
this.p.sender = (this.p_k.sender = this);
parent_k._visible = false;
parent_k._x = (parent_k._y = -1000);
this.pB = _boom;
this.vx = 0;
this.vy = 0;
this.v = velo;
this.st = 0;
this.wNum = -1;
this.p_tmp_B = null;
this.fBoom = false;
};
Spider1.prototype.sGo = function () {
this.wNum = random(6);
i = 0;
while (5 >= i) {
if (freeWay[this.wNum] == true) {
break;
}
this.wNum++;
if (this.wNum == 6) {
this.wNum = 0;
}
i++;
}
tmpI = this.wNum * 60;
this.vx = Math.sin(tmpI * mPo);
this.vy = Math.cos(tmpI * mPo);
freeWay[this.wNum] = false;
a = 45;
k = Math.abs(this.vy / this.vx);
x = 195 + a;
y = k * x;
y0 = 195 + a;
if (y0 < y) {
y = y0;
x = y / k;
}
if (this.vx < 0) {
x = -x;
}
if (this.vy < 0) {
y = -y;
}
this.p._x = 195 + x;
this.p._y = 195 + y;
with (this) {
p._visible = true;
vx = -vx;
vy = -vy;
tmpI = Math.atan2(vx, vy) * mP;
p._rotation = (-tmpI) + 180;
st = 1;
}
};
Spider1.prototype.goto = function () {
with (this) {
if (st == 1) {
p._x = p._x + (vx * v);
p._y = p._y + (vy * v);
if (Math.abs(195 - p._x) < sp_r1) {
if (Math.abs(195 - p._y) < sp_r1) {
st = 2;
p_k._x = p._x;
p_k._y = p._y;
p_k._rotation = p._rotation;
p_k._visible = true;
p._x = (p._y = -1000);
p._visible = false;
}
}
} else if (st == 2) {
butterFlyMinus1();
}
}
};
Spider1.prototype.die = function () {
with (this) {
if ((st != 1) && (st != 2)) {
return(undefined);
}
_parent._parent.freeWay[this.wNum] = true;
Set("/gametablo:scores", Number(/gametablo:scores) + _parent._parent.scrSpd1);
fBoom = true;
pB.duplicateMovieClip("pBoom_b1_" + num, Number(_parent._parent._bmb1) + num);
p_tmp_B = eval ("_parent.pBoom_b1_" + num);
p_tmp_B.sender = this;
if (st == 1) {
p_tmp_B.senderObj = p;
p_tmp_B._x = p._x;
p_tmp_B._y = p._y;
} else {
p_tmp_B.senderObj = p_k;
p_tmp_B._x = p_k._x;
p_tmp_B._y = p_k._y;
}
st = 3;
}
};
Spider1.prototype.endDie = function () {
with (this) {
_x = (_y = -1000);
st = 0;
fBoom = false;
}
};
Spider1.prototype.checkZone = function () {
with (this) {
if ((st != 1) && (st != 2)) {
return(false);
}
if (st == 1) {
if ((Math.abs(p._x - 195) < 195) && (Math.abs(p._y - 195) < 195)) {
return(true);
}
} else if ((Math.abs(p_k._x - 195) < 195) && (Math.abs(p_k._y - 195) < 195)) {
return(true);
}
return(false);
}
};
Spider1.prototype.remove = function () {
with (this) {
if (fBoom) {
p_tmp_B.removeMovieClip();
}
p.removeMovieClip();
p_k.removeMovieClip();
}
};
Spider3 = function (num, parent, parent_k, _boom, velo) {
this.num = Number(num);
this.p = parent;
this.p_k = parent_k;
this.p.sender = (this.p_k.sender = this);
parent_k._visible = false;
parent_k._x = (parent_k._y = -1000);
this.pB = _boom;
this.vx = 0;
this.vy = 0;
this.v = velo;
this.st = 0;
this.wNum = -1;
this.p_tmp_B = null;
this.fBoom = false;
};
Spider3.prototype.sGo = function () {
this.wNum = random(6);
i = 0;
while (5 >= i) {
if (freeWay[this.wNum] == true) {
break;
}
this.wNum++;
if (this.wNum == 6) {
this.wNum = 0;
}
i++;
}
tmpI = this.wNum * 60;
this.vx = Math.sin(tmpI * mPo);
this.vy = Math.cos(tmpI * mPo);
freeWay[this.wNum] = false;
a = 45;
k = Math.abs(this.vy / this.vx);
x = 195 + a;
y = k * x;
y0 = 195 + a;
if (y0 < y) {
y = y0;
x = y / k;
}
if (this.vx < 0) {
x = -x;
}
if (this.vy < 0) {
y = -y;
}
this.p._x = 195 + x;
this.p._y = 195 + y;
with (this) {
p._visible = true;
vx = -vx;
vy = -vy;
tmpI = Math.atan2(vx, vy) * mP;
p._rotation = (-tmpI) + 180;
st = 1;
}
};
Spider3.prototype.goto = function () {
with (this) {
if (st == 1) {
p._x = p._x + (vx * v);
p._y = p._y + (vy * v);
if (Math.abs(195 - p._x) < sp_r1) {
if (Math.abs(195 - p._y) < sp_r1) {
st = 2;
p_k._x = p._x;
p_k._y = p._y;
p_k._rotation = p._rotation;
p_k._visible = true;
p._x = (p._y = -1000);
p._visible = false;
}
}
} else if (st == 2) {
butterFlyMinus3();
}
}
};
Spider3.prototype.die = function () {
with (this) {
if ((st != 1) && (st != 2)) {
return(undefined);
}
_parent._parent.freeWay[this.wNum] = true;
Set("/gametablo:scores", Number(/gametablo:scores) + _parent._parent.scrSpd3);
fBoom = true;
pB.duplicateMovieClip("pBoom_s_" + num, Number(_parent._parent._bms) + num);
p_tmp_B = eval ("_parent.pBoom_s_" + num);
p_tmp_B.sender = this;
if (st == 1) {
p_tmp_B.senderObj = p;
p_tmp_B._x = p._x;
p_tmp_B._y = p._y;
} else {
p_tmp_B.senderObj = p_k;
p_tmp_B._x = p_k._x;
p_tmp_B._y = p_k._y;
}
st = 3;
}
};
Spider3.prototype.endDie = function () {
with (this) {
_x = (_y = -1000);
st = 0;
fBoom = false;
}
};
Spider3.prototype.checkZone = function () {
with (this) {
if ((st != 1) && (st != 2)) {
return(false);
}
if (st == 1) {
if ((Math.abs(p._x - 195) < 195) && (Math.abs(p._y - 195) < 195)) {
return(true);
}
} else if ((Math.abs(p_k._x - 195) < 195) && (Math.abs(p_k._y - 195) < 195)) {
return(true);
}
return(false);
}
};
Spider3.prototype.remove = function () {
with (this) {
if (fBoom) {
p_tmp_B.removeMovieClip();
}
p.removeMovieClip();
p_k.removeMovieClip();
}
};
Spider2 = function (num, parent, parent_s, _boom, parent_net, velo) {
this.num = Number(num);
this.p = parent;
this.p_s = parent_s;
this.p.sender = (this.p_s.sender = this);
parent_s._visible = false;
parent_s._x = (parent_s._y = -1000);
this.pB = _boom;
this.pN = parent_net;
this.pN._rotation = 0;
this.pN._visible = false;
this.pN._x = (this.pN._y = -1000);
this.vx = 0;
this.vy = 0;
this.v = velo;
this.st = 0;
this.nst = 0;
this.nV = 5;
this.dragget = false;
this.wNum = -1;
this.p_tmp_B = null;
this.fBoom = false;
};
Spider2.prototype.sGo = function () {
this.wNum = random(6);
i = 0;
while (5 >= i) {
if (freeWay[this.wNum] == true) {
break;
}
this.wNum++;
if (this.wNum == 6) {
this.wNum = 0;
}
i++;
}
tmpI = this.wNum * 60;
this.vx = Math.sin(tmpI * mPo);
this.vy = Math.cos(tmpI * mPo);
freeWay[this.wNum] = false;
a = 45;
k = Math.abs(this.vy / this.vx);
x = 195 + a;
y = k * x;
y0 = 195 + a;
if (y0 < y) {
y = y0;
x = y / k;
}
if (this.vx < 0) {
x = -x;
}
if (this.vy < 0) {
y = -y;
}
this.p._x = 195 + x;
this.p._y = 195 + y;
with (this) {
p._visible = true;
vx = -vx;
vy = -vy;
tmpI = Math.atan2(vx, vy) * mP;
p._rotation = (-tmpI) + 180;
st = 1;
}
};
Spider2.prototype.goto = function () {
with (this) {
if (st == 1) {
p._x = p._x + (vx * v);
p._y = p._y + (vy * v);
if (Math.abs(195 - p._x) < sp_r2) {
if (Math.abs(195 - p._y) < sp_r2) {
st = 2;
nn.spider2_k.duplicateMovieClip("pSpi_2_k_" + num, Number(_sp2_k) + num);
this.p_k = eval ("nn.pSpi_2_k_" + num);
p_s._x = (p_k._x = p._x);
p_s._y = (p_k._y = p._y);
p_s._rotation = (p_k._rotation = p._rotation);
p_k.sender = this;
p._x = (p._y = -1000);
p._visible = false;
}
}
}
if (nst == 2) {
if (dragget) {
return(undefined);
}
if (0 < (195 - pN._x)) {
dx = 1;
} else {
dx = -1;
}
if (0 < (195 - pN._y)) {
dy = 1;
} else {
dy = -1;
}
pN._x = pN._x + (dx * nV);
pN._y = pN._y + (dy * nV);
pN._rotation = pN._rotation + 5;
if ((nV >= Math.abs(195 - pN._x)) && (nV >= Math.abs(195 - pN._y))) {
nst = 3;
mc_net_p.duplicateMovieClip("pNetP" + num, Number(_netp) + num);
tmpP = eval ("pNetP" + num);
tmpP._x = pN._x;
tmpP._y = pN._y;
tmpP._rotation = pN._rotation;
tmpP.sender = this;
pN._x = (pN._y = -1000);
pN._visible = false;
}
}
}
};
Spider2.prototype.die = function () {
with (this) {
if (((st != 1) && (st != 2)) && (st != 3)) {
return(undefined);
}
_parent._parent.freeWay[this.wNum] = true;
Set("/gametablo:scores", Number(/gametablo:scores) + _parent._parent.scrSpd2);
fBoom = true;
pB.duplicateMovieClip("pBoom_b2_" + num, Number(_parent._parent._bmb2) + num);
p_tmp_B = eval ("_parent.pBoom_b2_" + num);
p_tmp_B.sender = this;
if (st == 1) {
p_tmp_B.senderObj = p;
p_tmp_B._x = p._x;
p_tmp_B._y = p._y;
} else if (st == 2) {
p_tmp_B.senderObj = p_k;
p_tmp_B._x = p_k._x;
p_tmp_B._y = p_k._y;
} else {
p_tmp_B.senderObj = p_s;
p_tmp_B._x = p_s._x;
p_tmp_B._y = p_s._y;
}
st = 4;
}
};
Spider2.prototype.endDie = function () {
with (this) {
_x = (_y = -1000);
st = 0;
fBoom = false;
}
};
Spider2.prototype.shoot = function () {
with (this) {
if (st != 2) {
return(undefined);
}
_parent._parent.mc_net_v.duplicateMovieClip("pNetV" + num, Number(_parent._parent._netv) + num);
tmpP = eval ("_parent._parent.pNetV" + num);
tmpP._x = p_s._x;
tmpP._y = p_s._y;
tmpP.sender = this;
nst = 1;
}
};
Spider2.prototype.afterShoot = function () {
with (this) {
if (st != 2) {
return(undefined);
}
p_s._visible = true;
st = 3;
}
};
Spider2.prototype.endVzlet = function () {
with (this) {
pN._x = p_s._x;
pN._y = p_s._y;
pN._rotation = 0;
pN._visible = true;
pN.sender = this;
nst = 2;
}
};
Spider2.prototype.endPrizem = function () {
with (this) {
if (!dragget) {
_parent.netAdd();
} else {
dragget = false;
if (_parent.mc_butter.hitTest(_parent._x + net_priz._x, _parent._y + net_priz._y, true)) {
_parent.netAdd();
} else {
Set("/gametablo:scores", Number(/gametablo:scores) + _parent.scrNet);
}
}
nst = 0;
if (st == 3) {
st = 2;
_parent.nn.spider2_k.duplicateMovieClip("pSpi_2_k_" + num, Number(_parent._sp2_k) + num);
this.p_k = eval ("_parent.nn.pSpi_2_k_" + num);
p_k._x = p_s._x;
p_k._y = p_s._y;
p_k._rotation = p_s._rotation;
p_k.sender = this;
p_s._visible = false;
}
}
};
Spider2.prototype.sDrag = function () {
with (this) {
dragget = true;
}
};
Spider2.prototype.endDrag = function () {
with (this) {
nst = 3;
_parent.mc_net_p.duplicateMovieClip("pNetP" + num, Number(_parent._netp) + num);
tmpP = eval ("_parent.pNetP" + num);
this.net_priz = tmpP;
tmpP._x = pN._x;
tmpP._y = pN._y;
tmpP._rotation = pN._rotation;
tmpP.sender = this;
pN._x = (pN._y = -1000);
pN._visible = false;
}
};
Spider2.prototype.checkZone = function () {
with (this) {
if (((st != 1) && (st != 2)) && (st != 3)) {
return(false);
}
if (st == 1) {
if ((Math.abs(p._x - 195) < 195) && (Math.abs(p._y - 195) < 195)) {
return(true);
}
} else if (st == 2) {
if ((Math.abs(p_k._x - 195) < 195) && (Math.abs(p_k._y - 195) < 195)) {
return(true);
}
} else if ((Math.abs(p_s._x - 195) < 195) && (Math.abs(p_s._y - 195) < 195)) {
return(true);
}
return(false);
}
};
Spider2.prototype.remove = function () {
with (this) {
if (fBoom) {
p_tmp_B.removeMovieClip();
}
p.removeMovieClip();
p_s.removeMovieClip();
pN.removeMovieClip();
if (st == 2) {
p_k.removeMovieClip();
}
}
};
stopSoundFlag = false;
stop();
Frame 2
stop();
Instance of Symbol 53 MovieClip "sn" in Frame 2
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 89 MovieClip in Frame 4
onClipEvent (load) {
tellTarget (_parent) {
txtLevel = level;
pauseFlag = false;
if (stopSoundFlag) {
btn1.gotoAndStop(2);
}
cur1._visible = false;
cur2._visible = false;
cur3._visible = false;
mouseVisible = true;
tellTarget ("_parent.nn.boom_s") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.boom_b") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider1") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider1_k") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider2") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider2_k") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider2_s") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider3") {
stop();
_visible = false;
};
tellTarget ("_parent.nn.Spider3_k") {
stop();
_visible = false;
};
tellTarget ("_parent.mc_net_v") {
stop();
_visible = false;
};
tellTarget ("_parent.mc_net") {
stop();
_visible = false;
};
tellTarget ("_parent.mc_net_p") {
stop();
_visible = false;
};
tellTarget ("_parent.mc_butter_boom") {
stop();
_visible = false;
};
changeGun(3);
spdStartP = min(5 + level, 80);
spd1_v = 4 + (0.5 * level);
spd2_v = 3 + (0.5 * level);
spd3_v = 4 + (0.5 * level);
spd1_u = min(90, 0.5 * (2 + level));
spd3_u = min(90, 0.5 * (1 + level));
butt_vint = min(90, 16 + (2 * level));
butt_gus = min(90, 10 + level);
butt_net = min(90, 10 + level);
spdC = min(3 + Math.round(level * 0.3), 6);
spdRunC = min(level, 4);
scrSpd1 = 20;
scrSpd2 = 16;
scrSpd3 = 18;
scrNet = 1;
spdA = new Array(spdC + 1);
cnt = 1;
i = 1;
while (spdC >= i) {
if (cnt == 1) {
nn.Spider1.duplicateMovieClip("pSpider1_" + i, Number(_sp1) + i);
nn.Spider1_k.duplicateMovieClip("pSpider1_k_" + i, Number(_sp1_k) + i);
spdA[i] = new Spider1(i, eval ("nn.pSpider1_" + i), eval ("nn.pSpider1_k_" + i), nn.boom_b, spd1_v);
} else if (cnt == 2) {
nn.Spider3.duplicateMovieClip("pSpider3_" + i, Number(_sp3) + i);
nn.Spider3_k.duplicateMovieClip("pSpider3_k_" + i, Number(_sp3_k) + i);
spdA[i] = new Spider3(i, eval ("nn.pSpider3_" + i), eval ("nn.pSpider3_k_" + i), nn.boom_s, spd2_v);
} else {
nn.Spider2.duplicateMovieClip("pSpider2_" + i, Number(_sp2) + i);
nn.Spider2_s.duplicateMovieClip("pSpider2_s_" + i, Number(_sp2_s) + i);
mc_net.duplicateMovieClip("pNet_" + i, Number(_net) + i);
spdA[i] = new Spider2(i, eval ("nn.pSpider2_" + i), eval ("nn.pSpider2_s_" + i), nn.boom_b, eval ("pNet_" + i), spd3_v);
}
cnt++;
if (cnt == 4) {
cnt = 1;
}
i++;
}
butterPow = 100;
butterNet = 100;
setIndicators();
freeWay = new Array(6);
i = 0;
while (5 >= i) {
freeWay[i] = true;
i++;
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (pauseFlag) {
return(undefined);
}
butterPow = butterPow - 0.05;
butterNet = butterNet - 0.2;
setIndicators();
tmpC = 0;
i = 1;
while (spdC >= i) {
if ((spdA[i].st == 1) || (spdA[i].st == 2)) {
tmpC++;
}
i++;
}
f = true;
if (tmpC >= spdRunC) {
f = false;
}
r100 = random(100);
if (f) {
if (r100 < spdStartP) {
randN = random(spdC) + 1;
i = 1;
while (spdC >= i) {
if (spdA[randN].st == 0) {
spdA[randN].sGo();
break;
}
randN++;
if (spdC < randN) {
randN = 1;
}
i++;
}
}
}
i = 1;
while (spdC >= i) {
spdA[i].goto();
i++;
}
};
}
onClipEvent (keyDown) {
if (pauseFlag) {
return(undefined);
}
if ((Key.isDown(51) || (Key.isDown(99))) || (Key.isDown(34))) {
_parent.changeGun(1);
} else if ((Key.isDown(50) || (Key.isDown(98))) || (Key.isDown(40))) {
_parent.changeGun(2);
} else if ((Key.isDown(49) || (Key.isDown(97))) || (Key.isDown(35))) {
_parent.changeGun(3);
}
}
onClipEvent (mouseMove) {
tellTarget (_parent) {
cur1._x = (cur2._x = (cur3._x = _xmouse));
cur1._y = (cur2._y = (cur3._y = _ymouse));
if ((((mouseVisible && (_xmouse < 390)) && (0 < _xmouse)) && (_ymouse < 390)) && (0 < _ymouse)) {
Mouse.hide();
mouseVisible = false;
tmpP = eval ("cur" + curGun);
tmpP._visible = true;
}
if ((!mouseVisible) && (!((((_xmouse < 390) && (0 < _xmouse)) && (_ymouse < 390)) && (0 < _ymouse)))) {
Mouse.show();
mouseVisible = true;
i = 1;
while (3 >= i) {
tmpP = eval ("cur" + i);
tmpP._visible = false;
i++;
}
}
};
updateAfterEvent();
}
Instance of Symbol 140 MovieClip "mc_butter" in Frame 4
onClipEvent (mouseDown) {
if (_parent.pauseFlag) {
return(undefined);
}
if (390 < _parent._xmouse) {
return(undefined);
}
if (_parent.curGun == 2) {
_parent.mc_butter_boom.duplicateMovieClip("pButBoom", _parent._butb);
_parent.pButBoom._x = _parent._xmouse;
_parent.pButBoom._y = _parent._ymouse;
if (_parent.mc_hit.hitTest(_root.Game._x + _parent._xmouse, _root.Game._y + _parent._ymouse, true)) {
_parent.butterFlyMinusMy2();
}
}
if (_parent.curGun == 1) {
_parent.playSnd("lib_snd_1", 50);
if (_parent.mc_hit.hitTest(_root.Game._x + _parent._xmouse, _root.Game._y + _parent._ymouse, true)) {
_parent.butterFlyMinusMy1();
}
}
if (_parent.curGun == 3) {
_parent.playSnd("lib_snd_2", 50);
}
}
Frame 9
stop();
Frame 54
stop();
newGame();
Instance of Symbol 53 MovieClip "sn" in Frame 54
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Symbol 4 MovieClip Frame 1
stop();
Symbol 7 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Instance of Symbol 23 MovieClip "ball" in Symbol 28 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Symbol 28 MovieClip Frame 101
_parent.ru.play();
stop();
Symbol 32 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 17
_parent.voda.ball.gotoAndPlay(1);
if (_parent._currentframe == 1) {
_parent.play();
}
stop();
Symbol 49 Button
on (release) {
_root.GlobalSoundVkids = false;
gotoAndStop (3);
}
Symbol 52 Button
on (release) {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 53 MovieClip Frame 1
stop();
if (_root.GlobalSoundVkids == false) {
gotoAndStop (3);
} else {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 1
stop();
Instance of Symbol 28 MovieClip "voda" in Symbol 55 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.FullSize = ((Math.floor(_parent._parent.getBytesLoaded() / 1024) + " / ") + Math.floor(_parent._parent.getBytesTotal() / 1024)) + " kb loaded";
var percent = ((_parent._parent.getBytesLoaded() / _parent._parent.getBytesTotal()) * 100);
if (_currentframe < (Math.floor(percent) + 1)) {
gotoAndStop(Math.floor(percent) + 1);
}
}
Instance of Symbol 53 MovieClip "sn" in Symbol 55 MovieClip Frame 2
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Symbol 55 MovieClip Frame 74
_parent.play();
_parent.play();
Symbol 75 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Symbol 78 Button
on (release) {
gameStart();
}
Symbol 80 Button
on (release) {
gotoAndStop (3);
}
Symbol 83 Button
on (release) {
gameStart();
}
Symbol 85 Button
on (release) {
gotoAndStop (2);
}
Symbol 91 MovieClip Frame 4
this.senderObj._visible = false;
Symbol 91 MovieClip Frame 6
this.sender.endDie();
this.removeMovieClip();
Symbol 99 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 1) {
sender.die();
}
}
Symbol 108 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 1) {
sender.die();
}
}
Symbol 119 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 2) {
sender.die();
}
}
Symbol 123 MovieClip Frame 3
this.senderObj._visible = false;
Symbol 123 MovieClip Frame 5
this.sender.endDie();
this.removeMovieClip();
Symbol 125 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 1) {
sender.die();
}
}
Symbol 129 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 2) {
sender.die();
}
}
Symbol 132 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 1) {
sender.die();
}
}
Symbol 133 MovieClip Frame 6
this.sender.shoot();
Symbol 133 MovieClip Frame 9
this.sender.afterShoot();
this.removeMovieClip();
Symbol 135 Button
on (press) {
if (_parent._parent.pauseFlag) {
return(undefined);
}
if (_parent._parent.curGun == 1) {
sender.die();
}
}
Symbol 150 MovieClip Frame 4
this.sender.endVzlet();
this.removeMovieClip();
Symbol 151 MovieClip Frame 10
this.sender.endPrizem();
this.removeMovieClip();
Symbol 153 Button
on (press) {
if (_parent.pauseFlag) {
return(undefined);
}
this.dragget = false;
if (_parent.curGun != 3) {
return(undefined);
}
this.dragget = true;
startDrag (this, true, 23, 23, 367, 367);
this.sender.sDrag();
}
on (release) {
if (!this.dragget) {
return(undefined);
}
stopDrag();
this.sender.endDrag();
}
Symbol 156 MovieClip Frame 6
this.removeMovieClip();
Symbol 172 Button
on (release) {
_parent.startPause();
this.gotoAndStop(2);
}
Symbol 174 Button
on (release) {
_parent.stopPause();
this.gotoAndStop(1);
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 177 Button
on (release) {
_parent.stopMySound();
this.gotoAndStop(2);
}
Symbol 179 Button
on (release) {
_parent.startMySound();
this.gotoAndStop(1);
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 201 Button
on (release) {
nextLevel();
}
Symbol 210 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Symbol 213 Button
on (release) {
gotoAndStop (2);
}