Frame 1
polosa._xscale = (getBytesLoaded() / getBytesTotal()) * 100;
if (polosa._xscale == 100) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 4
MovieClip.prototype.block2 = function (tg) {
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdb1, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = this._x - 7;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = this._y + 7;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._rotation = this._rotation;
};
MovieClip.prototype.block1 = function () {
if (_rotation == 0) {
r = random(3) + 1;
if (r == 1) {
this._rotation = 90;
}
if (r == 2) {
this._rotation = -90;
}
if (r == 3) {
this._rotation = 180;
}
}
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shda, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = this._x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = this._y;
};
scrs = 0;
scp.splice(0);
cp = 0;
lvr = 1;
gotoAndPlay (10);
Frame 5
fl = _root.lvr - 1;
levelscore = (("Level " + fl) + " score ") + _root["lvsc" + fl];
Mouse.show();
stop();
Frame 6
if (lvr > 5) {
gotoAndPlay (15);
} else {
gotoAndStop (7);
}
Frame 7
stop();
Frame 8
gotoAndStop (7);
Frame 10
MovieClip.prototype.addblock = function () {
x = 0;
while (x < 40) {
y = 0;
while (y < 40) {
if (this.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
duplicateMovieClip (_root.lev.fon.block, (("blo" + x) + "a") + y, (y * 40) + x);
with (_root.lev.fon[(("blo" + x) + "a") + y]) {
_x = (x * 20) + 10;
_y = (y * 20) + 10;
}
}
y++;
}
x++;
}
};
MovieClip.prototype.addblock2 = function () {
x = 0;
while (x < 40) {
y = 0;
while (y < 40) {
if (this.edy.hitTest((x * 40) + 20, (y * 40) + 20, 1) == true) {
duplicateMovieClip (_root.lev.fon.blockb, (("blob" + x) + "a") + y, ((y * 40) + x) + 20);
with (_root.lev.fon[(("blob" + x) + "a") + y]) {
_x = (x * 40) + 20;
_y = (y * 40) + 20;
}
}
y++;
}
x++;
}
};
MovieClip.prototype.addone = function () {
x = 0;
while (x < 40) {
y = 0;
while (y < 40) {
if (this.hitTest((x * 20) + 10, (y * 20) + 10, 1) == true) {
duplicateMovieClip (_root.lev.star, (("str" + x) + "a") + y, (y * 40) + x);
with (_root.lev[(("str" + x) + "a") + y]) {
_x = (x * 20) + 10;
_y = (y * 20) + 10;
}
}
y++;
}
x++;
}
};
Frame 11
MovieClip.prototype.texcol = function () {
function fillit() {
}
i = 1;
while (i < 4) {
if (_root.lev["clp" + i].hitTest(this._x, this._y, 1) == true) {
this.cok = 1;
this.r2 = _root.lev["clp" + i].r2;
this.g2 = _root.lev["clp" + i].g2;
this.b2 = _root.lev["clp" + i].b2;
i = 4;
}
i++;
}
if (this.cok != 1) {
i = 4;
this.r2 = _root.lev["clp" + i].r2;
this.g2 = _root.lev["clp" + i].g2;
this.b2 = _root.lev["clp" + i].b2;
}
with (this) {
col = new Color(tex);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
}
};
scp = new Array();
cmb = 0;
scp.splice(0);
MovieClip.prototype.texcol2 = function () {
function fillit() {
}
i = 1;
while (i < 4) {
if (_root.lev["clk" + i].hitTest(this._x, this._y, 1) == true) {
this.cok = 1;
this.r2 = _root.lev["clk" + i].r2;
this.g2 = _root.lev["clk" + i].g2;
this.b2 = _root.lev["clk" + i].b2;
i = 4;
}
i++;
}
if (this.cok != 1) {
i = 4;
this.r2 = _root.lev["clk" + i].r2;
this.g2 = _root.lev["clk" + i].g2;
this.b2 = _root.lev["clk" + i].b2;
}
with (this) {
col = new Color(tex);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
}
};
MovieClip.prototype.texcol3 = function () {
function fillit() {
}
i = 1;
while (i < 4) {
if (_root.lev["clb" + i].hitTest(this._x, this._y, 1) == true) {
this.cok = 1;
this.r2 = _root.lev["clb" + i].r2;
this.g2 = _root.lev["clb" + i].g2;
this.b2 = _root.lev["clb" + i].b2;
i = 4;
}
i++;
}
if (this.cok != 1) {
i = 4;
this.r2 = _root.lev["clb" + i].r2;
this.g2 = _root.lev["clb" + i].g2;
this.b2 = _root.lev["clb" + i].b2;
}
with (this) {
col = new Color(tex);
pal = new Object();
pal = {ra:100, rb:r2, ga:100, gb:g2, ba:100, bb:b2, aa:"100", ab:"0"};
col.setTransform(pal);
}
};
MovieClip.prototype.restexcol = function () {
i = 1;
while (i < 5) {
_root.lev["clp" + i]._visible = 0;
_root.lev["clp" + i].r2 = 0;
_root.lev["clp" + i].g2 = 0;
_root.lev["clp" + i].b2 = 0;
i++;
}
i = 1;
while (i < 5) {
_root.lev["clk" + i]._visible = 0;
_root.lev["clk" + i].r2 = 0;
_root.lev["clk" + i].g2 = 0;
_root.lev["clk" + i].b2 = 0;
i++;
}
i = 1;
while (i < 5) {
_root.lev["clb" + i]._visible = 0;
_root.lev["clb" + i].r2 = 0;
_root.lev["clb" + i].g2 = 0;
_root.lev["clb" + i].b2 = 0;
i++;
}
};
MovieClip.prototype.combox = function () {
if (cmb > 0) {
_root.cp++;
scp[_root.cp] = cmb;
kksp = 0;
pi = 1;
while (pi <= _root.cp) {
i = 1;
while (i <= _root.scp[pi]) {
kksp = kksp + (i * 10);
cmb = 0;
i++;
}
pi++;
}
}
};
Frame 12
gotoAndPlay (30);
Frame 15
i = 1;
while (i < 6) {
_root["lvsc" + i] = 0;
i++;
}
_quality = "high";
combox();
i = 0;
while (i < 10) {
nm = i + 10;
sct["SCORE" + i] = locdat.data["svd" + i];
if (sct["SCORE" + i] < 1) {
sct["SCORE" + i] = 0;
}
sct["NAME" + i] = locdat.data["svd" + nm];
if (sct["NAME" + i].length < 1) {
sct["NAME" + i] = "-";
}
i++;
}
sct.NAME10 = name;
sct.SCORE10 = kksp;
lp = 0;
while (lp < 11) {
i = 0;
while (i < 10) {
j = i + 1;
if (sct["SCORE" + i] < sct["SCORE" + j]) {
mem1 = sct["SCORE" + i];
mem2 = sct["NAME" + i];
sct["SCORE" + i] = sct["SCORE" + j];
sct["NAME" + i] = sct["NAME" + j];
sct["SCORE" + j] = mem1;
sct["NAME" + j] = mem2;
}
i++;
}
lp++;
}
i = 0;
while (i < 10) {
nm = i + 10;
locdat.data["svd" + i] = sct["SCORE" + i];
locdat.data["svd" + nm] = sct["NAME" + i];
i++;
}
locdat.flush();
locdatnam.data.namerb = name;
locdatnam.flush();
Mouse.show();
Frame 16
stop();
Frame 20
allnm.filename = "rrscrrgame/selfkortname.sco";
allnm.scoresize = 101;
allnm.action = "INSERT";
allnm.viewtype = "VIEW";
allnm.loadVariables("http://www.rubilon.kulichki.com/plrname.php/plrname.php", "GET");
if ((allnm.NAME0.length < 1) or (mk > 10)) {
gotoAndPlay (23);
}
Frame 21
ck++;
Frame 22
if (ck > 500) {
gotoAndPlay (20);
ck = 0;
mk++;
} else {
gotoAndPlay (21);
}
Frame 24
Mouse.show();
combox();
allname.sct.filename = "rrscrrgame/rumbleball1.sco";
allname.sct.scoresize = 10;
allname.sct.action = "INSERT";
allname.sct.viewtype = "FLASH";
if (_root.name.length < 1) {
_root.name = " ";
}
allname.sct.winname = _root.name;
allname.sct.winscore = _root.kksp;
allname.sct.loadVariables("http://www.rubilon.kulichki.com/tablicarec.php", "GET");
allname.filename = "rrscrrgame/rumblename1.sco";
allname.scoresize = 101;
allname.action = "INSERT";
allname.viewtype = "FLASH";
if (_root.name.length < 1) {
_root.name = " ";
}
allname.winname = _root.name;
allname.winscore = _root.kksp;
allname.loadVariables("http://www.rubilon.kulichki.com/plrname.php", "GET");
gotoAndStop (27);
Frame 26
gotoAndStop (27);
Frame 27
gotoAndStop (27);
Frame 28
stop();
Frame 29
gotoAndStop (27);
Frame 30
locdat = SharedObject.getLocal("rumbleball");
locdatnam = SharedObject.getLocal("rumbleballname");
name = locdatnam.data.namerb;
kksp = 0;
if (name.length < 1) {
name = "My name is";
}
stop();
Instance of Symbol 301 MovieClip in Frame 30
on (keyPress "<Enter>") {
_root.locdatnam.data.namerb = _root.name;
_root.locdatnam.flush();
if (_root.name.length > 0) {
stopAllSounds();
_root.gotoAndStop(6);
}
}
Frame 32
gotoAndStop (31);
Frame 33
gotoAndStop (31);
Symbol 21 MovieClip Frame 1
levic = "Level " + _root.lvr;
if (_root.lvr > 5) {
levic = "Results";
}
Symbol 21 MovieClip Frame 2
if (mask._yscale < 100) {
mask._yscale = mask._yscale + 10;
}
if (_root.dwn > 0) {
gotoAndPlay (6);
}
Symbol 21 MovieClip Frame 3
gotoAndPlay (2);
Symbol 21 MovieClip Frame 6
_root.play();
stop();
Symbol 23 MovieClip Frame 1
_root.dwn = 0;
ddd = 0;
_root.clc = 0;
_visible = 0;
Symbol 23 MovieClip Frame 2
this.onMouseDown = function () {
ddd = 1;
};
this.onMouseUp = function () {
_root.clc = 1;
};
Symbol 23 MovieClip Frame 3
if (ddd == 1) {
_root.dwn++;
}
if (_root.clc == 0) {
gotoAndPlay (2);
}
Symbol 31 MovieClip Frame 1
_visible = 0;
Symbol 31 MovieClip Frame 3
addone();
Symbol 31 MovieClip Frame 4
_visible = 1;
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 11
removeMovieClip(this);
Symbol 41 MovieClip Frame 1
_visible = 0;
Symbol 41 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 1
_root.lev.shadx.dp++;
duplicateMovieClip (_root.lev.shadx.shdc, "shd" + _root.lev.shadx.dp, _root.lev.shadx.dp);
sdel = "shd" + _root.lev.shadx.dp;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._x = _x;
_root.lev.shadx["shd" + _root.lev.shadx.dp]._y = _y;
if (_name != "block") {
_root.items.lst++;
}
texcol2();
brb = 2;
stop();
Symbol 47 MovieClip Frame 2
_root.ball.sbl = 2;
_root.cmb++;
with (_parent._parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
dps = _parent._parent.dps;
_root.items.lst--;
_root.items.play();
duplicateMovieClip (_parent._parent.scorec, "scr" + dps, dps + 1000);
_parent._parent["scr" + dps]._x = _x - _parent._x;
_parent._parent["scr" + dps]._y = _y - _parent._y;
_parent._parent["scr" + dps].scc = _root.cmb * 10;
brb = 0;
_root.tneb++;
if (_root.tneb > 6) {
_root.tneb = 1;
}
if (_root.sfx != 2) {
_root.sndb.gotoAndPlay((_root.tneb * 2) + 1);
}
_root.lev.shadx[sdel].play();
Symbol 47 MovieClip Frame 3
brb = 0;
removeMovieClip(this);
Symbol 48 MovieClip Frame 1
_visible = 0;
Symbol 51 MovieClip Frame 1
_rotation = (-_parent._rotation);
Symbol 52 MovieClip Frame 1
block1();
texcol();
Symbol 55 MovieClip Frame 1
_visible = 0;
Symbol 55 MovieClip Frame 3
addblock();
Symbol 55 MovieClip Frame 4
_visible = 1;
stop();
Symbol 62 MovieClip Frame 1
if (_name != "star") {
_root.items.lst++;
}
texcol3();
Symbol 62 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 3
_root.cmb++;
with (_parent) {
dps++;
if (dps > 50) {
dps = 1;
}
}
_root.items.lst--;
_root.items.play();
duplicateMovieClip (_parent.scorec, "scr" + _parent.dps, _parent.dps + 1000);
_parent["scr" + _parent.dps]._x = _x;
_parent["scr" + _parent.dps]._y = _y;
_parent["scr" + _parent.dps].scc = _root.cmb * 10;
_root.tne++;
if (_root.tne > 13) {
_root.tne = 1;
}
if (_root.sfx != 2) {
_root.sndg.gotoAndPlay((_root.tne * 2) + 1);
}
Symbol 62 MovieClip Frame 20
removeMovieClip(this);
Symbol 68 MovieClip Frame 1
scc = _parent.scc;
Symbol 69 MovieClip Frame 1
if (_name == "scorec") {
gotoAndStop (16);
} else {
gotoAndPlay (2);
}
Symbol 69 MovieClip Frame 2
_root.scrs = _root.scrs + scc;
_root["lvsc" + _root.lvr] = _root["lvsc" + _root.lvr] + scc;
_root.scor1.play();
Symbol 69 MovieClip Frame 15
removeMovieClip(this);
Symbol 72 MovieClip Frame 1
_visible = 0;
Symbol 72 MovieClip Frame 3
addblock2();
Symbol 72 MovieClip Frame 4
_visible = 1;
stop();
Symbol 74 MovieClip Frame 1
_visible = o;
_root.ball._x = _x - _parent._x;
_root.ball._y = _y - _parent._y;
_root.x1 = _x - _parent._x;
_root.y1 = _y - _parent._y;
unloadMovie (this);
Symbol 77 MovieClip Frame 1
_root.ball.gotoAndPlay(22);
Symbol 77 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 1
lk = 0;
Symbol 78 MovieClip Frame 5
if (_root.items.lst < 1) {
_root.lvr++;
combox();
gotoAndPlay (7);
}
Symbol 78 MovieClip Frame 6
gotoAndPlay (5);
Symbol 78 MovieClip Frame 19
_root.gotoAndStop(5);
Symbol 88 MovieClip Frame 3
_root.items.play();
unloadMovie (this);
Symbol 91 MovieClip Frame 1
_visible = 0;
Symbol 91 MovieClip Frame 3
addone();
Symbol 91 MovieClip Frame 4
_visible = 1;
stop();
Symbol 93 MovieClip Frame 1
_visible = 0;
Symbol 93 MovieClip Frame 3
addblock();
Symbol 93 MovieClip Frame 4
_visible = 1;
stop();
Symbol 96 MovieClip Frame 1
_visible = 0;
Symbol 96 MovieClip Frame 3
addblock2();
Symbol 96 MovieClip Frame 4
_visible = 1;
stop();
Symbol 100 MovieClip Frame 1
_visible = 0;
Symbol 100 MovieClip Frame 3
addone();
Symbol 100 MovieClip Frame 4
_visible = 1;
stop();
Symbol 102 MovieClip Frame 1
_visible = 0;
Symbol 102 MovieClip Frame 3
addblock();
Symbol 102 MovieClip Frame 4
_visible = 1;
stop();
Symbol 105 MovieClip Frame 1
_visible = 0;
Symbol 105 MovieClip Frame 2
addblock2();
Symbol 105 MovieClip Frame 4
_visible = 1;
stop();
Symbol 110 MovieClip Frame 1
_visible = 0;
Symbol 110 MovieClip Frame 3
addone();
Symbol 110 MovieClip Frame 4
_visible = 1;
stop();
Symbol 112 MovieClip Frame 1
_visible = 0;
Symbol 112 MovieClip Frame 3
addblock();
Symbol 112 MovieClip Frame 4
_visible = 1;
stop();
Symbol 115 MovieClip Frame 1
_visible = 0;
Symbol 115 MovieClip Frame 2
addblock2();
Symbol 115 MovieClip Frame 4
_visible = 1;
stop();
Symbol 122 MovieClip Frame 1
_visible = 0;
Symbol 122 MovieClip Frame 3
addone();
Symbol 122 MovieClip Frame 4
_visible = 1;
stop();
Symbol 124 MovieClip Frame 1
_visible = 0;
Symbol 124 MovieClip Frame 3
addblock();
Symbol 124 MovieClip Frame 4
_visible = 1;
stop();
Symbol 127 MovieClip Frame 1
_visible = 0;
Symbol 127 MovieClip Frame 2
addblock2();
Symbol 127 MovieClip Frame 4
_visible = 1;
stop();
Symbol 134 MovieClip Frame 1
lvl = _root.lvr;
if (lvl == 1) {
gotoAndStop (2);
}
if (lvl == 2) {
gotoAndStop (4);
}
if (lvl == 3) {
gotoAndStop (6);
}
if (lvl == 4) {
gotoAndStop (8);
}
if (lvl == 5) {
gotoAndStop (10);
}
Symbol 134 MovieClip Frame 2
dps = 1;
restexcol();
clp4.r2 = -50;
clp4.g2 = 0;
clp4.b2 = 50;
clp3.r2 = 250;
clp3.g2 = 100;
clp3.b2 = 0;
clp2.r2 = 100;
clp2.g2 = 0;
clp2.b2 = 0;
clp1.r2 = 50;
clp1.g2 = 100;
clp1.b2 = 150;
clk4.r2 = 0;
clk4.g2 = -150;
clk4.b2 = -150;
clk1.r2 = 0;
clk1.g2 = -50;
clk1.b2 = -150;
clb4.r2 = 0;
clb4.g2 = -40;
clb4.b2 = -150;
clb2.r2 = 0;
clb2.g2 = -25;
clb2.b2 = -150;
clb1.r2 = 0;
clb1.g2 = -25;
clb1.b2 = -100;
stop();
Symbol 134 MovieClip Frame 4
dps = 1;
restexcol();
clp4.r2 = 100;
clp4.g2 = 100;
clp4.b2 = 0;
clp3.r2 = 10;
clp3.g2 = 70;
clp3.b2 = 120;
clp2.r2 = -30;
clp2.g2 = 30;
clp2.b2 = 50;
clp1.r2 = 10;
clp1.g2 = 70;
clp1.b2 = 40;
clk4.r2 = -120;
clk4.g2 = -50;
clk4.b2 = 0;
clk1.r2 = 0;
clk1.g2 = -100;
clk1.b2 = -125;
clb4.r2 = 0;
clb4.g2 = -25;
clb4.b2 = -150;
stop();
Symbol 134 MovieClip Frame 6
dps = 1;
restexcol();
clp4.r2 = 150;
clp4.g2 = -50;
clp4.b2 = -50;
clp3.r2 = 250;
clp3.g2 = 100;
clp3.b2 = 0;
clp2.r2 = -50;
clp2.g2 = 0;
clp2.b2 = 50;
clp1.r2 = 150;
clp1.g2 = 0;
clp1.b2 = 0;
clk4.r2 = -150;
clk4.g2 = -70;
clk4.b2 = 0;
clk1.r2 = -100;
clk1.g2 = -50;
clk1.b2 = -200;
clb4.r2 = 0;
clb4.g2 = -25;
clb4.b2 = -150;
stop();
Symbol 134 MovieClip Frame 8
dps = 1;
restexcol();
clp4.r2 = -50;
clp4.g2 = 10;
clp4.b2 = 150;
clp3.r2 = 255;
clp3.g2 = 100;
clp3.b2 = -50;
clp2.r2 = 200;
clp2.g2 = 70;
clp2.b2 = 0;
clp1.r2 = 100;
clp1.g2 = 150;
clp1.b2 = 255;
clk4.r2 = -120;
clk4.g2 = -50;
clk4.b2 = 0;
clk1.r2 = 0;
clk1.g2 = -100;
clk1.b2 = -125;
clb4.r2 = 0;
clb4.g2 = -25;
clb4.b2 = -150;
clb1.r2 = 0;
clb1.g2 = -15;
clb1.b2 = -85;
stop();
Symbol 134 MovieClip Frame 10
dps = 1;
restexcol();
clp4.r2 = -30;
clp4.g2 = -30;
clp4.b2 = 50;
clp3.r2 = 150;
clp3.g2 = 50;
clp3.b2 = -50;
clp2.r2 = -30;
clp2.g2 = -30;
clp2.b2 = 50;
clp1.r2 = 150;
clp1.g2 = 0;
clp1.b2 = 0;
clk4.r2 = 0;
clk4.g2 = -20;
clk4.b2 = -150;
clk2.r2 = 0;
clk2.g2 = -150;
clk2.b2 = -150;
clk1.r2 = 0;
clk1.g2 = -90;
clk1.b2 = -170;
clb4.r2 = 0;
clb4.g2 = -25;
clb4.b2 = -150;
clb1.r2 = 0;
clb1.g2 = -15;
clb1.b2 = -85;
stop();
Symbol 143 MovieClip Frame 1
_visible = 0;
Symbol 143 MovieClip Frame 3
_visible = 1;
Symbol 143 MovieClip Frame 4
_x = _root._xmouse;
_y = _root._ymouse;
delta_x = _x - _root.ball._x;
delta_y = _y - _root.ball._y;
_rotation = ((-Math.atan2(delta_x, delta_y)) / (Math.PI/180));
if (_root._ymouse < 430) {
Mouse.hide();
_visible = 1;
} else {
Mouse.show();
_visible = 0;
}
Symbol 143 MovieClip Frame 5
gotoAndPlay (4);
Symbol 148 MovieClip Frame 1
if (_name == "iskra") {
gotoAndStop (10);
} else {
gotoAndPlay (2);
}
Symbol 148 MovieClip Frame 7
removeMovieClip(this);
Symbol 150 MovieClip Frame 1
_visible = 0;
Symbol 151 MovieClip Frame 1
function getit2() {
xg = (-_root.lev._x) + Math.floor((_parent._x + _x) / 20);
yg = (-_root.lev._y) + Math.floor((_parent._y + _y) / 20);
_root.lev.fon[(("blo" + xg) + "a") + yg].play();
}
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
_rotation = random(360);
getit2();
iskrak();
Symbol 151 MovieClip Frame 4
gotoAndStop (2);
Symbol 152 MovieClip Frame 1
function iskrak() {
fmv = (_parent.spd / 10) * 200;
if (fmv > 150) {
fmv = 150;
}
_root.snd.vol = fmv + 10;
sn = random(2);
if (sn == 1) {
sn = 2;
}
if ((_root.sfx != 2) and (sbl != 1)) {
if (_name == "p13") {
_root.snd.gotoAndPlay(5 + sn);
}
if (_name == "p2") {
_root.snd.gotoAndPlay(7 + sn);
}
if (_name == "p33") {
_root.snd.gotoAndPlay(9 + sn);
}
if (_name == "p4") {
_root.snd.gotoAndPlay(11 + sn);
}
if (_name == "p53") {
_root.snd.gotoAndPlay(13 + sn);
}
if (_name == "p6") {
_root.snd.gotoAndPlay(15 + sn);
}
if (_name == "p73") {
_root.snd.gotoAndPlay(17 + sn);
}
if (_name == "p8") {
_root.snd.gotoAndPlay(19 + sn);
}
}
x = _x + _parent._x;
y = _y + _parent._y;
_root.idp++;
if (_root.idp > 15) {
_root.idp = 1;
}
duplicateMovieClip (_root.iskra, "isk" + _root.idp, _root.idp);
_root["isk" + _root.idp]._x = x;
_root["isk" + _root.idp]._y = y;
}
function getit2() {
xg = (-_root.lev._x) + Math.floor((_parent._x + _x) / 20);
yg = (-_root.lev._y) + Math.floor((_parent._y + _y) / 20);
if (_root.lev.fon[(("blo" + xg) + "a") + yg].brb == 2) {
_root.lev.fon[(("blo" + xg) + "a") + yg].play();
sbl = 1;
}
}
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
_rotation = random(360);
getit2();
iskrak();
sbl = 0;
Symbol 152 MovieClip Frame 4
gotoAndStop (2);
Symbol 156 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
function getit(xpc, ypc) {
xg = (-_root.lev._x) + Math.floor((_x + xpc) / 20);
yg = (-_root.lev._y) + Math.floor((_y + ypc) / 20);
_root.lev[(("str" + xg) + "a") + yg].play();
}
function tuk(x1, y1, x2, y2) {
while (_root.lev.fon.hitTest(_x + x1, _y + y1, 1) == true) {
_x = (_x + x2);
_y = (_y + y2);
}
}
function launch() {
delta_x = _x - _root._xmouse;
delta_y = _y - _root._ymouse;
if (Math.sqrt((delta_x * delta_x) + (delta_y * delta_y)) < 60) {
if (_root.dwn == 1) {
_root.tne = 0;
if (_root.sfx != 2) {
_root.snd.gotoAndPlay(23);
}
combox();
trg = (-Math.atan2(delta_x, delta_y)) / (Math.PI/180);
spd = 10;
gotoAndPlay (4);
}
}
}
function plok(plo) {
i = 1;
while (i < 4) {
this[("p" + plo) + i].gotoAndPlay(2);
i++;
}
}
gotoAndPlay (7);
Symbol 164 MovieClip Frame 2
launch();
if ((((_x > 420) or (_x < -20)) or (_y > 500)) or (_y < -20)) {
_x = _root.x1;
_y = _root.y1;
}
Symbol 164 MovieClip Frame 3
gotoAndPlay (2);
Symbol 164 MovieClip Frame 4
spd = spd - 0.2;
pp = pp + spd;
if (pp > 29) {
pp = pp - 29;
}
ball.gotoAndStop(Math.floor(pp));
ball._rotation = trg;
if (spd < 0.5) {
gotoAndPlay (2);
}
xm = spd * Math.cos(trg * (Math.PI/180));
ym = (-spd) * Math.sin(trg * (Math.PI/180));
_y = (_y + xm);
_x = (_x + ym);
ht = 0;
pik._rotation = trg;
tuk(9, 0, -1, 0);
tuk(-9, 0, 1, 0);
tuk(0, 9, 0, -1);
tuk(0, -9, 0, 1);
tuk(7, -7, -1, 1);
tuk(-7, 7, 1, -1);
tuk(-7, -7, 1, 1);
tuk(7, 7, -1, -1);
if (_root.lev.fon.hitTest(_x + 8, _y - 8, 1) == true) {
xp = p2._x + _x;
yp = p2._y + _y;
if (pik.hitTest(xp, yp, 1) == true) {
trg = -90 - trg;
ht = 1;
p2.gotoAndPlay(2);
}
}
if (_root.lev.fon.hitTest(_x - 8, _y + 8, 1) == true) {
xp = p6._x + _x;
yp = p6._y + _y;
if (pik.hitTest(xp, yp, 1) == true) {
trg = -90 - trg;
ht = 1;
p6.gotoAndPlay(2);
}
}
if (_root.lev.fon.hitTest(_x + 8, _y + 8, 1) == true) {
xp = p4._x + _x;
yp = p4._y + _y;
if (pik.hitTest(xp, yp, 1) == true) {
trg = 90 - trg;
ht = 1;
p4.gotoAndPlay(2);
}
}
if (_root.lev.fon.hitTest(_x - 8, _y - 8, 1) == true) {
xp = p8._x + _x;
yp = p8._y + _y;
if (pik.hitTest(xp, yp, 1) == true) {
trg = 90 - trg;
ht = 1;
p8.gotoAndPlay(2);
}
}
if (ht != 1) {
if ((_root.lev.fon.hitTest(_x + 5, _y - 10, 1) == true) or (_root.lev.fon.hitTest(_x - 5, _y - 10, 1) == true)) {
if (pik.hitTest(_x, _y - 10, 1) == true) {
trg = 180 - trg;
ht = 1;
plok(1);
}
}
}
if (ht != 1) {
if ((_root.lev.fon.hitTest(_x + 10, _y + 5, 1) == true) or (_root.lev.fon.hitTest(_x + 10, _y - 5, 1) == true)) {
if (pik.hitTest(_x + 10, _y, 1) == true) {
trg = -trg;
ht = 1;
plok(3);
}
}
}
if (ht != 1) {
if ((_root.lev.fon.hitTest(_x + 5, _y + 10, 1) == true) or (_root.lev.fon.hitTest(_x - 5, _y + 10, 1) == true)) {
if (pik.hitTest(_x, _y + 10, 1) == true) {
trg = 180 - trg;
ht = 1;
plok(5);
}
}
}
if (ht != 1) {
if ((_root.lev.fon.hitTest(_x - 10, _y + 5, 1) == true) or (_root.lev.fon.hitTest(_x - 10, _y - 5, 1) == true)) {
if (pik.hitTest(_x - 10, _y, 1) == true) {
trg = -trg;
ht = 1;
plok(7);
}
}
}
getit(0, 0);
if (ht != 1) {
launch();
}
Symbol 164 MovieClip Frame 5
gotoAndPlay (4);
Symbol 164 MovieClip Frame 21
gotoAndPlay (2);
Symbol 164 MovieClip Frame 32
stop();
Symbol 169 MovieClip Frame 1
scrs = "Score " + _root.scrs;
stop();
Symbol 169 MovieClip Frame 2
scrs = "Score: " + _root.scrs;
Symbol 169 MovieClip Frame 3
gotoAndStop (1);
Symbol 172 MovieClip Frame 1
lst2 = "items " + lst;
Symbol 172 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 7
stop();
Symbol 181 Button
on (press) {
gotoAndPlay (15);
}
Symbol 192 MovieClip Frame 1
mySound1 = new Sound(this);
stop();
Symbol 192 MovieClip Frame 5
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 6
stop();
Symbol 192 MovieClip Frame 7
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 8
stop();
Symbol 192 MovieClip Frame 9
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 10
stop();
Symbol 192 MovieClip Frame 11
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 12
stop();
Symbol 192 MovieClip Frame 13
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 14
stop();
Symbol 192 MovieClip Frame 15
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 16
stop();
Symbol 192 MovieClip Frame 17
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 18
stop();
Symbol 192 MovieClip Frame 19
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 20
stop();
Symbol 192 MovieClip Frame 21
mySound1.setVolume(vol);
Symbol 192 MovieClip Frame 22
stop();
Symbol 192 MovieClip Frame 23
mySound1.setVolume(100);
Symbol 192 MovieClip Frame 24
stop();
Symbol 201 MovieClip Frame 1
mySoundg = new Sound(this);
mySoundg.setVolume(100);
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 4
stop();
Symbol 201 MovieClip Frame 6
stop();
Symbol 201 MovieClip Frame 8
stop();
Symbol 201 MovieClip Frame 10
stop();
Symbol 201 MovieClip Frame 12
stop();
Symbol 201 MovieClip Frame 14
stop();
Symbol 201 MovieClip Frame 16
stop();
Symbol 201 MovieClip Frame 18
stop();
Symbol 201 MovieClip Frame 20
stop();
Symbol 201 MovieClip Frame 22
stop();
Symbol 201 MovieClip Frame 24
stop();
Symbol 201 MovieClip Frame 26
stop();
Symbol 208 MovieClip Frame 1
mySoundg = new Sound(this);
mySoundg.setVolume(70);
stop();
Symbol 208 MovieClip Frame 2
stop();
Symbol 208 MovieClip Frame 3
mySoundg.setVolume(70);
Symbol 208 MovieClip Frame 4
stop();
Symbol 208 MovieClip Frame 5
mySoundg.setVolume(70);
Symbol 208 MovieClip Frame 6
stop();
Symbol 208 MovieClip Frame 7
mySoundg.setVolume(70);
Symbol 208 MovieClip Frame 8
stop();
Symbol 208 MovieClip Frame 9
mySoundg.setVolume(70);
Symbol 208 MovieClip Frame 10
stop();
Symbol 208 MovieClip Frame 11
mySoundg.setVolume(70);
Symbol 208 MovieClip Frame 12
stop();
Symbol 208 MovieClip Frame 13
mySoundg.setVolume(70);
Symbol 208 MovieClip Frame 14
stop();
Symbol 212 Button
on (release) {
_root.items.lst = 0;
}
Symbol 218 Button
on (press) {
_root.sfx = 0;
}
Symbol 219 Button
on (press) {
_root.sfx = 0;
gotoAndStop (1);
_root.sndoff.gotoAndStop(1);
}
Symbol 220 MovieClip Frame 1
if (_root.sfx == 2) {
gotoAndStop (2);
}
stop();
Symbol 220 MovieClip Frame 2
stop();
Symbol 223 Button
on (press) {
_root.sfx = 2;
gotoAndStop (2);
_root.sndon.gotoAndStop(2);
}
Symbol 224 Button
on (press) {
_root.sfx = 2;
}
Symbol 225 MovieClip Frame 1
if (_root.sfx == 2) {
gotoAndStop (2);
}
stop();
Symbol 225 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 1
lvl = "Level " + _root.lvr;
Symbol 234 MovieClip Frame 2
tt = 11;
tx = 2;
while (tx < 11) {
duplicateMovieClip ("tab1", "tab" + tx, tx);
this["tab" + tx]._y = (tab1._y + (tx * 23)) - 23;
tx++;
}
tx = 0;
while (tx < 10) {
i = tx + tt;
this.createTextField("mytext" + i, i, 40, (tx * 23) - 113, 60, 20);
this["mytext" + i].type = "dynamic";
this["mytext" + i].variable = "SCORE" + tx;
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
tx++;
}
myformatm = new TextFormat();
myformatm.size = 12;
myformatm.font = "Arial Cyr";
myformatm.color = 16777215 /* 0xFFFFFF */;
myformatm.align = "center";
tx = 0;
while (tx < 10) {
i = tx + tt;
this["mytext" + i].setTextFormat(myformatm);
tx++;
}
tt = 21;
tx = 0;
while (tx < 10) {
i = tx + tt;
this.createTextField("mytext" + i, i, -91, (tx * 23) - 113, 120, 20);
this["mytext" + i].type = "dynamic";
this["mytext" + i].variable = "NAME" + tx;
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
tx++;
}
myformatm = new TextFormat();
myformatm.size = 12;
myformatm.font = "Arial Cyr";
myformatm.color = 12904176 /* 0xC4E6F0 */;
myformatm.align = "center";
tx = 0;
while (tx < 10) {
i = tx + tt;
this["mytext" + i].setTextFormat(myformatm);
tx++;
}
tt = 31;
tx = 1;
while (tx < 11) {
i = tx + tt;
this.createTextField("mytext" + i, i, -122, (tx * 23) - 133, 20, 20);
this["mytext" + i].type = "static";
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
this["mytext" + i].text = tx;
tx++;
}
myformatm = new TextFormat();
myformatm.size = 10;
myformatm.font = "Neuropol";
myformatm.color = 12313326 /* 0xBBE2EE */;
myformatm.align = "right";
tx = 1;
while (tx < 11) {
i = tx + tt;
this["mytext" + i].setTextFormat(myformatm);
tx++;
}
Symbol 234 MovieClip Frame 8
if (ck > 1) {
stop();
}
cmo++;
if (cmo > 99) {
cmo = 0;
}
Symbol 234 MovieClip Frame 9
if (NAME1.length > 0) {
ck++;
gotoAndPlay (1);
} else {
gotoAndPlay (8);
}
Symbol 241 MovieClip Frame 11
stop();
Symbol 243 Button
on (release) {
gotoAndPlay (24);
}
Symbol 248 Button
on (release) {
i = 0;
while (i < 10) {
nm = i + 10;
sct["SCORE" + i] = 0;
sct["NAME" + i] = "";
locdat.data["svd" + i] = sct["SCORE" + i];
locdat.data["svd" + nm] = sct["NAME" + i];
i++;
}
sct.gotoAndPlay(2);
locdat.flush();
}
Symbol 253 MovieClip Frame 1
scrs = "Score: " + _root.scrs;
ck = 0;
stop();
Symbol 253 MovieClip Frame 2
scrs = "Score: " + _root.scrs;
Symbol 253 MovieClip Frame 3
gotoAndStop (1);
Symbol 256 MovieClip Frame 1
if (_root.name.length < 1) {
_root.name = "My name is";
}
Symbol 263 MovieClip Frame 1
if ((_root.dwn > 0) and (this.hitTest(_root._xmouse, _root._ymouse, 1) == true)) {
gotoAndPlay (3);
}
Symbol 263 MovieClip Frame 2
gotoAndPlay (1);
Symbol 263 MovieClip Frame 3
_y = _root._ymouse;
_root.allname._y = ((-_y) * 4) + 370;
Symbol 263 MovieClip Frame 4
if (_root.dwn > 0) {
gotoAndPlay (3);
}
Symbol 265 MovieClip Frame 1
_visible = 0;
Symbol 269 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 272 MovieClip Frame 1
i = 0;
while (i < 101) {
this.createTextField(("mytext" + i) + 102, i + 102, 164, (i * 15) + 265, 100, 20);
this[("mytext" + i) + 102].type = "dynamic";
this[("mytext" + i) + 102].variable = "SCORE" + i;
this[("mytext" + i) + 102].selectable = false;
this[("mytext" + i) + 102].embedFonts = true;
i++;
}
myformatm = new TextFormat();
myformatm.font = "Arial Cyr";
myformatm.color = 16777215 /* 0xFFFFFF */;
myformatm.align = "left";
myformatm.size = 12;
i = 0;
while (i < 101) {
this[("mytext" + i) + 102].setTextFormat(myformatm);
i++;
}
i = 0;
while (i < 101) {
this.createTextField("mytext" + i, i + 1, -43, (i * 15) + 265, 200, 20);
this["mytext" + i].type = "dynamic";
this["mytext" + i].variable = "NAME" + i;
this["mytext" + i].selectable = false;
this["mytext" + i].embedFonts = true;
i++;
}
myformat = new TextFormat();
myformat.font = "Arial Cyr";
myformat.color = 12313326 /* 0xBBE2EE */;
myformat.align = "right";
myformatm.size = 12;
i = 0;
while (i < 101) {
this["mytext" + i].setTextFormat(myformat);
i++;
}
Symbol 272 MovieClip Frame 8
if (ck > 1) {
stop();
}
Symbol 272 MovieClip Frame 9
if (NAME1.length > 0) {
ck++;
gotoAndPlay (1);
} else {
gotoAndPlay (8);
}
Symbol 283 Button
on (press) {
locdatnam.data.namerb = name;
locdatnam.flush();
if (name.length > 0) {
gotoAndStop (6);
stopAllSounds();
}
}
Symbol 294 MovieClip Frame 1
if (_root.sfx == 2) {
stop();
}
Symbol 294 MovieClip Frame 3
stop();
Symbol 299 Button
on (release) {
getURL ("http://www.rubilon.kulichki.com", "_blank");
}
Symbol 304 Button
on (release) {
getURL ("http://www.rubilon.kulichki.com", "_blank");
}