Frame 1
stop();
mySound = new Sound();
mySound.attachSound("AK");
OutSound = new Sound();
OutSound.attachSound("Out");
ReloadSound = new Sound();
ReloadSound.attachSound("Reload");
PullSound = new Sound();
PullSound.attachSound("Pull");
stop();
Instance of Symbol 43 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_root.gotoAndPlay("play");
} else {
this.gotoAndStop(Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * this._totalframes));
}
}
Frame 2
function ShowDialog() {
mcDialog._y = 240;
mcDialog._x = 360;
mcDialog._visible = true;
}
function newSkeet() {
if (0 < Plates) {
duplicateMovieClip (disc1, String(n), n);
discs[n - 1] = eval (String(n));
x = random(2);
if (x == 0) {
eval (String(n)).left = true;
eval (String(n))._x = -80;
eval (String(n))._y = 485 - random(50);
eval (String(n)).angle = -50 + random(25);
} else {
eval (String(n)).right = true;
eval (String(n))._x = 700;
eval (String(n))._y = 485 - random(50);
eval (String(n)).angle = -50 + random(25);
}
n++;
}
}
function gotIt(name) {
t++;
ShotSkeet = ShotSkeet + 1;
eval (name).removeMovieClip();
}
function removeMe(name) {
eval (name).removeMovieClip();
disc = disc + 1;
}
function returnGun() {
mcGun._x = 40;
mcGun._y = 480;
}
function BuletsCount() {
if (-1 < Plates) {
varShotCnt = Plates;
}
}
function fire() {
shotmc._x = mcGun.gun.x;
shotmc._y = mcGun.gun.y;
shotmc.gotoAndPlay(1);
sShoot.start();
}
function Scores() {
if (tScores < 1000) {
_root.varScores = " " + tScores;
}
if ((999 < tScores) and (tScores < 10000)) {
_root.varScores = " " + tScores;
}
if (9999 < tScores) {
_root.varScores = tScores;
}
}
function SJtime() {
var _local1 = _root;
clearInterval(timenum);
_local1.timenum = _local1.timenum - 1;
_local1.SJGstr();
if (_local1.timenum == 0) {
clearInterval(time1);
_local1.gotoAndStop(5);
}
}
function SJGstr() {
var _local1 = _root;
var _local2;
var temp2;
var i;
if (_root.timenum == 240) {
_local2 = "400";
} else if (_root.timenum >= 190) {
_local2 = "3" + (_root.timenum - 180);
} else if ((_root.timenum < 190) and (_root.timenum > 180)) {
_local2 = "30" + (_root.timenum - 180);
} else if (_root.timenum == 180) {
_local2 = "300";
} else if ((_root.timenum < 180) and (_root.timenum >= 130)) {
_local2 = "2" + (_root.timenum - 120);
} else if ((_root.timenum > 120) and (_root.timenum < 130)) {
_local2 = "20" + (_root.timenum - 120);
} else if (_root.timenum == 120) {
_local2 = "200";
} else if ((_root.timenum < 120) and (_root.timenum >= 70)) {
_local2 = "1" + (_root.timenum - 60);
} else if ((_root.timenum < 70) and (_root.timenum >= 61)) {
_local2 = "10" + (_root.timenum - 60);
} else if (_root.timenum == 60) {
_local2 = "100";
} else if ((_root.timenum < 60) and (_root.timenum >= 10)) {
_local2 = "0" + _root.timenum;
} else if ((_root.timenum < 10) and (_root.timenum >= 0)) {
_local2 = "00" + _root.timenum;
}
trace("_local2 " + _local2);
_local1.txt2 = _local2.charAt(0);
_local1.txt3 = _local2.charAt(1) + _local2.charAt(2);
}
function Pause() {
mcPause.varPause = second;
if (0 < mSecond) {
mSecond = mSecond - 10;
}
if (mSecond < 10) {
mSecond = 240;
second = second - 1;
}
}
_root.txt2 = 4;
_root.txt3 = "00";
stop();
time1 = setInterval(_root.SJtime, 1000);
stop();
_root.timenum = 240;
startDrag (mcSight, true, 25, 40, 640, 450);
mcHolding.Alpha._visible = false;
mcGameOver._visible = false;
var n = 1;
var time = 30;
var t = 0;
var x = 0;
var sound = true;
var Plates = 130;
var PlateCnt = 0;
var Bonus = 0;
var Shans = 0;
var left = false;
var right = false;
var PlayGame = false;
var ShotSkeet = 0;
var disc = 0;
var holdEnd = false;
var HoldScores = 300;
var GameOver = false;
var Total = 0;
var a = 0;
var discs = new Array();
var tScores = 0;
var hold = 5;
var minHold = 250;
var nextTime = 60;
var allTime = 2;
var secLeft = 0;
var second = 60;
var mSecond = 120;
Instance of Symbol 64 MovieClip "shotmc" in Frame 2
/* no clip actions */
Instance of Symbol 107 MovieClip "mcGun" in Frame 2
onClipEvent (mouseMove) {
t = Math.floor(_root._xmouse / 52) + 1;
e = Math.floor(_root._ymouse / 120) + 1;
gotoAndStop(t);
gun.gotoAndStop(Math.abs(4 - e));
}
onClipEvent (mouseDown) {
if (_root.PlayGame) {
_parent.fire();
_x = (_x + x1);
_y = (_y + 5);
} else if (_root.sound) {
_root.OutSound.start();
}
}
Instance of Symbol 114 MovieClip "disc1" in Frame 2
onClipEvent (enterFrame) {
if (this._name == "disc1") {
return(undefined);
}
if (_root.PlayGame) {
if (left) {
_x = (_x + (Math.cos((Math.Pi / 180) * angle) * speed));
_y = (_y + (Math.sin((Math.Pi / 180) * angle) * speed2));
}
if (right) {
_x = (_x - (Math.cos((Math.Pi / 180) * angle) * speed));
_y = (_y + (Math.sin((Math.Pi / 180) * angle) * speed2));
}
if (5 < _xscale) {
_xscale = (_xscale - 1.5);
_yscale = (_yscale - 1.5);
} else {
_root.Plates = _root.Plates - 1;
_root.removeMe(this._name);
}
if (8 < speed) {
speed = speed - 0.3;
speed2 = speed2 - 0.4;
}
}
if (_root.Plates == 0) {
_visible = false;
}
if (_root._currentframe == 6) {
_visible = false;
}
if (_root.varShotCnt <= 90) {
speed = speed + 2;
}
if (_root.varShotCnt <= 80) {
speed = speed + 3;
}
}
onClipEvent (mouseDown) {
if (_root.PlayGame) {
if (!_root.mcSight.mMouse) {
if (_root.mcPack._currentframe < 3) {
if (this.hitTest(_root.mcMiniSight)) {
this.play();
_root.mcShowScores.Graphic.varScores = "500";
_root.tScores = _root.tScores + 500;
_root.mcShowScores._x = _x;
_root.mcShowScores._y = _y - 50;
_root.mcShowScores.play();
}
}
}
}
}
onClipEvent (load) {
speed = 35;
speed2 = 25;
}
Instance of Symbol 124 MovieClip "mcSight" in Frame 2
onClipEvent (enterFrame) {
if (_root._ymouse < 40) {
_visible = false;
mMouse = true;
Mouse.show();
} else {
_visible = true;
mMouse = false;
Mouse.hide();
}
}
onClipEvent (load) {
mMouse = false;
}
Instance of Symbol 126 MovieClip "mcMiniSight" in Frame 2
onClipEvent (enterFrame) {
if (_root.mcSight.mMouse) {
_visible = false;
} else {
_visible = true;
_x = _root._xmouse;
_y = _root._ymouse;
}
}
Instance of Symbol 140 MovieClip in Frame 2
onClipEvent (enterFrame) {
_root.BuletsCount();
_root.Scores();
if (_root.mcPack._currentframe == 3) {
_root.mcSight.gotoAndStop(2);
} else {
_root.mcSight.gotoAndStop(1);
}
if (_root.Plates < 1) {
_root.GameOver = true;
_root.GoodShot();
_root.mcGameOver._visible = true;
_root.mcGameOver.varScores = "SCORE = " + _root.tScores;
if (90 < _root.Shans) {
_root.mcGameOver.varBonus = "100 % accuracy = " + _root.Bonus;
} else {
_root.mcGameOver.varBonus = (Math.floor(_root.Shans) + " % accuracy = ") + _root.Bonus;
}
_root.mcGameOver.varTotal = "TOTAL = " + (_root.tScores + _root.Bonus);
_root.Total = _root.tScores + _root.Bonus;
_root.PlayGame = false;
}
if (_root.PlayGame) {
play();
_root.timeLeft();
} else {
gotoAndStop (1);
}
if (_root.GameOver) {
if (0 < _root.HoldScores) {
_root.HoldScores = _root.HoldScores - 5;
} else if (_root.HoldScores < 10) {
_root.mcBack.play();
_root.nextFrame();
}
}
}
Instance of Symbol 149 MovieClip "mcPause" in Frame 2
onClipEvent (enterFrame) {
if (_root.holdEnd) {
if (_currentframe == 2) {
_root.Pause();
}
}
}
Frame 5
Mouse.show();
stop();
Mouse.show();
Frame 6
stop();
trace("RRRRRRR");
Frame 10
stop();
Symbol 34 MovieClip Frame 14
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 3
stop();
Symbol 57 MovieClip Frame 4
stop();
Symbol 64 MovieClip Frame 6
stop();
_parent.returnGun();
Symbol 82 MovieClip Frame 1
x = 186;
y = 378;
x1 = 7;
stop();
Symbol 82 MovieClip Frame 2
x = 187;
y = 330;
Symbol 82 MovieClip Frame 3
x = 188;
y = 300;
Symbol 85 MovieClip Frame 1
stop();
x = 214;
y = 378;
x1 = 6;
Symbol 85 MovieClip Frame 2
x = 218;
y = 330;
Symbol 85 MovieClip Frame 3
x = 226;
y = 296;
Symbol 86 MovieClip Frame 1
stop();
x = 242;
y = 375;
x1 = 5;
Symbol 86 MovieClip Frame 2
x = 245;
y = 331;
Symbol 86 MovieClip Frame 3
x = 241;
y = 297;
Symbol 87 MovieClip Frame 1
stop();
x = 261;
y = 376;
x1 = 4;
Symbol 87 MovieClip Frame 2
x = 271;
y = 325;
Symbol 87 MovieClip Frame 3
x = 265;
y = 295;
Symbol 91 MovieClip Frame 1
stop();
x = 288;
y = 375;
x1 = 3;
Symbol 91 MovieClip Frame 2
x = 297;
y = 327;
Symbol 91 MovieClip Frame 3
x = 294;
y = 294;
Symbol 94 MovieClip Frame 1
stop();
x = 315;
y = 369;
x1 = 2;
Symbol 94 MovieClip Frame 2
x = 328;
y = 327;
Symbol 94 MovieClip Frame 3
x = 333;
y = 290;
Symbol 100 MovieClip Frame 1
stop();
x = 373;
y = 375;
x1 = 0;
Symbol 100 MovieClip Frame 2
x = 373;
y = 323;
Symbol 100 MovieClip Frame 3
x = 373;
y = 291;
Symbol 101 MovieClip Frame 1
stop();
x = 412;
y = 373;
x1 = -3;
Symbol 101 MovieClip Frame 2
x = 404;
y = 331;
Symbol 101 MovieClip Frame 3
x = 400;
y = 295;
Symbol 102 MovieClip Frame 1
stop();
x = 430;
y = 378;
x1 = -4;
Symbol 102 MovieClip Frame 2
x = 427;
y = 334;
Symbol 102 MovieClip Frame 3
x = 426;
y = 298;
Symbol 103 MovieClip Frame 1
stop();
x = 457;
y = 381;
x1 = -5;
Symbol 103 MovieClip Frame 2
x = 453;
y = 333;
Symbol 103 MovieClip Frame 3
x = 452;
y = 297;
Symbol 104 MovieClip Frame 1
stop();
x = 484;
y = 380;
x1 = -6;
Symbol 104 MovieClip Frame 2
x = 486;
y = 324;
Symbol 104 MovieClip Frame 3
x = 474;
y = 300;
Symbol 105 MovieClip Frame 1
stop();
x = 494;
y = 380;
Symbol 105 MovieClip Frame 2
x = 488;
y = 330;
Symbol 105 MovieClip Frame 3
x = 488;
y = 294;
Symbol 106 MovieClip Frame 1
stop();
x = 510;
y = 381;
x1 = -5;
Symbol 106 MovieClip Frame 2
x = 506;
y = 333;
Symbol 106 MovieClip Frame 3
x = 512;
y = 294;
x1 = -5;
Symbol 107 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 5
_root.Plates = _root.Plates - 1;
_root.gotIt(this._name);
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 115 MovieClip Frame 3
stop();
Symbol 117 Button
on (keyPress "<Space>") {
if (_root.mcPack._currentframe == 3) {
_root.mcPack.gotoAndStop(1);
if (_root.sound) {
_root.ReloadSound.start();
}
}
}
on (keyPress "p") {
if (_root.holdEnd) {
_root.mcPause.play();
_root.PlayGame = false;
}
}
on (keyPress "P") {
if (_root.holdEnd) {
_root.mcPause.play();
_root.PlayGame = false;
}
}
Symbol 122 Button
on (release) {
getURL ("http://www.Flashfunpages.com/", "_top");
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 5
_root.newPlate();
_root.move = false;
_root.Time = 2;
_root.varTimetxt._visible = true;
removeMovieClip(this);
Symbol 140 MovieClip Frame 1
stop();
time = _root.time;
now = getTimer() / 100;
Symbol 140 MovieClip Frame 2
last = (getTimer() / 100) - now;
if (last >= time) {
if (_root._currentframe == 2) {
_root.newSkeet();
}
if (_root._currentframe == 3) {
_root.newSkeet();
_root.newSkeet();
}
if (_root._currentframe == 4) {
_root.newSkeet2();
}
if (_root._currentframe == 5) {
_root.newSkeet3();
}
_root.PlateCnt = _root.PlateCnt + 1;
gotoAndPlay (1);
}
Symbol 140 MovieClip Frame 3
gotoAndPlay (2);
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 18
_y = -300;
Symbol 149 MovieClip Frame 1
stop();
_root.PlayGame = true;
_root.PlayGame2 = true;
Symbol 149 MovieClip Frame 2
stop();
Symbol 160 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 168 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 175 Button
on (release) {
gotoAndPlay (10);
}
Symbol 180 Button
on (release) {
gotoAndPlay (6);
trace("IIIIII");
}