Frame 1
this.onEnterFrame = function () {
buttPlay._visible = false;
if (_framesloaded >= _totalframes) {
textLoad._visible = false;
buttPlay._visible = true;
}
counter++;
if (counter > 8) {
counter = 0;
}
};
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (!_root.blueRun.dragging) {
if (this.hitTest(_root.blueRun._x, _root.blueRun._y, true)) {
_root.blueRun.yVel = (Math.random() * -10) - 36;
if (Math.random() > 0.5) {
_root.blueRun.xDir = -((Math.random() * 4) + 12);
_root.blueRun._xscale = 100;
} else {
_root.blueRun.xDir = (Math.random() * 4) + 12;
_root.blueRun._xscale = -100;
}
i = 0;
while (i < 4) {
_root.blueRun.fireNum++;
_root.firePartWhite.duplicateMovieClip("firePart" + _root.blueRun.fireNum, _root.blueRun.fireNum + 100);
_root["firePart" + _root.blueRun.fireNum]._x = _root.blueRun._x;
_root["firePart" + _root.blueRun.fireNum]._y = _root.blueRun._y;
rand = (Math.random() * 16) + 16;
_root["firePart" + _root.blueRun.fireNum]._width = rand;
_root["firePart" + _root.blueRun.fireNum]._height = rand;
i++;
}
}
}
}
Instance of Symbol 22 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (!_root.blueRun.dragging) {
if (this.hitTest(_root.blueRun._x, _root.blueRun._y, true)) {
_root.blueRun.yVel = (Math.random() * -10) - 36;
if (Math.random() > 0.5) {
_root.blueRun.xDir = -((Math.random() * 4) + 12);
_root.blueRun._xscale = 100;
} else {
_root.blueRun.xDir = (Math.random() * 4) + 12;
_root.blueRun._xscale = -100;
}
i = 0;
while (i < 4) {
_root.blueRun.fireNum++;
_root.firePartWhite.duplicateMovieClip("firePart" + _root.blueRun.fireNum, _root.blueRun.fireNum + 100);
_root["firePart" + _root.blueRun.fireNum]._x = _root.blueRun._x;
_root["firePart" + _root.blueRun.fireNum]._y = _root.blueRun._y;
rand = (Math.random() * 16) + 16;
_root["firePart" + _root.blueRun.fireNum]._width = rand;
_root["firePart" + _root.blueRun.fireNum]._height = rand;
i++;
}
}
}
}
Instance of Symbol 23 MovieClip "bonusFlame" in Frame 1
onClipEvent (enterFrame) {
if ((!_root.blueRun.dragging) && (this._visible)) {
if (this.hitTest(_root.blueRun._x, _root.blueRun._y + 30, true)) {
_root.blueRun.yVel = (Math.random() * -10) - 36;
if (Math.random() > 0.5) {
_root.blueRun.xDir = -((Math.random() * 4) + 12);
_root.blueRun._xscale = 100;
} else {
_root.blueRun.xDir = (Math.random() * 4) + 12;
_root.blueRun._xscale = -100;
}
i = 0;
while (i < 4) {
_root.blueRun.fireNum++;
_root.firePartWhite.duplicateMovieClip("firePart" + _root.blueRun.fireNum, _root.blueRun.fireNum + 100);
_root["firePart" + _root.blueRun.fireNum]._x = _root.blueRun._x;
_root["firePart" + _root.blueRun.fireNum]._y = _root.blueRun._y;
rand = (Math.random() * 16) + 16;
_root["firePart" + _root.blueRun.fireNum]._width = rand;
_root["firePart" + _root.blueRun.fireNum]._height = rand;
i++;
}
}
}
}
Instance of Symbol 48 MovieClip "blueRun" in Frame 1
onClipEvent (load) {
_xscale = 100;
counter = 0;
fireNum = 0;
gravity = 3;
rand = 1;
xDir = -13;
dragging = false;
yVel = 0;
score = 0;
bonuses = 0;
_root.textScore.text = 0;
_root.textHiScore.text = _root.hiscore;
movedPlay = false;
keyBonus = 32;
bonusPressed = false;
anticlick = 0;
}
onClipEvent (enterFrame) {
if (!dragging) {
this._x = this._x + xDir;
if (this._x < 50) {
xDir = 13;
this._xscale = -100;
}
if (this._x > 650) {
xDir = -13;
this._xscale = 100;
}
if (xDir > 13) {
xDir = xDir + -0.2;
} else if (xDir < -13) {
xDir = xDir + 0.2;
}
this._y = this._y + this.yVel;
if (this._y < 300) {
yVel = yVel + gravity;
} else {
yVel = 0;
gravity = 3;
if (xDir > 0) {
xDir = 13;
} else {
xDir = -13;
}
if (_root.hiscore < score) {
_root.hiscore = score;
}
_root.textHiScore.text = _root.hiscore;
score = 0;
_root.textScore.text = 0;
bonuses = 0;
_root.textBonuses.text = 0;
_root.buttPlay._x = 350;
_root.buttPlayHit._x = 350;
}
if (_root.buttPlayHit.hitTest(_x, _y + 30, true)) {
while (_root.buttPlayHit.hitTest(_x, _y + 30, true)) {
_y = (_y + -5);
}
_y = (_y + 5);
yVel = yVel + -25;
}
}
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.6) {
_root.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else if (rand > 0.2) {
_root.firePartOrange.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else {
_root.firePartWhite.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
}
_root["firePart" + fireNum]._x = this._x;
if (Math.random() > 0.5) {
_root["firePart" + fireNum]._y = (this._y - (Math.random() * 8)) + 5;
} else {
_root["firePart" + fireNum]._y = (this._y + (Math.random() * 8)) + 5;
_root["firePart" + fireNum]._rotation = 180;
}
rand = Math.random();
_root["firePart" + fireNum]._width = (rand * 10) + 7;
_root["firePart" + fireNum]._height = (rand * 10) + 7;
}
if (fireNum > 200) {
fireNum = 1;
}
if (((score % 5) == 4) && (!movedPlay)) {
temp = (Math.random() * 450) + 100;
_root.buttPlay._x = temp;
_root.buttPlayHit._x = temp;
movedPlay = true;
bonuses++;
_root.textBonuses.text = bonuses;
}
if (((bonuses > 0) && (Key.isDown(keyBonus))) && (!bonusPressed)) {
bonusPressed = true;
bonuses--;
_root.textBonuses.text = bonuses;
_root.bonusFlame.gotoAndPlay("active");
} else {
bonusPressed = false;
}
if (anticlick > 0) {
anticlick--;
}
}
onClipEvent (mouseDown) {
if ((anticlick == 0) && (this.hitTest(_root._xmouse, _root._ymouse, false))) {
if (!dragging) {
startDrag (this, true);
dragging = true;
if (yVel != 0) {
score++;
_root.textScore.text = score;
movedPlay = false;
if (gravity < 6) {
gravity = gravity + 0.1;
}
}
yVel = 0;
} else {
stopDrag();
dragging = false;
}
}
}
onClipEvent (mouseUp) {
stopDrag();
dragging = false;
anticlick = 4;
}
Instance of Symbol 50 MovieClip "firePart" in Frame 1
onClipEvent (load) {
life = Math.ceil(Math.random() * 10) + 6;
this._alpha = 100;
if (_root.blueRun._xscale > 0) {
xDir = 2;
} else {
xDir = -2;
}
if (Math.random() > 0.5) {
yDir = Math.random() * 3;
} else {
yDir = Math.random() * -3;
}
}
onClipEvent (enterFrame) {
this._x = this._x + xDir;
this._y = this._y + yDir;
life--;
if (life == 0) {
this._alpha = 0;
} else if (life == 1) {
this._alpha = 33;
} else if (life == 2) {
this._alpha = 66;
}
}
Instance of Symbol 52 MovieClip "firePartOrange" in Frame 1
onClipEvent (load) {
life = Math.ceil(Math.random() * 10) + 6;
this._alpha = 100;
if (_root.blueRun._xscale > 0) {
xDir = 1;
} else {
xDir = -1;
}
if (Math.random() > 0.5) {
yDir = Math.random() * 3;
} else {
yDir = Math.random() * -3;
}
}
onClipEvent (enterFrame) {
this._x = this._x + xDir;
this._y = this._y + yDir;
life--;
if (life == 0) {
this._alpha = 0;
} else if (life == 1) {
this._alpha = 33;
} else if (life == 2) {
this._alpha = 66;
}
}
Instance of Symbol 52 MovieClip "firePartWhite" in Frame 1
onClipEvent (load) {
life = Math.ceil(Math.random() * 9) + 5;
this._alpha = 100;
if (_root.blueRun._xscale > 0) {
xDir = 0.5;
} else {
xDir = -0.5;
}
if (Math.random() > 0.5) {
yDir = Math.random() * 3;
} else {
yDir = Math.random() * -3;
}
}
onClipEvent (enterFrame) {
this._x = this._x + xDir;
this._y = this._y + yDir;
life--;
if (life == 0) {
this._alpha = 0;
} else if (life == 1) {
this._alpha = 22;
} else if (life == 2) {
this._alpha = 44;
}
}
Frame 2
gotoAndPlay (1);
Instance of Symbol 73 MovieClip in Frame 786
onClipEvent (load) {
gotoAndPlay (110);
}
Instance of Symbol 73 MovieClip in Frame 808
onClipEvent (load) {
gotoAndPlay (110);
}
Instance of Symbol 21 MovieClip in Frame 1377
onClipEvent (load) {
counter = 0;
fireNum = 0;
rand = 100;
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
if (Math.random() > 0.5) {
_root.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else {
_root.firePartOrange.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
}
_root["firePart" + fireNum]._x = this._x - 10;
if (Math.random() > 0.5) {
_root["firePart" + fireNum]._y = this._y - (Math.random() * 8);
} else {
_root["firePart" + fireNum]._y = this._y + (Math.random() * 8);
_root["firePart" + fireNum]._rotation = 180;
}
rand = Math.random();
_root["firePart" + fireNum]._width = (rand * 10) + 7;
_root["firePart" + fireNum]._height = (rand * 10) + 7;
}
}
Instance of Symbol 21 MovieClip in Frame 1378
onClipEvent (load) {
counter = 0;
fireNum = 0;
rand = 100;
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.6) {
_root.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else if (rand > 0.2) {
_root.firePartOrange.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else {
_root.firePartWhite.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
}
_root["firePart" + fireNum]._x = this._x - 10;
if (Math.random() > 0.5) {
_root["firePart" + fireNum]._y = this._y - (Math.random() * 8);
} else {
_root["firePart" + fireNum]._y = this._y + (Math.random() * 8);
_root["firePart" + fireNum]._rotation = 180;
}
rand = Math.random();
_root["firePart" + fireNum]._width = (rand * 10) + 7;
_root["firePart" + fireNum]._height = (rand * 10) + 7;
}
if (fireNum > 200) {
fireNum = 1;
}
}
Instance of Symbol 50 MovieClip "firePart" in Frame 1378
onClipEvent (load) {
life = Math.ceil(Math.random() * 10) + 6;
this._alpha = 100;
xDir = -9;
yDir = 1.4;
}
onClipEvent (enterFrame) {
this._x = this._x + xDir;
this._y = this._y + yDir;
life--;
if (_root.glass.hitTest(this._x, this._y, false)) {
temp = Math.random();
if (Math.random() > 0.5) {
yDir = (Math.random() * -5) - 2;
xDir = (Math.random() * 5) + 2;
} else {
yDir = (Math.random() * 5) + 2;
xDir = (Math.random() * 5) + 2;
}
}
if (life == 0) {
this._alpha = 0;
} else if (life == 1) {
this._alpha = 33;
} else if (life == 2) {
this._alpha = 66;
}
}
Instance of Symbol 52 MovieClip "firePartOrange" in Frame 1378
onClipEvent (load) {
life = Math.ceil(Math.random() * 10) + 6;
this._alpha = 100;
xDir = -10;
yDir = 1.5;
}
onClipEvent (enterFrame) {
this._x = this._x + xDir;
this._y = this._y + yDir;
life--;
if (_root.glass.hitTest(this._x, this._y, false)) {
temp = Math.random();
if (Math.random() > 0.5) {
yDir = (Math.random() * -5) - 2;
xDir = (Math.random() * 5) + 2;
} else {
yDir = (Math.random() * 5) + 2;
xDir = (Math.random() * 5) + 2;
}
}
if (life == 0) {
this._alpha = 0;
} else if (life == 1) {
this._alpha = 33;
} else if (life == 2) {
this._alpha = 66;
}
}
Instance of Symbol 52 MovieClip "firePartWhite" in Frame 1378
onClipEvent (load) {
life = Math.ceil(Math.random() * 8) + 4;
this._alpha = 70;
xDir = -10;
yDir = 1.5;
}
onClipEvent (enterFrame) {
this._x = this._x + xDir;
this._y = this._y + yDir;
life--;
if (_root.glass.hitTest(this._x, this._y, false)) {
temp = Math.random();
if (Math.random() > 0.5) {
yDir = (Math.random() * -5) - 2;
xDir = (Math.random() * 5) + 2;
} else {
yDir = (Math.random() * 5) + 2;
xDir = (Math.random() * 5) + 2;
}
}
if (life == 0) {
this._alpha = 0;
} else if (life == 1) {
this._alpha = 22;
} else if (life == 2) {
this._alpha = 44;
}
}
Instance of Symbol 21 MovieClip in Frame 1574
onClipEvent (load) {
counter = 0;
fireNum = 0;
rand = 100;
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
if (Math.random() > 0.5) {
_root.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else {
_root.firePartOrange.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
}
_root["firePart" + fireNum]._x = this._x - 10;
if (Math.random() > 0.5) {
_root["firePart" + fireNum]._y = this._y - (Math.random() * 8);
} else {
_root["firePart" + fireNum]._y = this._y + (Math.random() * 8);
_root["firePart" + fireNum]._rotation = 180;
}
rand = Math.random();
_root["firePart" + fireNum]._width = (rand * 10) + 7;
_root["firePart" + fireNum]._height = (rand * 10) + 7;
}
}
Instance of Symbol 21 MovieClip in Frame 1576
onClipEvent (load) {
counter = 0;
fireNum = 0;
rand = 100;
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
if (Math.random() > 0.5) {
_root.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
} else {
_root.firePartOrange.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
}
_root["firePart" + fireNum]._x = this._x - 10;
if (Math.random() > 0.5) {
_root["firePart" + fireNum]._y = this._y - (Math.random() * 8);
} else {
_root["firePart" + fireNum]._y = this._y + (Math.random() * 8);
_root["firePart" + fireNum]._rotation = 180;
}
rand = Math.random();
_root["firePart" + fireNum]._width = (rand * 10) + 7;
_root["firePart" + fireNum]._height = (rand * 10) + 7;
}
if (fireNum > 200) {
fireNum = 1;
}
}
Instance of Symbol 73 MovieClip in Frame 1639
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1756
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1833
onClipEvent (load) {
this.gotoAndPlay(114);
}
Instance of Symbol 73 MovieClip in Frame 1886
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1886
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1886
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1888
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1888
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1888
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1890
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1951
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1951
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1951
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1953
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1953
onClipEvent (load) {
this.gotoAndPlay(106);
}
Instance of Symbol 73 MovieClip in Frame 1958
onClipEvent (load) {
this.gotoAndPlay(106);
}
Frame 2015
stop();
Symbol 12 Button
on (release) {
gotoAndPlay (3);
}
Symbol 23 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 6
stop();
Symbol 72 MovieClip Frame 7
stop();
Symbol 73 MovieClip Frame 144
stop();
Symbol 166 MovieClip Frame 13
if (Math.random() < 0.3) {
this.gotoAndPlay("blink");
} else {
this.gotoAndPlay("idle");
}
Symbol 178 MovieClip Frame 12
if (Math.random() < 0.2) {
this.gotoAndPlay("blink");
} else {
this.gotoAndPlay("idle");
}
Symbol 230 MovieClip Frame 10
stop();
Symbol 246 MovieClip Frame 11
stop();
Symbol 283 Button
on (release) {
gotoAndPlay (2025);
}