Frame 1
stop();
Frame 2
_quality = "MEDIUM";
if (fs != 333) {
snd = new Sound(this);
snd.attachSound("fon");
fs = 333;
}
level = 0;
param = new Array(160, 4, 5, 180);
sound = true;
stop();
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 131 MovieClip "c" in Frame 4
onClipEvent (load) {
Mouse.hide();
yp = (xp = 0);
p._x = 0;
p._y = 0;
mx = 0;
my = 0;
_parent.level++;
if (20 < _parent.param[0]) {
_parent.param[0] = _parent.param[0] / 2;
}
_parent.param[1]++;
if (_parent.level == 5) {
_parent.param[3] = _parent.param[3] - 30;
}
if (_parent.level == 6) {
_parent.param[2] = 3;
}
if (_parent.level == 8) {
_parent.param[2] = 1;
}
if (_parent.level == 9) {
_parent.param[0] = 10;
}
if (_parent.level == 12) {
_parent.param[3] = _parent.param[3] - 30;
}
time = 0;
mCount = 1;
sCount = 0;
_parent.lCount = _parent.level;
_parent.sCount = _parent.param[2];
realCount = _parent.sCount;
_parent.mLeave = _parent.param[1];
_parent.mLost = 0;
mm1.stop();
mm1._visible = false;
mm2.stop();
mm2._visible = false;
mm3.stop();
mm3._visible = false;
_parent.md.m.stop();
_parent.md.m._visible = false;
sneg.stop();
t._visible = false;
pause = false;
}
onClipEvent (mouseMove) {
if (!(((0 < _parent._xmouse) && (_parent._xmouse < 520)) && ((0 < _parent._ymouse) && (_parent._ymouse < 340)))) {
Mouse.show();
} else {
Mouse.hide();
if (!pause) {
yp = -_ymouse;
ya = (yp / 400) + 1;
p._y = (-yp) / ya;
xp = _xmouse;
p._x = xp;
p._xscale = 100 / (ya * ya);
p._yscale = 100 / (ya * ya);
mx = _xmouse;
my = _ymouse;
}
}
updateAfterEvent();
}
onClipEvent (mouseDown) {
if (((0 < _parent._xmouse) && (_parent._xmouse < 520)) && ((0 < _parent._ymouse) && (_parent._ymouse < 340))) {
if (!pause) {
if (0 < _parent.sCount) {
sneg.duplicateMovieClip("s" + sCount, 1600 + sCount);
s = eval ("s" + sCount);
s.i = sCount;
s._x = p._x;
s._y = p._y;
s._xscale = p._xscale;
s._yscale = p._yscale;
if (-40 < s._y) {
s.swapDepths(1600 + sCount);
} else if (-80 < s._y) {
s.swapDepths(1100 + sCount);
} else if (-140 < s._y) {
s.swapDepths(600 + sCount);
} else {
s.swapDepths(300 + sCount);
}
t.duplicateMovieClip("t" + sCount, 10 + sCount);
te = eval ("t" + sCount);
te._x = p._x;
te._y = p._y;
te._xscale = p._xscale;
te._yscale = p._yscale;
_parent.k.v.play();
_parent.sCount--;
sCount++;
if (sCount == _parent.param[2]) {
sCount = 0;
}
}
}
}
}
onClipEvent (enterFrame) {
if (!pause) {
if (time == 0) {
if (_parent.param[1] >= mCount) {
type = random(3);
if (type == 0) {
mm1.duplicateMovieClip("m" + mCount, 1500 + mCount);
} else if (type == 1) {
mm2.duplicateMovieClip("m" + mCount, 1000 + mCount);
} else {
mm3.duplicateMovieClip("m" + mCount, 500 + mCount);
}
mc = eval ("m" + mCount);
mc.i = mCount;
mc._x = m._x;
mc._y = m._y;
mCount++;
}
}
time++;
if (time == _parent.param[0]) {
time = 0;
}
}
}
onClipEvent (unload) {
Mouse.show();
if ((0 < _parent.sCount) && (_parent.mLost < 3)) {
Set("/gametablo:scores", ((Number(/gametablo:scores) + 100) - (_parent.mLost * 30)) + (_parent.sCount * 5));
}
}
Instance of Symbol 149 MovieClip "sn" in Frame 4
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Symbol 4 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Instance of Symbol 20 MovieClip "ball" in Symbol 25 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Symbol 25 MovieClip Frame 101
_parent.ru.play();
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 17
_parent.voda.ball.gotoAndPlay(1);
if (_parent._currentframe == 1) {
_parent.play();
}
stop();
Symbol 47 Button
on (release) {
_root.GlobalSoundVkids = false;
gotoAndStop (3);
}
Symbol 50 Button
on (release) {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 51 MovieClip Frame 1
stop();
if (_root.GlobalSoundVkids == false) {
gotoAndStop (3);
} else {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 51 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip "voda" in Symbol 53 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 51 MovieClip "sn" in Symbol 53 MovieClip Frame 2
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Symbol 53 MovieClip Frame 74
_parent.play();
_parent.play();
Symbol 69 MovieClip Frame 1
stop();
Symbol 79 Button
on (release) {
/:gametablo._visible = true;
Set("/gametablo:scores", 0);
gotoAndPlay (4);
}
Symbol 83 Button
on (release) {
play();
}
Symbol 88 Button
on (release) {
getURL ("http://vkids.ru", "_blank");
}
Symbol 89 MovieClip Frame 1
stop();
if (_root.GlobalSoundVkids == false) {
gotoAndStop (3);
} else {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 92 Button
on (release) {
/:gametablo._visible = true;
Set("/gametablo:scores", 0);
play();
}
Symbol 95 Button
on (release) {
gotoAndPlay (2);
}
Symbol 116 MovieClip Frame 1
go = true;
Symbol 116 MovieClip Frame 8
if (go) {
gotoAndPlay (1);
}
Symbol 116 MovieClip Frame 9
_parent._parent._parent.mLeave--;
go = false;
Symbol 116 MovieClip Frame 45
if ((_parent._parent._parent.mLeave == 0) && (_parent._parent._parent.mLost < 3)) {
_parent._parent._parent.play();
}
_parent.removeMovieClip();
Symbol 117 MovieClip Frame 1
Symbol 117 MovieClip Frame 2
if (_parent._parent.mLost == 3) {
_parent._parent.gotoAndPlay(6);
}
if ((_parent._parent.mLost < 3) && (_parent._parent.mLeave == 0)) {
_parent._parent.play();
}
Symbol 117 MovieClip Frame 96
this.removeMovieClip();
Symbol 123 MovieClip Frame 1
m.t._xscale = _parent._parent.param[3];
m.t._yscale = _parent._parent.param[3];
layer = 3;
Symbol 123 MovieClip Frame 163
_parent._parent.mLost++;
_parent._parent.mLeave--;
_parent._parent.md.m.duplicateMovieClip("m" + i, i);
mc = eval ("_parent._parent.md.m" + i);
mc._x = _parent._parent.md.m._x;
mc._y = _parent._parent.md.m._y;
this.removeMovieClip();
Symbol 124 MovieClip Frame 1
m.t._xscale = _parent._parent.param[3];
m.t._yscale = _parent._parent.param[3];
layer = 2;
Symbol 124 MovieClip Frame 127
_parent._parent.mLost++;
_parent._parent.mLeave--;
_parent._parent.md.m.duplicateMovieClip("m" + i, i);
mc = eval ("_parent._parent.md.m" + i);
mc._x = _parent._parent.md.m._x;
mc._y = _parent._parent.md.m._y;
this.removeMovieClip();
Symbol 129 MovieClip Frame 21
p = new Object();
p.x = 0;
p.y = 0;
this.localToGlobal(p);
j = 0;
while (_parent._parent.param[1] >= j) {
mc = eval ("_parent.m" + j);
if (mc && (mc.m.t.hitTest(p.x, p.y, true))) {
_parent._parent.sCount++;
mc.stop();
mc.m.go = false;
mc.m.gotoAndPlay(9);
if (mc.layer == 1) {
Set("/gametablo:scores", /gametablo:scores + 70);
} else if (mc.layer == 2) {
Set("/gametablo:scores", /gametablo:scores + 70);
} else if (mc.layer == 3) {
Set("/gametablo:scores", /gametablo:scores + 70);
}
te = eval ("_parent.t" + i);
te.removeMovieClip();
this.removeMovieClip();
}
j++;
}
Symbol 129 MovieClip Frame 23
_parent.realCount--;
if (((_parent.realCount == 0) && (_parent._parent.mLeave)) && ((_parent._parent.mLeave + _parent._parent.mLost) >= 3)) {
_parent._parent.gotoAndPlay(6);
}
te = eval ("_parent.t" + i);
te.removeMovieClip();
this.removeMovieClip();
Symbol 130 MovieClip Frame 1
m.t._xscale = _parent._parent.param[3];
m.t._yscale = _parent._parent.param[3];
layer = 1;
Symbol 130 MovieClip Frame 90
_parent._parent.mLost++;
_parent._parent.mLeave--;
_parent._parent.md.m.duplicateMovieClip("m" + i, i);
mc = eval ("_parent._parent.md.m" + i);
mc._x = _parent._parent.md.m._x;
mc._y = _parent._parent.md.m._y;
this.removeMovieClip();
Symbol 142 Button
on (release) {
_parent.c.pause = !_parent.c.pause;
if (!_parent.c.pause) {
i = 1;
while (_parent.c.mCount >= i) {
m = eval ("_parent.c.m" + i);
if (m.m.go) {
m.play();
}
m.m.play();
m = eval ("_parent.md.m" + i);
m.play();
m.m.play();
i++;
}
if (_parent.c.shoot) {
_parent.c.sneg.play();
}
_parent.sn.play();
_parent.o.play();
if (_parent.sound) {
_parent.snd.start(0, 200000);
}
} else {
i = 1;
while (_parent.c.mCount >= i) {
m = eval ("_parent.c.m" + i);
m.stop();
m.m.stop();
m = eval ("_parent.md.m" + i);
m.stop();
m.m.stop();
i++;
}
if (_parent.c.shoot) {
_parent.c.sneg.stop();
}
_parent.sn.stop();
_parent.o.stop();
if (_parent.sound) {
_parent.snd.stop();
}
}
play();
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 146 Button
on (release) {
_parent.sound = !_parent.sound;
if (!_parent.c.pause) {
_parent.snd.stop();
}
play();
}
Symbol 148 Button
on (release) {
_parent.sound = !_parent.sound;
if (!_parent.c.pause) {
_parent.snd.start(0, 200000);
}
play();
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Symbol 160 Button
on (release) {
gotoAndPlay (4);
}
Symbol 163 MovieClip Frame 25
stopAllSounds();
_parent.gotoAndStop(7);
Symbol 171 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Symbol 174 Button
on (release) {
gotoAndStop (2);
}