Frame 2
percent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
per = percent add "%";
if (percent >= 100) {
gotoAndPlay (4);
}
Frame 3
gotoAndPlay (2);
Frame 4
Frame 6
stop();
Frame 7
var score = 0;
var miss = 0;
var hits = 0;
var totalfire = 200;
stop();
Instance of Symbol 54 MovieClip "block5" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fireleft)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x + 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fireleft.gotoAndStop(1);
_root.fireleft._visible = 0;
this._x = this._x - 20;
}
_root.xpos = this._x;
if (this._x >= 248) {
this._x >= 248;
}
}
Instance of Symbol 54 MovieClip "block6" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fireleft)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x + 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fireleft.gotoAndStop(1);
_root.fireleft._visible = 0;
this._x = this._x - 20;
}
if (this._x >= 248) {
this._x >= 248;
}
}
Instance of Symbol 54 MovieClip "block7" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fireleft)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x + 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fireleft.gotoAndStop(1);
_root.fireleft._visible = 0;
this._x = this._x - 20;
}
if (this._x >= 248) {
this._x >= 248;
}
}
Instance of Symbol 54 MovieClip "block8" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fireleft)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x + 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fireleft.gotoAndStop(1);
_root.fireleft._visible = 0;
this._x = this._x - 20;
}
if (this._x >= 248) {
this._x >= 248;
}
}
Instance of Symbol 55 MovieClip "block1" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fire)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x - 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fire.gotoAndStop(1);
_root.fire._visible = 0;
this._x = this._x + 20;
}
if (this._x <= 560) {
this._x <= 560;
}
}
Instance of Symbol 56 MovieClip "block2" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fire)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x - 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fire.gotoAndStop(1);
_root.fire._visible = 0;
this._x = this._x + 20;
}
if (this._x <= 560) {
this._x <= 560;
}
}
Instance of Symbol 54 MovieClip "block3" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fire)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x - 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fire.gotoAndStop(1);
_root.fire._visible = 0;
this._x = this._x + 20;
}
if (this._x <= 560) {
this._x <= 560;
}
}
Instance of Symbol 54 MovieClip "block4" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fire)) {
_root.score = _root.score + 5;
_root.hits = _root.hits + 1;
_root.star._x = this._x - 82;
_root.star._y = this._y;
_root.star.gotoAndPlay(2);
_root.fire.gotoAndStop(1);
_root.fire._visible = 0;
this._x = this._x + 20;
}
if (this._x <= 560) {
this._x <= 560;
}
}
Instance of Symbol 65 MovieClip "gunman" in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.fire)) {
}
if (Key.isDown(40)) {
setProperty(this, _y , _y + 10);
}
if (Key.isDown(38)) {
setProperty(this, _y , _y - 10);
}
if (this._y <= 60) {
this._y = 60;
} else if (this._y >= 305) {
this._y = 305;
}
}
Instance of Symbol 94 MovieClip "m4" in Frame 7
/* no clip actions */
Instance of Symbol 94 MovieClip "m2" in Frame 7
/* no clip actions */
Instance of Symbol 94 MovieClip "m1" in Frame 7
/* no clip actions */
Instance of Symbol 94 MovieClip "m3" in Frame 7
/* no clip actions */
Instance of Symbol 95 MovieClip "m5" in Frame 7
/* no clip actions */
Instance of Symbol 95 MovieClip "m6" in Frame 7
/* no clip actions */
Instance of Symbol 95 MovieClip "m7" in Frame 7
/* no clip actions */
Instance of Symbol 95 MovieClip "m8" in Frame 7
/* no clip actions */
Instance of Symbol 105 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.miss = (200 - _root.totalfire) - _root.hits;
if (_root.totalfire <= 0) {
_root.gotoAndStop("result");
}
x = random(50);
if (x == 1) {
_root.block1._x = _root.block1._x - 10;
}
if (x == 2) {
_root.block2._x = _root.block2._x - 10;
}
if (x == 3) {
_root.block3._x = _root.block3._x - 10;
}
if (x == 4) {
_root.block4._x = _root.block4._x - 10;
}
if (x == 5) {
_root.block5._x = _root.block5._x + 10;
}
if (x == 6) {
_root.block6._x = _root.block6._x + 10;
}
if (x == 7) {
_root.block7._x = _root.block7._x + 10;
}
if (x == 8) {
_root.block8._x = _root.block8._x + 10;
}
_root.ypos = _root.wall1._x;
_root.ypos2 = _root.wall8._x;
d = new Date();
timer = d.Timer();
}
Instance of Symbol 107 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.block1._x <= 560) {
_root.m1.play();
}
if (_root.block2._x <= 560) {
_root.m2.play();
}
if (_root.block3._x <= 560) {
_root.m3.play();
}
if (_root.block4._x <= 560) {
_root.m4.play();
}
if (_root.block5._x >= 248) {
_root.m5.play();
}
if (_root.block6._x >= 248) {
_root.m6.play();
}
if (_root.block7._x >= 248) {
_root.m7.play();
}
if (_root.block8._x >= 248) {
_root.m8.play();
}
}
Frame 9
stop();
Symbol 8 MovieClip Frame 200
gotoAndPlay (2);
Symbol 22 Button
on (release) {
_root.gotoAndStop("start");
}
Symbol 26 Button
on (release) {
fscommand ("quit");
}
Symbol 31 Button
on (release) {
gotoAndStop ("help");
}
Symbol 43 Button
on (release) {
tellTarget ("_root.start") {
gotoAndStop ("help end");
};
}
Symbol 47 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 48 MovieClip Frame 36
stop();
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 59 MovieClip "plate1" in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.gola_ani1)) {
trace("abc");
}
}
Symbol 65 MovieClip Frame 14
stop();
Symbol 65 MovieClip Frame 25
stop();
Symbol 87 MovieClip Frame 1
input = 120;
zeero = int(getTimer() / 1000);
Symbol 87 MovieClip Frame 2
output = input;
if (Number(output) > 0) {
display = int(getTimer() / 1000) - zeero;
output = input - display;
percent = (output / input) * 100;
percentT = int((output / input) * 100) add " % remaining";
setProperty("bar", _xscale , percent);
}
if (Number(output) == 0) {
_root.gotoAndStop("result");
}
Symbol 87 MovieClip Frame 3
gotoAndPlay ("loopstart");
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 42
_root.gotoAndStop("result");
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 42
_root.gotoAndStop("result");
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 7
_root.fireleft._visible = false;
gotoAndStop (2);
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 7
_root.fire._visible = false;
gotoAndStop (2);
Symbol 100 Button
on (keyPress "<Right>") {
_root.gunman.gotoAndPlay("right");
_root.totalfire = _root.totalfire - 1;
_root.fire._x = _root.gunman._x;
_root.fire._y = _root.gunman._y;
_root.fire._visible = 1;
_root.fire.play();
}
on (keyPress "<Left>") {
_root.gunman.gotoAndPlay("left");
_root.totalfire = _root.totalfire - 1;
_root.fireleft._x = _root.gunman._x;
_root.fireleft._y = _root.gunman._y;
_root.fireleft._visible = 1;
_root.fireleft.play();
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 123 Button
on (release) {
gotoAndStop ("start");
}