Frame 1
function Banner_Go() {
var _local2 = "^jjf0%%WXiebkj_ij$Yec";
var _local3 = "";
var _local1 = 0;
while (_local1 < _local2.length) {
_local3 = _local3 + String.fromCharCode(_local2.charCodeAt(_local1) + 10);
_local1++;
}
_local3 = _local3 + "/?r=stank";
getURL (_local3, "blank");
}
function AbsLink() {
var _local2 = "^jjf0%%WXiebkj_ij$Yec";
var _local3 = "";
var _local1 = 0;
while (_local1 < _local2.length) {
_local3 = _local3 + String.fromCharCode(_local2.charCodeAt(_local1) + 10);
_local1++;
}
_local3 = _local3 + (("/?r=" + GetPrefix()) + "tank");
getURL (_local3, "blank");
}
function SendResult() {
var _local1 = _root;
var _local2 = (((((((_local1.score + "\t") + 0) + "\t") + stName) + "\t") + "tank") + "\t") + "web";
getURL ("http://absolutist.com/cgi-bin/gameres.pl?g=boa&e=" + _local1.Crypto(_local2), "blank");
_local1.gotoAndPlay(4);
}
function LinkPC() {
var _local2 = "^jjf0%%WXiebkj_ij$Yec";
var _local3 = "";
var _local1 = 0;
while (_local1 < _local2.length) {
_local3 = _local3 + String.fromCharCode(_local2.charCodeAt(_local1) + 10);
_local1++;
}
_local3 = _local3 + (("/boa/?r=" + GetPrefix()) + "tank");
getURL (_local3, "blank");
}
function GetPrefix() {
return(_root._url.charAt(_root._url.length - 3));
}
if (Dif != 0) {
Strelka.gotoAndStop(Dif);
}
stop();
Instance of Symbol 56 MovieClip in Frame 1
onClipEvent (mouseDown) {
mx = _parent._xmouse;
my = _parent._ymouse;
if ((my > 12) && (my < 186)) {
i = 0;
while (i < 5) {
if ((mx > (157 + (55 * i))) && (mx < (157 + (55 * (i + 1))))) {
if (((_parent.credit + _parent.inmachine) > i) && (_parent.inmachine < (i + 1))) {
j = 0;
while (j < 5) {
curcardschange[j] = true;
j++;
}
_parent.DrawCards(true);
_parent.credit = _parent.credit + _parent.inmachine;
_parent.credit = _parent.credit - (i + 1);
_parent.inmachine = i + 1;
if (_parent.sound_flag) {
_parent.Sound1.start();
}
_parent.credits = "$" + _parent.credit;
_parent.Table(0, _parent.inmachine);
_parent.cur_inmachine = _parent.inmachine;
if ((_parent.inmachine >= 5) || (_parent.credit <= 0)) {
_parent.gotoAndPlay(7);
}
}
}
i++;
}
}
}
Frame 2
function Veter_Set() {
New_vet = (Math.random() * 2) - 1;
if (New_Vet > Veter) {
d_vet = Skok;
} else {
d_vet = -Skok;
}
}
function Oblaka() {
i = 1;
while (i <= 5) {
Name = "Obl" + i;
Obl.duplicateMovieClip(Name, 10 + i);
eval (Name)._x = eval (Name)._x + ((125 * (i - 1)) + random(50));
eval (Name)._y = eval (Name)._y + random(50);
eval (Name).gotoAndStop(random(10) + 1);
eval (Name)._alpha = 30 + random(50);
i++;
}
}
function Auto_Go(n) {
var dx;
var zn;
var nx;
var sc;
if (eval ("Move" + n)) {
if (eval ("Bit" + n)) {
nx = Math.round(eval (Name)._x / 5);
if (y[nx] > 350) {
if (eval (Name)._x < 250) {
dx = 3;
} else {
dx = -3;
}
if (y[nx + dx] == 400) {
dx = 0;
}
} else {
dx = 3;
if (((nx * 5) + (dx * 5)) > 395) {
dx = dx * -1;
}
if (((nx * 5) - (dx * 5)) > 5) {
zn = random(2) - 1;
}
if ((dx > 0) && (zn < 0)) {
dx = dx * zn;
}
sc = Math.abs(dx) / dx;
i = 1;
while (i <= Math.abs(dx)) {
if (y[nx + (sc * (i - 1))] > 350) {
dx = 0;
}
i++;
}
}
eval (Name)._x = x[nx + dx];
eval (Name)._y = y[nx + dx];
if (n == 1) {
Bit1 = false;
if (Math.abs(dx) != 0) {
Move1--;
if (Demo) {
Move.gotoAndStop(Move1 + 1);
}
}
} else {
Bit2 = false;
if (Math.abs(dx) != 0) {
Move2--;
}
}
}
}
}
function Weapon_Reset() {
w1[1] = 5;
w1[2] = 3;
w1[3] = 2;
w1[4] = 4;
Pointt._visible = false;
i = 1;
while (i <= 4) {
w2[i] = w1[i];
name = "Point" + i;
Pointt.duplicateMovieClip(name, 2 + i);
eval (name)._x = eval (name)._x + ((i - 1) * 30);
i++;
}
}
function Weapon_Set(n) {
i = 1;
while (i <= 4) {
name = "Point" + i;
eval (name).gotoAndStop(eval ("w" + n)[i] + 1);
i++;
}
}
function Main_Go(restart) {
Click._visible = false;
Fly = false;
Fly_Moment.removeMovieClip();
Pole.removeMovieClip();
Tank1.removeMovieClip();
Tank2.removeMovieClip();
i = 1;
while (i <= 5) {
name = "Point" + i;
if (i != 5) {
eval (name).removeMovieClip();
}
name = "Obl" + i;
eval (name).removeMovieClip();
i++;
}
if (Restart) {
gotoAndPlay ("Start");
} else {
gotoAndStop ("Menu");
}
}
function Dead_Try() {
if ((Tank1._y == 400) || (Tank2._y == 400)) {
Dead = true;
Click._visible = true;
if (!Demo) {
Win_Lose._visible = true;
}
if (Tank1._y == 400) {
Tank1._visible = false;
Fly_Moment.removeMovieClip();
Win_Lose.gotoAndStop(2);
} else {
Tank2._visible = false;
Win_Lose.gotoAndStop(1);
}
}
}
function Test_kind_of_shoot() {
var Frst;
var Next;
var nn;
if (First) {
Next = "Tank2";
Frst = "Tank1";
} else {
Next = "Tank1";
Frst = "Tank2";
}
if (Kind_of_shoot == 3) {
if (Math.abs(eval (Next)._x - x_pul[k]) < 10) {
ShootN3();
}
}
if (Kind_of_shoot == 4) {
nn = Math.floor(x_pul[k] / 5);
if ((Math.abs(y_pul[k] - y[nn]) < 50) && (Math.abs(x_pul[k] - eval (Frst)._x) > 30)) {
Kind_of_shoot = 10;
x_pul[k] = x[nn];
}
}
if (Kind_of_shoot == 5) {
nn = Math.floor(x_pul[k] / 5);
if (Math.abs(y_pul[k] - y[nn]) < 20) {
ShootN5(Next);
}
if (Math.abs(eval (Next)._x - x_pul[k]) < 30) {
Kind_of_shoot = 1;
}
}
if (Kind_of_shoot == 10) {
ShootN4(Next);
}
}
function Weapon_Down(n) {
if (!Demo) {
w1[n]--;
}
eval ("Point" + n).gotoAndStop(w1[n] + 1);
if (w1[n] == 0) {
Weap.gotoAndStop(1);
eval ("Weap.But" + n).enabled = false;
}
}
function Shoot_Button(xt, yt, ang, str, Kind) {
var _local1 = Kind;
var _local2 = str;
Veter_Set();
if (First) {
Weapon_Down(_local1 - 1);
}
Kind_of_shoot = _local1;
_local2 = _local2 * (Vmax / 100);
if (_local1 != 2) {
ShootN1(xt, yt, ang, _local2);
}
if (_local1 == 2) {
ShootN2(xt, yt, ang, _local2);
}
Live_p = n_pul;
All_Fly = true;
}
function ShootN1(xt, yt, ang, str) {
n_pul = 1;
Pula_Shoot(xt, yt, ang, str, 1);
}
function ShootN2(xt, yt, ang, str) {
var _local1 = ang;
var _local2 = yt;
var _local3 = xt;
n_pul = 3;
_local1 = _local1 - 2;
i = 1;
while (i <= 3) {
Pula_Shoot(_local3, _local2, _local1, str, i);
_local1 = _local1 + 2;
i++;
}
}
function ShootN3() {
var _local1;
var _local3;
var _local2;
n_pul = 8;
Live_p = n_pul;
_local1 = 22.5;
_local3 = x_pul[k];
_local2 = y_pul[k];
i = 1;
while (i <= n_pul) {
Pula_Shoot(_local3, _local2, _local1, 5, i);
_local1 = _local1 + (360 / n_pul);
i++;
}
All_Fly = true;
Kind_of_shoot = 1;
}
function ShootN4(Next) {
var zn;
var nox;
zn = vx[k] / Math.abs(vx[k]);
vx[k] = 5 * zn;
nox = Math.round((x_pul[k] + vx[k]) / 5);
vy[k] = (y[nox] - y_pul[k]) - 30;
if (Math.abs(eval (Next)._x - x_pul[k]) < 10) {
vx[k] = zn;
vy[k] = 3;
}
}
function ShootN5(Next) {
var _local2;
var _local1;
_local2 = vx[k] / Math.abs(vx[k]);
vx[k] = 5 * _local2;
_local1 = Math.round((x_pul[k] + vx[k]) / 5);
vy[k] = (y[_local1] - y_pul[k]) - 30;
}
function Pula_Shoot(xt, yt, ang, str, numb) {
var _local1 = numb;
x_pul[_local1] = xt;
y_pul[_local1] = yt;
vx[_local1] = str * Math.cos((ang / 180) * Math.PI);
vy[_local1] = (-str) * Math.sin((ang / 180) * Math.PI);
Fly[_local1] = true;
}
function Zaryad() {
var x1;
var _local3;
var y1;
var _local2;
var _local1;
dx = vx[k] + Veter;
dy = vy[k] + g;
_local3 = x_pul[k];
_local2 = y_pul[k];
x1 = _local3 - dx;
y1 = _local2 - dy;
if ((Kind_of_shoot == 1) || 2) {
_local1 = 16711680 /* 0xFF0000 */;
}
if (Kind_of_shoot == 3) {
_local1 = 10027008 /* 0x990000 */;
}
if (Kind_of_shoot == 4) {
_local1 = 16763955 /* 0xFFCC33 */;
}
if (Kind_of_shoot == 5) {
_local1 = 16711935 /* 0xFF00FF */;
}
if (Kind_of_shoot == 10) {
_local1 = 16776960 /* 0xFFFF00 */;
}
Fly_Moment.lineStyle(1, _local1, 80);
Fly_Moment.moveTo(x1, y1);
Fly_Moment.lineTo(_local3, _local2);
i = 1;
while (i <= 3) {
xn = x1 + ((dx * i) / 4);
yn = y1 + ((dy * i) / 4);
Fly_Moment.lineStyle(i + 1, _local1, 80);
Fly_Moment.moveTo(xn, yn);
Fly_Moment.lineTo(_local3, _local2);
i++;
}
}
function t3p(p1, p2, p3) {
var _local1 = p3;
var _local2 = p2;
var _local3 = p1;
if ((((_local3 <= _local2) && (_local3 <= _local1)) && (_local1 <= _local2)) || (((_local3 >= _local2) && (_local3 >= _local1)) && (_local1 >= _local2))) {
return(true);
}
return(undefined);
}
function Find_Max(x1, x2) {
var _local1;
var _local2;
var _local3;
_local2 = Math.floor(Math.min(x1, x2) / 5);
_local3 = Math.floor(Math.max(x1, x2) / 5);
_local1 = _local2;
i = _local2 + 1;
while (i <= _local3) {
if (y[i] < y[_local1]) {
_local1 = i;
}
i++;
}
return(_local1);
}
function Speed(sx, sy, alf) {
var _local3;
var _local1;
var _local2;
_local3 = Math.cos((alf / 180) * Math.PI);
_local1 = Math.tan((alf / 180) * Math.PI);
_local2 = ((3.35 * sx) / _local3) * Math.sqrt(g / (2 * ((sx * _local1) - sy)));
return(_local2);
}
function Set_Weapon1() {
var _local2;
var _local1;
if (maxW1 > 0) {
_local2 = random(maxW1) + 1;
i = 1;
while (i <= _local2) {
_local1++;
while (w1[_local1] == 0) {
_local1++;
}
i++;
}
w1[_local1]--;
if (w1[_local1] == 0) {
maxW1--;
}
return(_local1);
}
return(0);
}
function Set_Weapon2() {
var _local2;
var _local1;
if (maxW2 > 0) {
_local2 = random(maxW2) + 1;
i = 1;
while (i <= _local2) {
_local1++;
while (w2[_local1] == 0) {
_local1++;
}
i++;
}
w2[_local1]--;
if (w2[_local1] == 0) {
maxW2--;
}
return(_local1);
}
return(0);
}
function Auto(n) {
var rotate;
var p;
var Next;
var nn;
var dx1;
var dy1;
var dx2;
var dy2;
var vv;
var xx;
var kk = 0;
var Cur_weap;
if (!All_Fly) {
Name = "Tank" + n;
if (n == 1) {
nn = 2;
Cur_weap = Set_Weapon1() + 1;
Weap.gotoAndStop(Cur_weap);
} else {
nn = 1;
Cur_weap = Set_Weapon2() + 1;
}
Next = "Tank" + nn;
xx = Find_Max(eval (Next)._x, eval (Name)._x);
dx1 = Math.abs(eval (Name)._x - eval (Next)._x);
dy1 = eval (Name)._y - eval (Next)._y;
dx2 = Math.abs(eval (Name)._x - x[xx]);
dy2 = (eval (Name)._y - y[xx]) + 10;
p = 90;
while (p == 90) {
kk++;
p = 1;
while (p <= 89) {
if (Math.abs(Speed(dx1, dy1, p) - Speed(dx2, dy2, p)) < kk) {
break;
}
p++;
}
}
p = p + (random((Dif * 2) + 1) - Dif);
vv = Speed(dx1, dy1, p);
p = p + (random((Dif * 2) + 1) - Dif);
if (eval (Next)._x > eval (Name)._x) {
rotate = -p;
} else {
rotate = -180 + p;
}
eval (Name).Pushka._rotation = rotate;
Shoot_Button(eval (Name)._x, eval (Name)._y - 13, -eval (Name).Pushka._rotation, vv, Cur_weap);
if (n == 2) {
eval (Name).Pushka._rotation = -p;
}
}
}
function Lagr(xt) {
var _local3 = xt;
var s;
var _local2;
var _local1;
s = 0;
i = -2;
while (i <= 7) {
_local2 = 1;
_local1 = -2;
while (_local1 <= 7) {
if (i != _local1) {
_local2 = _local2 * ((_local3 - xn[_local1]) / (xn[i] - xn[_local1]));
}
_local1++;
}
s = s + (yn[i] * _local2);
i++;
}
return(s);
}
function Set_Points() {
i = 0;
while (i <= 5) {
xn[i] = i * 100;
if ((i == 0) || (i == 5)) {
yn[i] = 200 + random(100);
}
if ((i == 1) || (i == 4)) {
yn[i] = 200 + random(150);
}
if ((i == 2) || (i == 3)) {
yn[i] = 100 + random(100);
}
i++;
}
Convert_Points();
}
function Convert_Points() {
var _local1;
_local1 = 0;
while (_local1 <= 100) {
x[_local1] = _local1 * 5;
y[_local1] = Lagr(x[_local1]);
if (y[_local1] > 400) {
y[_local1] = 400;
}
_local1++;
}
}
function Draw_Pole() {
createEmptyMovieClip("Pole", 0);
with (Pole) {
clear();
lineStyle(0, 0, 0);
beginFill(65280, 100);
moveTo(0, 400);
i = 0;
while (i <= 100) {
lineTo(_root.x[i], _root.y[i]);
i++;
}
lineTo(500, 400);
endFill();
}
}
function Point(x1, y1, x2, y2, x3, y3, x4, y4) {
var A1;
var _local3;
var B1;
var _local2;
var C1;
var C2;
var _local1;
A1 = y2 - y1;
B1 = x1 - x2;
C1 = ((-x1) * A1) - (y1 * B1);
_local3 = y4 - y3;
_local2 = x3 - x4;
C2 = ((-x3) * _local3) - (y3 * _local2);
_local1 = (A1 * _local2) - (B1 * _local3);
if (_local1 != 0) {
tx0 = ((B1 * C2) - (C1 * _local2)) / _local1;
ty0 = ((C1 * _local3) - (A1 * C2)) / _local1;
}
}
function Lien_test(n1, n2, x1, y1, x2, y2) {
var _local1 = n2;
var _local2 = n1;
var _local3 = y2;
var n;
if (_local2 > _local1) {
n = _local2;
_local2 = _local1;
_local1 = n;
}
if (_local2 < 0) {
_local2 = 0;
}
if (_local1 > 100) {
_local1 = 100;
}
i = _local2;
while (i <= (_local1 - 1)) {
Point(x1, y1, x2, _local3, x[i], y[i], x[i + 1], y[i + 1]);
if (t3p(x[i], x[i + 1], tx0) && (t3p(y[i], y[i + 1], ty0))) {
return(true);
}
i++;
}
return(undefined);
}
function Boom_Test() {
var _local3;
var _local2;
var ya;
var yb;
var n1;
var _local1;
if (First) {
Name = "Tank2";
} else {
Name = "Tank1";
}
_local3 = x_pul[k];
_local2 = (x_pul[k] + vx[k]) + Veter;
ya = y_pul[k];
yb = (y_pul[k] + vy[k]) + g;
n1 = Math.floor(_local3 / 5);
_local1 = Math.floor(_local2 / 5);
if (_local1 == n1) {
_local1++;
}
if (Lien_test(n1, _local1, _local3, ya, _local2, yb)) {
Earth_Die();
Boom._x = tx0;
Boom._y = ty0;
Boom._visible = true;
Boom.play();
return(true);
}
return(undefined);
}
function Earth_Die() {
var _local1;
var _local3;
var a;
var _local2;
_local1 = Math.round(tx0 / 5);
i = _local1 - bn;
while (i <= (_local1 + bn)) {
a = bn * 5;
_local2 = Math.abs(x[_local1] - x[i]);
_local3 = Math.sqrt((a * a) - (_local2 * _local2));
if (y[i] < (ty0 + _local3)) {
y[i] = ty0 + _local3;
}
if (y[i] > 400) {
y[i] = 400;
}
i++;
}
Draw_Pole();
Tank_Down(1);
Tank_Down(2);
Dead_Try();
}
function Tank_Down(n) {
var tx;
var ty;
var px;
Name = "Tank" + n;
tx = eval (Name)._x;
ty = eval (Name)._y;
px = Math.round(tx0 / 5);
if (t3p((tx0 - (bn * 3)) - 10, (tx0 + (bn * 3)) + 10, tx) && (ty < (ty0 + (bn * 3)))) {
eval (Name)._x = x[px];
eval (Name)._y = y[px];
if (n == 1) {
Bit1 = true;
} else {
Bit2 = true;
}
}
}
function Tank_Stand() {
if (Bad1 != 0) {
i = 5;
while (i <= 45) {
if (Math.abs(y[i] - y[i - 1]) < Bad1) {
Tank1._x = x[i];
Tank1._y = y[i];
Bad1 = 0;
break;
}
i++;
}
}
if (Bad2 != 0) {
i = 95;
while (i >= 55) {
if (Math.abs(y[i] - y[i - 1]) < Bad2) {
Tank2._x = x[i];
Tank2._y = y[i];
Bad2 = 0;
break;
}
i--;
}
}
if (Bad1 != 0) {
Bad1++;
}
if (Bad2 != 0) {
Bad2++;
}
}
function Game_Start() {
Bad1 = 1;
Bad2 = 1;
while ((Bad1 != 0) || (Bad2 != 0)) {
Tank_Stand();
}
Draw_Pole();
}
xn = new Array();
yn = new Array();
x = new Array();
y = new Array();
vx = new Array();
vy = new Array();
x_pul = new Array();
y_pul = new Array();
Fly = new Array();
w1 = new Array();
w2 = new Array();
Vmax = 30;
g = 1;
bn = 3;
Jump = 1;
Skok = 0.01;
xn[-1] = -100;
yn[-1] = 200;
xn[-2] = -200;
yn[-2] = 500;
xn[6] = 600;
yn[6] = 200;
xn[7] = 700;
yn[7] = 500;
Tank._visible = false;
Obl._visible = false;
Tank.duplicateMovieClip("Tank1", 1);
Tank.duplicateMovieClip("Tank2", 2);
Tank1._visible = false;
Tank2._visible = false;
Tank2._xscale = Tank2._xscale * -1;
Instance of Symbol 105 MovieClip "Tank" in Frame 2
on (keyPress "<Left>") {
if (!_root.Demo) {
if (Pushka._rotation > -180) {
Pushka._rotation = Pushka._rotation - _root.Jump;
}
if (Pushka._rotation == -90) {
Pushka._rotation = -90 - _root.Jump;
}
}
}
on (keyPress "<Right>") {
if (!_root.Demo) {
if (Pushka._rotation < 0) {
Pushka._rotation = Pushka._rotation + _root.Jump;
}
if (Pushka._rotation == -90) {
Pushka._rotation = -90 + _root.Jump;
}
}
}
on (keyPress "<Up>") {
if (!_root.Demo) {
if (_root.Power.Num._xscale > 0) {
_root.Power.Num._xscale = _root.Power.Num._xscale - _root.Jump;
}
}
}
on (keyPress "<Down>") {
if (!_root.Demo) {
if (_root.Power.Num._xscale < 90) {
_root.Power.Num._xscale = _root.Power.Num._xscale + _root.Jump;
}
}
}
on (keyPress "<Space>") {
if ((!_root.All_Fly) && (!_root.Demo)) {
_root.Shoot_Button(_x, _y - 5, -Pushka._rotation, 100 - _root.Power.Num._xscale, _root.Weap._currentframe);
}
}
Frame 3
Clck.duplicateMovieClip("Click", 20);
Clck._visible = false;
if (!Demo) {
Click._visible = false;
}
Boom._visible = false;
Tank1.Pushka._rotation = -60;
Tank2.Pushka._rotation = -60;
Tank1.enabled = false;
Tank2.enabled = false;
Power.Num._xscale = 0;
Demo_cl._visible = Demo;
Win_Lose._visible = false;
All_Fly = false;
Dead = false;
Set_Points();
Game_Start();
Weapon_Reset();
First = true;
Weapon_Set(1);
maxW1 = 4;
maxW2 = 4;
Move1 = 10;
Move.gotoAndStop(Move1 + 1);
Move2 = 10;
Bit1 = false;
Bit2 = false;
Oblaka();
Veter = (Math.random() * 2) - 1;
d_vet = 0;
Tank1._visible = true;
Tank2._visible = true;
Frame 5
if (d_vet != 0) {
Veter = Veter + d_vet;
if (Math.abs(Veter - New_Vet) < Skok) {
d_vet = 0;
}
}
i = 1;
while (i <= 5) {
Name = "Obl" + i;
eval (Name)._x = eval (Name)._x + Veter;
if ((eval (Name)._x - eval (Name)._width) > 500) {
eval (Name)._x = (-eval (Name)._width) - random(10);
eval (Name)._y = Obl._y + random(50);
eval (Name).gotoAndStop(random(10) + 1);
}
if ((eval (Name)._x + eval (Name)._width) < 0) {
eval (Name)._x = (500 + eval (Name)._width) + random(10);
eval (Name)._y = Obl._y + random(50);
eval (Name).gotoAndStop(random(10) + 1);
}
i++;
}
if (!All_Fly) {
if (First) {
if (Demo) {
Auto(1);
Auto_Go(1);
}
} else {
Auto(2);
Auto_Go(2);
}
}
if (All_Fly) {
createEmptyMovieClip("Fly_Moment", 10);
k = 1;
while (k <= n_pul) {
if (Fly[k]) {
if (((Boom_Test() || (y_pul[k] > 400)) || (x_pul[k] < 0)) || (x_pul[k] > 500)) {
Fly[k] = false;
Live_p--;
if (Live_p == 0) {
All_Fly = false;
Fly_Moment.clear();
}
}
x_pul[k] = x_pul[k] + (vx[k] + Veter);
vy[k] = vy[k] + g;
y_pul[k] = y_pul[k] + vy[k];
if (All_Fly) {
Zaryad();
Test_kind_of_shoot();
} else {
First = !First;
}
}
k++;
}
}
if (!Dead) {
gotoAndPlay ("Go");
} else if (!Demo) {
gotoAndStop ("Go");
} else {
Main_Go(true);
}
Symbol 8 Button
on (release) {
Strelka.gotoAndStop(2);
}
Symbol 13 Button
on (release) {
Strelka.gotoAndStop(1);
}
Symbol 18 MovieClip Frame 2
stop();
Symbol 22 Button
on (release) {
Strelka.gotoAndStop(3);
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 5
stop();
Symbol 42 MovieClip Frame 8
gotoAndStop (1);
Symbol 42 MovieClip Frame 12
gotoAndStop (1);
Symbol 44 Button
on (rollOver) {
_root.knop1.gotoAndPlay(2);
}
on (rollOut) {
_root.knop1.gotoAndPlay(6);
}
on (release) {
Dif = Strelka._currentframe;
Demo = false;
gotoAndPlay ("Start");
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 5
stop();
Symbol 50 Button
on (rollOver) {
_root.knop2.gotoAndPlay(2);
}
on (rollOut) {
_root.knop2.gotoAndPlay(6);
}
on (release) {
getURL ("http://absolutist.com/online/tanks/?r=tanksonline", "_blank");
}
Symbol 53 Button
on (release) {
gotoAndStop ("Help");
}
Symbol 59 Button
on (release) {
Dif = Strelka._currentframe;
Demo = true;
gotoAndPlay ("Start");
}
Symbol 66 Button
on (release) {
getURL ("http://absolutist.com/online/tanks/?r=tanks_online", "_blank");
}
Symbol 77 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 7
_visible = false;
gotoAndStop (1);
Symbol 92 Button
on (release) {
_root.Main_Go(false);
}
Symbol 94 Button
on (release) {
gotoAndStop (1);
}
Symbol 95 Button
on (release) {
gotoAndStop (2);
}
Symbol 96 Button
on (release) {
gotoAndStop (3);
}
Symbol 97 Button
on (release) {
gotoAndStop (4);
}
Symbol 98 Button
on (release) {
gotoAndStop (5);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 117 Button
on (release) {
if ((Move1 > 0) && (Tank1._x > 10)) {
Move1--;
if (Move1 == 0) {
Btn_l.enabled = false;
Btn_r.enabled = false;
}
nx = Math.round(Tank1._x / 5);
nx--;
Tank1._x = x[nx];
Tank1._y = y[nx];
Move.gotoAndStop(Move1 + 1);
Dead_Try();
}
}
Symbol 118 Button
on (release) {
if ((Move1 > 0) && (Tank1._x < 490)) {
Move1--;
if (Move1 == 0) {
Btn_l.enabled = false;
Btn_r.enabled = false;
}
nx = Math.round(Tank1._x / 5);
nx++;
Tank1._x = x[nx];
Tank1._y = y[nx];
Move.gotoAndStop(Move1 + 1);
Dead_Try();
}
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 129 Button
on (release) {
_root.Main_Go(false);
}
Symbol 138 Button
on (release) {
_root.gotoAndStop(1);
}