Frame 2
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Stage.showMenu = false;
Frame 92
function game() {
gotoAndStop (94);
}
function _game(f) {
gotoAndStop(f +93);
}
function instr() {
gotoAndStop (93);
}
function starting() {
gotoAndStop (92);
}
function win() {
gotoAndStop (92);
}
function hof(f) {
gotoAndStop(f +95);
}
stop();
ng.onRelease = function () {
this._parent.game();
};
ins.onRelease = function () {
this._parent.instr();
};
mine.onEnterFrame = function () {
this._rotation = this._rotation + 3;
};
Instance of Symbol 136 MovieClip "ng" in Frame 92
//component parameters
onClipEvent (initialize) {
label = "Play Game";
wide = 99;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = false;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.game();
}
Instance of Symbol 136 MovieClip "ins" in Frame 92
//component parameters
onClipEvent (initialize) {
label = "Instructions";
wide = 101;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = false;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.instr();
}
Instance of Symbol 136 MovieClip in Frame 92
//component parameters
onClipEvent (initialize) {
label = "GO";
wide = 75;
c1 = 0;
c2 = 153;
c3 = 0;
hc1 = 0;
hc2 = 200;
hc3 = 0;
baseMode = true;
widthMode = true;
rgb = 39168;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 51200;
}
on (press) {
getURL ("http://www.FlashGames247.com", "_blank");
}
Frame 93
ng.onRelease = function () {
this._parent.game();
};
ins.onRelease = function () {
this._parent.instr();
};
Instance of Symbol 136 MovieClip "ng" in Frame 93
//component parameters
onClipEvent (initialize) {
label = "Play Game";
wide = 99;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = false;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.game();
}
Instance of Symbol 136 MovieClip "ins" in Frame 93
//component parameters
onClipEvent (initialize) {
label = "Instructions";
wide = 101;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = false;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.instr();
}
Frame 94
this.stages = [];
this.stages.push({ivl:5000, name:"Ciller 4 ya", series:[[5], [5, 2], [4, 3, 2], [4, 2, 3]]});
this.stages.push({ivl:5000, name:"Flow with Rita", series:[[5, 2, 1], [6, 3, 2], [2, 5, 3], [1, 5, 5]]});
this.stages.push({ivl:5000, name:"Boom Boom Bama", series:[[1, 5, 4], [1, 5, 5], [2, 4, 6], [0, 6, 6]]});
var a = MovieClip.prototype;
a.clearMc = function () {
for (var clip in this) {
delete this[clip];
this[clip].swapDepths(this.hD());
this[clip].removeTextField();
this[clip].removeMovieClip();
}
};
a.hd = function () {
if (_global.dpthMenager == undefined) {
_global.dpthMenager = [];
}
if (dpthMenager[this] == undefined) {
dpthMenager[this] = [];
}
dpthMenager[this].push(1);
return(dpthMenager[this].length);
};
a.rotateBy = function (fi, x, y) {
var rad = ((fi * Math.PI) / 180);
var s = Math.sin(rad);
var c = Math.cos(rad);
var dx = (this._x - x);
var dy = (this._y - y);
this._rotation = this._rotation + fi;
this._x = ((dx * c) - (dy * s)) + x;
this._y = ((dx * s) + (dy * c)) + y;
};
a.getGX = function () {
var lx = this._x;
var ly = this._y;
var o = {x:lx, y:ly};
this._parent.localToGlobal(o);
return(o.x);
};
a.getGY = function () {
var lx = this._x;
var ly = this._y;
var o = {x:lx, y:ly};
this._parent.localToGlobal(o);
return(o.y);
};
a.setGX = function (v) {
var o = {x:v, y:this._gy};
this._parent.globalToLocal(o);
this._x = o.x;
};
a.setGY = function (v) {
var o = {x:this._gx, y:v};
this._parent.globalToLocal(o);
this._y = o.y;
};
a.addProperty("_gx", this.getGX, this.setGX);
a.addProperty("_gy", this.getGY, this.setGY);
ASSetPropFlags(a, null, 1);
Math.easeOutCubic = function (t, b, c, d) {
return((c * (((((t = (t / d) - 1)) * t) * t) + 1)) + b);
};
function callDelayed(r, f, d, oe) {
r.f2call = f;
r.delay = d;
r.oe = oe;
r.callStart = getTimer();
r.onEnterFrame = function () {
if ((getTimer() - this.callStart) < this.delay) {
return(undefined);
}
var o = this.f2call[0];
o.t[o.f](o.a);
this.f2call.shift();
this.callStart = getTimer();
if (this.f2call.length == 0) {
oe.t[oe.f]();
delete this.onEnterFrame;
delete this.delay;
delete this.callStart;
delete this.f2call;
}
};
}
function DirectorClass() {
this.init();
}
delete dr;
var dr = DirectorClass.prototype;
dr.init = function () {
this.floor = Math.floor;
this.fakeStage = (this.stage = 0);
this.stagesConf = $root.stages;
this.enemiesCon = $root.createEmptyMovieClip("enemies", $root.hD());
this.enemies = [];
this.enemies.push({ln:"Enemy_t1", spd:0.01, energy:10, power:10, score:100, t:0});
this.enemies.push({ln:"Enemy_t2", spd:0.015, energy:15, power:15, score:150, t:1});
this.enemies.push({ln:"Enemy_t3", spd:0.025, energy:35, power:25, score:200, t:2});
this.bonusesCon = $root.createEmptyMovieClip("bonuses", $root.hD());
this.boardMC = "Director_board";
this.outLN = "outArea";
this.scoreBonus = 5000;
this.board((("Stage " + Number(this.stage + 1)) + newline) + this.stagesConf[this.stage].name);
};
dr.board = function (txt) {
this.enemiesCon.clearMc();
this.bonusesCon.clearMc();
this.outArea.removeMovieClip();
$root.Player.remove();
var smc = $root.attachMovie(this.boardMC, this.boardMC, $root.hd(), {_x:250, _y:250, path:this});
with (smc.txt) {
autoSize = "left";
text = txt;
}
smc.init = getTimer();
smc.onMouseDown = function () {
if ((getTimer() - this.init) < 1000) {
return(undefined);
}
this.path.startPlayin(this);
};
};
dr.startPlayin = function (todel) {
todel.removeMovieClip();
$root.Player.place();
this.outArea = $root.attachMovie(this.outLN, this.outLN, $root.hd(), {_alpha:0});
this.allEmsQty = (this.currEmsQty = (this.serie = 0));
this.allOut = false;
this.throwOutSerie();
this.toutID = setInterval(this, "throwOutSerie", this.stagesConf[this.stage].ivl);
if ((this.fakeStage != 0) && ((this.fakeStage % 4) == 0)) {
$root.Bonus.addToBG(2);
}
if ((this.fakeStage != 0) && ((this.fakeStage % 6) == 0)) {
$root.Bonus.addToBG(1);
}
if ((this.fakeStage != 0) && ((this.fakeStage % 3) == 0)) {
$root.Bonus.addToBG(3);
}
};
dr.throwOutSerie = function () {
var serie = this.stagesConf[this.stage].series[this.serie];
var sl = serie.length;
var t = 100;
var f2c = [];
var i = -1;
while ((i++) < sl) {
var qty = serie[i];
while (qty--) {
f2c.push({t:this, f:"gEnemy", a:i});
}
}
this.serie++;
if (this.stagesConf[this.stage].series[this.serie] == undefined) {
$root.callDelayed(this.enemiesCon, f2c, 250, {t:this, f:"finishThem"});
clearInterval(this.toutID);
} else {
$root.callDelayed(this.enemiesCon, f2c, 250);
}
};
dr.finishThem = function () {
var flyers = this.gStrike();
this.attackIvl = setInterval(this, "Strike", 2000);
this.allOut = true;
return(undefined);
};
dr.Strike = function () {
this.attackers = 0;
this.strikeIvl = setInterval(this, "gEmy2Strike", 300);
};
dr.gEmy2Strike = function () {
var atonce = (3 + this.floor(this.fakeStage * 0.25));
var ec = this.enemiesCon;
for (var e in ec) {
if ((e.substr(0, 6) != "enemy_") || (ec[e].onAir == true)) {
// unexpected jump
}
ec[e].setCourse();
ec[e].attack();
break;
}
this.attackers++;
if (this.attackers >= atonce) {
clearInterval(this.strikeIvl);
}
};
dr.gEnemy = function (t) {
this.allEmsQty++;
this.currEmsQty++;
var hd = this.enemiesCon.hd();
var e = this.enemies[t];
var er = this.enemiesCon.attachMovie(e.ln, "enemy_" + this.allEmsQty, hd, {_xscale:5, _yscale:5, spd:e.spd + (this.fakeStage * 0.01), energy:e.energy, score:e.score, power:e.power, out:this.outArea, t:e.t});
er._gx = $middle.x;
er._gy = $middle.y;
};
dr.destroyEnemy = function (r) {
this.currEmsQty--;
var hd = $root.hD();
var exr = $root.attachMovie("enemy_explosion", "enemy_explosion" + hd, hd, {_xscale:r._xscale, _yscale:r._yscale});
exr._gx = r._gx;
exr._gy = r._gy;
r.removeMovieClip();
if ((this.currEmsQty == 0) && (this.allOut === true)) {
this.endIvl = setInterval(this, "stageCompleted", 1000);
}
};
dr.hitEnemy = function (r, p) {
r.energy = r.energy - p;
if (r.energy <= 0) {
this.updScore(r.score);
this.destroyEnemy(r);
}
};
dr.updScore = function (s) {
$root.score = $root.score + s;
if (Number($root.score) > this.scoreBonus) {
$root.Bonus.addToBG(random(5));
this.scoreBonus = this.scoreBonus + 5000;
}
};
dr.stageCompleted = function () {
clearInterval(this.endIvl);
clearInterval(this.attackIvl);
var l = this.stagesConf.length;
this.stage = (++this.stage) % l;
this.fakeStage++;
this.board((("Stage " + Number(this.fakeStage + 1)) + newline) + this.stagesConf[this.stage].name);
};
function Enemy() {
this.init();
}
delete er;
var er = ((Enemy.prototype = new MovieClip()));
er.init = function () {
this.pow = Math.pow;
this.sqrt = Math.sqrt;
this.sin = Math.sin;
this.asin = Math.asin;
this.cos = Math.cos;
this.abs = Math.abs;
this.pi = Math.PI;
if (this.dest == undefined) {
this.setCourse();
}
this.attack();
};
er.setCourse = function () {
var rot = ((this._rot = random(360)));
var rad = ((this.pi / 180) * rot);
var xram = ((330 * this.cos(rad)) + $middle.x);
var yram = ((330 * this.sin(rad)) + $middle.y);
this.dest = {x:xram, y:yram};
};
er.attack = function () {
if (this.t != 2) {
this._rotation = this._rot + 90;
} else {
this._rotation = 180;
}
this.onEnterFrame = this.fly;
this.onAir = true;
};
er.fly = function () {
var x = (((this._gx - this.dest.x) - 15) * this.spd);
var y = (((this._gy - this.dest.y) - 15) * this.spd);
with (this) {
_x = _x - x;
_y = _y - y;
_yscale = (_xscale = _xscale - ((_xscale - 100) * this.spd));
if (out.hitTest(_x, _y, 1) == true) {
wait();
return(undefined);
}
}
};
er.wait = function () {
this.onAir = false;
delete this.onEnterFrame;
var rx = (random(30) - 15);
var ry = (random(30) - 15);
var x = ($middle.x + rx);
var y = ($middle.y + ry);
with (this) {
_x = x;
_y = y;
_xscale = (_yscale = 20);
}
this.sx = this._x;
this.sy = this._y;
this.bStep = 0;
return(undefined);
};
er.kill = function () {
this.removeMovieClip();
};
er.bounce = function () {
this.bStep = this.bStep + 2;
var rad = ((this.pi / 180) * this.bStep);
this._x = this.sx + (this.sin(rad) * 10);
this._y = this.sy + (this.cos(rad) * 10);
};
Object.registerClass("Enemy_t1", this.Enemy);
Object.registerClass("Enemy_t2", this.Enemy);
Object.registerClass("Enemy_t3", this.Enemy);
function PlayerClass() {
this.init();
}
delete pr;
var pr = PlayerClass.prototype;
pr.init = function () {
this.min = Math.min;
this.linkage = "PlayerBox";
this.mc = "player_mc";
this.bulletLinkage = "Player_bullet";
this.shieldLN = "Player_shield";
this.wingmanLN = "Player_wingman";
this.conf = {bulletID:0, spd:0.06, eCurr:100, eMax:100};
$root.energy = this.conf.eCurr;
this.bullets = [];
this.bullets.push({ln:"Player_nBullet", spd:0.09, pwr:10});
this.bullets.push({ln:"Player_dblBullet", spd:0.07, pwr:15});
this.bullets[900] = {ln:"Player_wmbullet", spd:0.08, pwr:2};
this.abs = Math.abs;
this.pow = Math.pow;
this.sqrt = Math.sqrt;
this.sin = Math.sin;
this.asin = Math.asin;
this.cos = Math.cos;
this.pi = Math.PI;
this.temp = 0;
};
pr.place = function () {
this.tgt = $root.attachMovie(this.linkage, this.mc, $root.hd(), {_x:$middle.x, _y:$middle.y});
this.tgt.path = this;
var o = ((this.keyObj = {path:this}));
o.fire = true;
o.onKeyDown = function () {
if ($root.Director.currEmsQty < 1) {
return(undefined);
}
if (Key.isDown(32) && (this.fire === true)) {
this.path.shoot();
this.fire = false;
}
};
o.onKeyUp = function () {
if (Key.getCode() == 32) {
this.fire = true;
}
};
Key.addListener(o);
this.tgt.onEnterFrame = function () {
this.path.updPosition();
};
};
pr.remove = function () {
this.tgt.removeMovieClip();
};
pr.updPosition = function () {
var ecr = $root.Director.enemiesCon;
if (((((this.tgt.h1.hitTest(ecr) == true) || (this.tgt.h2.hitTest(ecr) == true)) || (this.tgt.h3.hitTest(ecr) == true)) || (this.tgt.h4.hitTest(ecr) == true)) || (this.tgt.h5.hitTest(ecr) == true)) {
for (var e in ecr) {
if (this.tgt.obj.hitTest(ecr[e]) == true) {
this.hitMe(ecr[e].power);
$root.Director.destroyEnemy(ecr[e]);
ecr[e].removeMovieClip();
}
}
}
if (Key.isDown(37)) {
this.plrAngle = this.plrAngle + 6;
}
if (Key.isDown(39)) {
this.plrAngle = this.plrAngle - 6;
}
this.plrAngle2 = this.plrAngle2 - ((this.plrAngle2 - this.plrAngle) * 0.1);
this.tgt._rotation = this.plrAngle2 % 360;
};
pr.shoot = function (coor) {
var hd = $root.hd();
var o = this.bullets[this.conf.bulletID];
var ln = o.ln;
o._x = this.tgt.obj._gx + coor.x;
o._y = this.tgt.obj._gy + coor.y;
o._rotation = this.tgt._rotation;
var br = $root.attachMovie(ln, hd + "bullet", hd, o);
br.onEnterFrame = this.shootOEF;
};
pr.shootOEF = function () {
var ecr = $root.Director.enemiesCon;
if (this.hitTest(ecr) == true) {
for (var e in ecr) {
if (this.hitTest(ecr[e]) == true) {
if (ecr[e]._xscale > 25) {
$root.Director.hitEnemy(ecr[e], this.pwr);
this.removeMovieClip();
}
}
}
}
var xDis = (this._gx - $middle.x);
var yDis = (this._gy - $middle.y);
if ((Math.abs(xDis) < 1) && (Math.abs(yDis) < 1)) {
this.removeMovieClip();
}
this._x = this._x - (xDis * this.spd);
this._y = this._y - (yDis * this.spd);
this._xscale = this._xscale - (20 * this.spd);
this._yscale = this._yscale - (20 * this.spd);
this._alpha = this._alpha - (20 * this.spd);
updateAfterEvent();
};
pr.hitMe = function (p) {
this.conf.eCurr = this.conf.eCurr - p;
this.conf.eCurr = this.min(this.conf.eCurr, this.conf.eMax);
if (this.conf.eCurr <= 0) {
this.killMe();
$root.energy = 0;
return(undefined);
}
if (this.conf.eCurr < 65) {
$root.Bonus.addToBG(0);
}
if ((p > 0) && (this.bonusWingman != undefined)) {
this.kill_wingman();
}
if ((p > 0) && (this.conf.bulletID > 0)) {
this.conf.bulletID--;
}
$root.energy = this.conf.eCurr;
};
pr.killMe = function () {
if (this.bonusWingman != undefined) {
this.kill_wingman();
}
var hd = $root.hD();
var exr = $root.attachMovie("plr_explosion", "plr_explosion" + hd, hd, {_xscale:70, _yscale:70});
exr._gx = this.tgt.obj._gx;
exr._gy = this.tgt.obj._gy;
Key.removeListener(this.keyObj);
delete this.keyObj;
_root.scr = $root.score;
$root.Director.enemiesCon.removeMovieClip();
$root.Director.bonusesCon.removeMovieClip();
this.tgt.removeMovieClip();
gotoAndStop (95);
};
pr.extendEnergy = function (v) {
this.conf.eMax = this.conf.eMax + v;
};
pr.switchAmmo = function (t) {
var cb = this.conf.bulletID;
if (this.bullets[++cb] == undefined) {
return(undefined);
}
this.conf.bulletID++;
};
pr.generateShield = function () {
this.tgt.obj[this.shieldLN].removeMovieClip();
this.bonusShield = this.tgt.obj.attachMovie(this.shieldLN, this.shieldLN, this.tgt.obj.hD(), {init:getTimer(), dur:20000, hits:3, path:this});
this.bonusShield.onEnterFrame = this.shieldOEF;
};
pr.destroyShield = function () {
this.bonusShield.removeMovieClip();
};
pr.shieldOEF = function () {
var ecr = $root.Director.enemiesCon;
if (this.hitTest(ecr) == true) {
for (var e in ecr) {
if (this.hitTest(ecr[e]) == true) {
$root.Director.destroyEnemy(ecr[e]);
this.hits--;
}
}
}
if (this.hits <= 0) {
this.path.destroyShield();
}
if ((getTimer() - this.init) > this.dur) {
this.path.destroyShield();
}
};
pr.generateWingmans = function () {
this.extendEnergy(20);
this.hitMe(-20);
this.bonusWingman = this.tgt.attachMovie(this.wingmanLN, this.wingmanLN, this.tgt.hd(), {_y:230, path:this, hits:3});
this.conf.bulletID = 900;
};
pr.kill_wingman = function () {
this.conf.bulletID = 0;
this.bonusWingman.removeMovieClip();
};
function BonusClass() {
this.init();
}
delete br;
var br = BonusClass.prototype;
br.init = function () {
this.pow = Math.pow;
this.sqrt = Math.sqrt;
this.bonuses = [];
this.bonuses.push({ln:"Bonus_t1", t:$root.Player, f:"hitMe", a:-20, spd:0.02});
this.bonuses.push({ln:"Bonus_t2", t:$root.Player, f:"extendEnergy", a:20, spd:0.03});
this.bonuses.push({ln:"Bonus_t3", t:$root.Player, f:"switchAmmo", a:1, spd:0.03});
this.bonuses.push({ln:"Bonus_t4", t:$root.Player, f:"generateShield", spd:0.03});
this.bonuses.push({ln:"Bonus_t5", t:$root.Player, f:"generateWingmans", spd:0.03});
this.gContainer = [{qty:0, t:getTimer()}, {qty:0, t:getTimer()}, {qty:0, t:getTimer()}, {qty:0, t:getTimer()}, {qty:0, t:getTimer()}];
};
br.setCourse = function () {
var xram = random(($ray + 50) * 2);
var yram = (this.sqrt(this.pow($ray + 50, 2) - this.pow(xram - $middle.x, 2)) + $middle.y);
if (random(2) == 0) {
yram = yram - (2 * (yram - $middle.y));
}
return({x:xram, y:yram});
};
br.initialize = function (t) {
var bonus = this.bonuses[t];
var dest = this.setCourse();
var hd = $root.hd();
var br = $root.Director.bonusesCon.attachMovie(bonus.ln, bonus.ln + hd, hd, bonus);
br._gx = $middle.x;
br._gy = $middle.y;
br.path = this;
br.dest = this.setCourse();
br.onEnterFrame = function () {
this.path.go(this);
};
};
br.go = function (t) {
var is = this.detectHT(t);
if (!is) {
return(undefined);
}
var x = t.dest.x;
var y = t.dest.y;
with (t) {
var xDis = (_x - x);
var yDis = (_y - y);
_x = _x - ((xDis - 15) * spd);
_y = _y - ((yDis - 15) * spd);
_xscale = _xscale - ((_xscale - 100) * spd);
_yscale = _yscale - ((_yscale - 100) * spd);
}
};
br.detectHT = function (t) {
if (t.hitTest($root.Player.tgt.obj) === true) {
t.t[t.f](t.a);
t.removeMovieClip();
return(false);
}
if ($root.Director.outArea.hitTest(t._x, t._y, 1) === true) {
t.removeMovieClip();
return(false);
}
return(true);
};
br.addToBG = function (t) {
if (this.gContainer[t] == undefined) {
return(undefined);
}
var bc = $root.Director.bonusesCon;
if (bc.onEnterFrame == undefined) {
bc.path = this;
bc.onEnterFrame = function () {
this.path.bonusGenerator();
};
}
this.gContainer[t].qty++;
};
br.bonusGenerator = function () {
var gc = this.gContainer;
var l = gc.length;
while ((--l) >= 0) {
if ((gc[l].qty < 1) || ((getTimer() - gc[l].t) < 15000)) {
continue;
}
this.initialize(l);
gc[l].t = getTimer();
gc[l].qty--;
}
};
_global.$root = this;
_global.$middle = {x:250, y:250};
_global.$ray = 230;
score = 0;
delete $root.Player;
delete $root.Director;
delete $root.Bonus;
$root.Player = new PlayerClass();
$root.Bonus = new BonusClass();
$root.Director = new DirectorClass();
stop();
Frame 95
_root.hoff._visible = false;
_root.r = 0;
_root.onData = function () {
if (s == 1) {
_root.hoff._visible = true;
}
};
_root.loadVariables("hof.php?s=" + _root.scr);
stop();
ng.onRelease = function () {
gotoAndStop (94);
};
Instance of Symbol 136 MovieClip "ng" in Frame 95
//component parameters
onClipEvent (initialize) {
label = "Play Game";
wide = 99;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = false;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.game();
}
Instance of Symbol 136 MovieClip in Frame 95
//component parameters
onClipEvent (initialize) {
label = "GO";
wide = 75;
c1 = 0;
c2 = 153;
c3 = 0;
hc1 = 0;
hc2 = 200;
hc3 = 0;
baseMode = true;
widthMode = true;
rgb = 39168;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 51200;
}
on (press) {
getURL ("http://www.FlashGames247.com", "_blank");
}
Frame 96
if (_root.r == 1) {
if (_root.s == 1) {
_root.hof(2);
} else {
_root.hof(3);
}
} else {
_root.onData = function () {
if (_root.s == 1) {
_root.hof(2);
} else {
_root.hof(3);
}
};
}
stop();
Instance of Symbol 136 MovieClip in Frame 96
//component parameters
onClipEvent (initialize) {
label = "Cancel";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.starting();
}
Instance of Symbol 136 MovieClip in Frame 97
//component parameters
onClipEvent (initialize) {
label = "Yes";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.hof(5);
}
Instance of Symbol 136 MovieClip in Frame 97
//component parameters
onClipEvent (initialize) {
label = "No";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.hof(4);
}
Instance of Symbol 136 MovieClip in Frame 98
//component parameters
onClipEvent (initialize) {
label = "Play Again";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.starting();
}
Instance of Symbol 136 MovieClip in Frame 99
//component parameters
onClipEvent (initialize) {
label = "Sign In";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.hof(5);
}
Instance of Symbol 136 MovieClip in Frame 100
//component parameters
onClipEvent (initialize) {
label = "Send";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.r = 0;
_root.loadVariables((("addme.php?s=" + _root.scr) + "&n=") + escape(_root.nam));
_root.hof(1);
}
Instance of Symbol 136 MovieClip in Frame 100
//component parameters
onClipEvent (initialize) {
label = "Cancel";
wide = 112;
c1 = 160;
c2 = 0;
c3 = 0;
hc1 = 180;
hc2 = 0;
hc3 = 0;
baseMode = false;
widthMode = true;
rgb = 10485760 /* 0xA00000 */;
rb = 255;
gb = 255;
bb = 255;
hilitergb = 11796480 /* 0xB40000 */;
}
on (press) {
_root.hof(4);
}
Symbol 12 MovieClip [Enemy_t3] Frame 1
stop();
Symbol 13 MovieClip [Enemy_t2] Frame 1
stop();
Symbol 37 MovieClip [plr_explosion] Frame 19
stop();
Symbol 45 MovieClip [enemy_explosion] Frame 8
stop();
this.removeMovieClip();
Symbol 83 MovieClip Frame 1
_root.stop();
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Stage.showMenu = false;
this.sg = [];
for (var i in this) {
if (this[i]._totalframes == 1) {
this.sg.push(this[i]);
this[i]._alpha = 20;
}
}
this._tm = getTimer();
this.onEnterFrame = function () {
var ld = _root.getBytesLoaded();
var tt = _root.getBytesTotal();
this.bytes = ld;
this.procent = ((tt > 0) ? ((100 * ld) / tt) : 0);
this.time = (getTimer() - this._tm) / 1000;
this.transfer = this.bytes / this.time;
var pr = Math.floor(this.procent);
var i = 100;
while (i > (100 - pr)) {
this.sg[i]._alpha = 40;
i--;
}
if (pr >= 100) {
this.onEnterFrame = null;
_root.play();
}
};
Symbol 110 MovieClip Frame 1
function sss(a) {
var v = a.ss.getVolume();
if (v >= 100) {
clearInterval(a.it);
} else {
a.ss.setVolume(v + 3);
}
}
this.ss = new Sound(this);
this.ss.attachSound("muza");
this.ss.setVolume(0);
this.ss.start(0, 100000);
this.it = setInterval(sss, 33, this);
Symbol 110 MovieClip Frame 56
stop();
Symbol 136 MovieClip Frame 1
this.onPress = function () {
pressing = true;
i = 1;
while (i <= 3) {
buttonColor = new Color(eval ("piece" + i).colorchip);
buttonColor.setRGB(3355443);
lowColor = new Color(eval ("piece" + i).bottomhilite);
lowColorTransform = new Object();
lowColorTransform = {ra:"0", rb:"200", ga:"0", gb:"200", ba:"0", bb:"200", aa:"100", ab:"0"};
lowColor.setTransform(lowColorTransform);
i++;
}
};
this.onRelease = function () {
pressing = false;
};
this.onReleaseOutside = function () {
pressing = false;
};
this.onEnterFrame = function () {
if (pressing != true) {
i = 1;
while (i <= 3) {
buttonColor = new Color(eval ("piece" + i).colorchip);
buttonColor.setRGB(rgb);
lowColor = new Color(eval ("piece" + i).bottomhilite);
lowColorTransform = new Object();
lowColorTransform = {ra:"0", rb:hc1, ga:"0", gb:hc2, ba:"0", bb:hc3, aa:"100", ab:"0"};
lowColor.setTransform(lowColorTransform);
i++;
}
}
};
with (piece2) {
_width = _parent.wide;
piece1._x = _x - (_width / 2);
piece3._x = _x + (_width / 2);
_parent.midshadow._width = _width;
_parent.leftshadow._x = _x - (_width / 2);
_parent.rightshadow._x = _x + (_width / 2);
}
label1.autoSize = "center";
label2.autoSize = "center";
Symbol 148 Button
on (press) {
getURL ("http://www.FlashGames247.com", "_blank");
}
Symbol 149 Button
on (press) {
getURL ("http://www.FlashGames247.com/gamesbyemail", "_blank");
}
Symbol 150 Button
on (press) {
getURL ("http://www.FlashGames247.com/addflashgames", "_blank");
}
Symbol 151 Button
on (press) {
getURL ("http://www.FlashGames247.com/download/gyrex_final.exe", "_blank");
}
Instance of Symbol 156 MovieClip in Symbol 157 MovieClip Frame 1
on (press) {
getURL ("http://www.FlashGames247.com", "_blank");
}