Frame 90
gotoAndStop (91);
Frame 91
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
Stage.showMenu = false;
this.onEnterFrame = function () {
var ld = this.getBytesLoaded();
var tt = this.getBytesTotal();
var pr = Math.floor((7 * ld) / tt);
gotoAndStop(pr +90);
};
stop();
Frame 97
this.die = new Sound(this);
this.die.attachSound("die");
if (_root.ks == undefined) {
_root.ks = [];
var i = 0;
while (i < 6) {
_root.ks[i] = new Sound(this);
_root.ks[i].attachSound("k" + (i + 1));
i++;
}
}
if (_root.ps == undefined) {
_root.ps = [];
var i = 0;
while (i < 4) {
_root.ps[i] = new Sound(this);
_root.ps[i].attachSound("p" + (i + 1));
i++;
}
}
_root.karma = [];
_root.sz = 0;
_root.ii = 100;
this.onEnterFrame = null;
while (_root.karma.length > 0) {
var v = _root.karma.pop();
v.removeMovieClip();
}
_root.fr = 1;
stop();
Frame 98
_root.boc.swapDepths(10000);
_root.pause = false;
_root.bt2._visible = false;
_root.kot._visible = true;
_root.samo._visible = true;
switch (_root.fr) {
case 1 :
_root.x = boc._x;
_root.y = boc._y;
_root.boc._x = _root.x;
_root.boc._y = _root.y;
_root.boc._xs = (_root.boc._ys = 0);
_root.boc.gotoAndStop(2);
_root.en = 90;
_root.lv = 3;
_root.lev = 1;
_root.boc.et = 0;
_root.leve = 20;
_root.ptas = 1;
_root.sc = 0;
break;
case 3 :
_root.en = 90;
_root.boc._x = _root.x;
_root.boc._y = _root.y;
_root.boc._xs = (_root.boc._ys = 0);
_root.boc.gotoAndStop(2);
_root.lv = int(_root.lv) - 1;
}
_root.ii = 100;
i = 0;
while (i < 7) {
_root.attachMovie("karma", "k" + _root.ii, _root.ii);
_root.karma.push(_root["k" + _root.ii]);
_root["k" + _root.ii]._x = ((random(2) < 1) ? -50 : 600);
_root["k" + _root.ii]._y = random(300) + 50;
_root.ii++;
i++;
}
stop();
Frame 99
clearInterval(_root.kot.it);
_root.kot.it = undefined;
_root.kot._visible = false;
_root.samo._visible = false;
while (_root.karma.length > 0) {
var v = _root.karma.pop();
v.removeMovieClip();
}
_root.fr = 3;
stop();
Instance of Symbol 215 MovieClip in Frame 99
//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");
}
Instance of Symbol 215 MovieClip in Frame 99
//component parameters
onClipEvent (initialize) {
label = "Continue";
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) {
_root.gotoAndStop("game");
}
Frame 100
clearInterval(_root.kot.it);
_root.kot.it = undefined;
_root.kot._visible = false;
_root.samo._visible = false;
while (_root.karma.length > 0) {
var v = _root.karma.pop();
v.removeMovieClip();
}
_root.fr = 1;
stop();
Instance of Symbol 215 MovieClip in Frame 100
//component parameters
onClipEvent (initialize) {
label = "Play Again";
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) {
_root.gotoAndStop("game");
}
Frame 101
clearInterval(_root.kot.it);
_root.kot.it = undefined;
_root.kot._visible = false;
_root.samo._visible = false;
while (_root.karma.length > 0) {
var v = _root.karma.pop();
v.removeMovieClip();
}
_root.fr = 1;
this.onMouseDown = function () {
this.onMouseDown = null;
this.gotoAndStop("game");
};
stop();
Frame 102
clearInterval(_root.kot.it);
_root.kot.it = undefined;
_root.kot._visible = false;
_root.samo._visible = false;
while (_root.karma.length > 0) {
var v = _root.karma.pop();
v.removeMovieClip();
}
_root.fr = 1;
stop();
Instance of Symbol 215 MovieClip in Frame 102
//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");
}
Instance of Symbol 215 MovieClip in Frame 102
//component parameters
onClipEvent (initialize) {
label = "Play Again";
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) {
_root.gotoAndStop("game");
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 13
_root.ms.gotoAndStop("victory");
Symbol 60 MovieClip [karma] Frame 1
var r = (random(2) + 2);
this.gotoAndStop(r);
stop();
Symbol 60 MovieClip [karma] Frame 2
this._xscale = (this._yscale = _root.leve);
if ((this._currentframe != 2) && (random(10) < 7)) {
this.gotoAndStop(this._currentframe - 1);
stop();
} else {
this.ppkt = _root.ptas;
this.i = random(100);
this._xs = ((random(2) < 1) ? 3 : -3);
this.k = random(50);
this._ys = ((random(2) < 1) ? 3 : -3);
this.j = 100;
this.pt.gotoAndStop(_root.ptas);
this.onEnterFrame = function () {
if (_root.pause) {
return(undefined);
}
if (((this.j--) < 0) && ((this._x < -50) || (this._x > 690))) {
this.onEnterFrame = null;
this.gotoAndStop(1);
}
if ((this.i++) > 70) {
this.i = 0;
this._xs = ((random(2) < 1) ? 3 : -3);
}
if ((this.k++) > 20) {
this.k = 0;
this._ys = ((random(2) < 1) ? 3 : -3);
}
this._ys = ((random(2) < 1) ? 2 : -2);
this._x = this._x + (this._xs * int(_root.lev));
this._y = this._y + (this._ys * int(_root.lev));
if (this._x < -100) {
this._x = this._x + 840;
}
if (this._x > 740) {
this._x = this._x - 840;
}
if (this._y < (this._height / 2)) {
this._ys = -this._ys;
this._y = this._y + Math.abs(2 * this._ys);
}
if (this._y > 350) {
this._ys = -this._ys;
this._y = this._y - Math.abs(2 * this._ys);
}
this._xscale = ((this._xs < 0) ? (Math.abs(this._xscale)) : (-Math.abs(this._xscale)));
};
stop();
}
Symbol 60 MovieClip [karma] Frame 3
this._xscale = (this._yscale = _root.leve);
if ((this._currentframe != 2) && (random(10) < 3)) {
this.gotoAndStop(this._currentframe - 1);
stop();
} else {
this.ppkt = _root.ptas + 1;
this.i = random(100);
this._xs = ((random(2) < 1) ? 3 : -3);
this.k = random(50);
this._ys = ((random(2) < 1) ? 3 : -3);
this.j = 100;
this.pt.gotoAndStop(_root.ptas);
this.onEnterFrame = function () {
if (_root.pause) {
return(undefined);
}
if (((this.j--) < 0) && ((this._x < -50) || (this._x > 690))) {
this.onEnterFrame = null;
this.gotoAndStop(1);
}
if ((this.i++) > 80) {
this.i = 0;
this._xs = ((random(2) < 1) ? 3 : -3);
}
if ((this.k++) > 20) {
this.k = 0;
this._ys = ((random(2) < 1) ? 3 : -3);
}
this._x = this._x + (this._xs * int(_root.lev));
this._y = this._y + (this._ys * int(_root.lev));
if (this._x < -100) {
this._x = this._x + 840;
}
if (this._x > 740) {
this._x = this._x - 840;
}
if (this._y < (this._height / 2)) {
this._ys = -this._ys;
this._y = this._y + Math.abs(2 * this._ys);
}
if (this._y > 350) {
this._ys = -this._ys;
this._y = this._y - Math.abs(2 * this._ys);
}
this._xscale = ((this._xs < 0) ? (Math.abs(this._xscale)) : (-Math.abs(this._xscale)));
};
stop();
}
Symbol 87 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 87 MovieClip Frame 56
stop();
Symbol 91 MovieClip Frame 19
stop();
Symbol 101 Button
on (rollOver, dragOver) {
_root.start.gotoAndstop(2);
}
on (rollOut, dragOut) {
_root.start.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("game");
}
Symbol 102 Button
on (rollOver, dragOver) {
_root.ins.gotoAndstop(2);
}
on (rollOut, dragOut) {
_root.ins.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("instructions");
}
Symbol 113 Button
on (press) {
getURL ("http://www.FlashGames247.com", "_blank");
}
Symbol 114 Button
on (press) {
getURL ("http://www.FlashGames247.com/gamesbyemail", "_blank");
}
Symbol 115 Button
on (press) {
getURL ("http://www.FlashGames247.com/addflashgames", "_blank");
}
Symbol 116 Button
on (press) {
getURL ("http://www.FlashGames247.com/download/birdy.exe", "_blank");
}
Instance of Symbol 121 MovieClip in Symbol 122 MovieClip Frame 1
on (press) {
getURL ("http://www.FlashGames247.com", "_blank");
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
if (_root.kot._currentframe == 1) {
_root.kot.gotoAndPlay(1 + (75 * random(2)));
}
Symbol 157 MovieClip Frame 1
this._xscale = _root.leve;
this._yscale = _root.leve;
this.swapDepths(-10000);
stop();
Symbol 157 MovieClip Frame 2
function clamp(v, d, u) {
return(((v >= d) ? (((v <= u) ? (v) : (u))) : (d)));
}
this.swapDepths(1);
this.grav = 0.1;
this._xs = (this._ys = 0);
this.sig = 1;
this.onEnterFrame = function () {
if (random(100) < 5) {
_root.ps[random(7)].start(0, 1);
}
if (this.hitTest(_root.kot) || (_root.samo.hitTest(this._x, this._y, true))) {
_root.enabled = 0;
_root.die.start(0, 1);
this.onEnterFrame = function () {
this._alpha = this._alpha - 2;
this._rotation = this._rotation + 20;
this._y = this._y + 5;
};
if (this.hitTest(_root.kot)) {
this._visible = false;
}
_root.die.onSoundComplete = function () {
if (int(_root.lv) == 1) {
_root.gotoAndStop("gameover");
_root.boc.gotoAndStop(1);
return(undefined);
}
_root.gotoAndStop("badluck");
_root.boc.gotoAndStop(1);
return(undefined);
};
return(undefined);
}
if (_root.pause) {
return(undefined);
}
if ((_root.samo._currentframe == 1) && (random(500) < 2)) {
_root.samo.gotoAndPlay(1 + (200 * random(2)));
_root.samo._y = 50 + random(350);
}
this._xscale = this.sig * _root.leve;
this._yscale = _root.leve;
_root.engr._xscale = 100 - int(_root.en);
_root.liv.gotoAndStop(int(_root.lv));
if (Key.isDown(37)) {
this._xs = this._xs - 0.5;
this.sig = ((this.sig < 0) ? (this.sig) : (-this.sig));
}
if (Key.isDown(39)) {
this._xs = this._xs + 0.5;
this.sig = ((this.sig > 0) ? (this.sig) : (-this.sig));
}
if (Key.isDown(38)) {
this._ys = this._ys - 1;
}
if (Key.isDown(40)) {
this._ys = this._ys + 1;
}
this._ys = this._ys + this.grav;
this._xs = clamp(this._xs, -7, 7);
this._ys = clamp(this._ys, -7, 7);
if ((this._y + this._ys) >= (447 - (this._height / 2))) {
this._ys = 0;
this._y = 447 - (this._height / 2);
this._xs = this._xs / 1.03;
this.pt.gotoAndStop(2);
}
if ((this._y + this._ys) <= (this._height / 2)) {
this._ys = 0;
this._y = this._height / 2;
if (_root.sam._currentframe == 1) {
_root.sam.gotoAndPlay(1 + (100 * random(2)));
}
}
if ((this._x + this._xs) >= 640) {
this._x = 640 - this._x;
}
if ((this._x + this._xs) <= 0) {
this._x = 640 - this._x;
}
this._x = this._x + this._xs;
this._y = this._y + this._ys;
if (this.pt._currentframe < 2) {
}
if (this._ys != 0) {
this.pt.gotoAndStop(1);
}
i = 0;
while (i < _root.karma.length) {
if (this.hitTest(_root.karma[i])) {
if (this._width > _root.karma[i]._width) {
if (this.pt.dz1.hitTest(_root.karma[i])) {
_root.sc = int(_root.sc) + _root.karma[i].ppkt;
_root.en = int(_root.en) + 1;
_root.karma[i].removeMovieClip();
_root.attachMovie("karma", "k" + _root.ii, _root.ii);
_root.karma[i] = _root["k" + _root.ii];
_root["k" + _root.ii]._x = ((random(2) < 1) ? -150 : 790);
_root["k" + _root.ii]._y = random(400) + 50;
_root.ii++;
if (int(_root.en) >= 100) {
_root.ptas = _root.ptas + 1;
_root.leve = _root.leve + 5;
_root.en = 90;
var h = this._height;
this._height = this._height + 12;
this._width = this._width * (this._height / h);
}
if ((_root.boc.et++) > (30 * int(_root.lev))) {
if (int(_root.lev > 2)) {
this.gotoAndStop(1);
_root.gotoAndStop(7);
return(undefined);
}
}
this.pt.dz.gotoAndPlay(2);
}
} else if (_root.karma[i].dz.hitTest(this)) {
if ((_root.karma[i]._x < this._x) && (_root.karma[i]._xs < 0)) {
_root.karma[i]._xs = -_root.karma[i]._xs;
}
if ((_root.karma[i]._x > this._x) && (_root.karma[i]._xs > 0)) {
_root.karma[i]._xs = -_root.karma[i]._xs;
}
_root.karma[i].dz.gotoAndPlay(2);
if (_root.karma[i].fl != true) {
_root.en = int(_root.en) - 135;
}
_root.die.start(0, 1);
this.onEnterFrame = function () {
this._alpha = this._alpha - 2;
this._rotation = this._rotation + 20;
this._y = this._y + 5;
};
_root.die.onSoundComplete = function () {
if (int(_root.en) < 0) {
if (int(_root.lv) == 1) {
_root.gotoAndStop("gameover");
_root.boc.gotoAndStop(1);
return(undefined);
}
_root.gotoAndStop("badluck");
_root.boc.gotoAndStop(1);
return(undefined);
}
};
}
_root.karma[i].fl = this.hitTest(_root.karma[i].dz);
}
i++;
}
};
Symbol 164 MovieClip Frame 1
if ((this.it == undefined) && (root.pause == false)) {
this.it = setInterval(function (a) {
clearInterval(a.it);
a.it = undefined;
a.gotoAndPlay(2);
}, 5000 + random(15000), this);
}
stop();
Symbol 164 MovieClip Frame 2
var v = random(4);
_root.ks[v].start(0, 1);
Symbol 164 MovieClip Frame 75
this.gotoAndStop(1);
Symbol 164 MovieClip Frame 76
var v = random(4);
_root.ks[v].start(0, 1);
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 200
this.gotoAndStop(1);
Symbol 184 Button
on (press) {
_root.pause = true;
_root.bt._visible = false;
_root.bt2._visible = true;
}
Symbol 188 Button
on (press) {
_root.pause = false;
_root.bt2._visible = false;
_root.bt._visible = true;
}
Symbol 215 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";