Frame 1
function PreLoad() {
if (_framesloaded == _totalframes) {
gotoAndStop (9);
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
loadout = ("Loaded " + percent) + "%";
loadbar._width = 300 * (percent / 100);
}
}
loadad._visible = 0;
rootsound = new Sound();
volumeon = 1;
pauseg = 0;
adload = 0;
stop();
Instance of Symbol 100 MovieClip "recvar" in Frame 1
onClipEvent (data) {
_parent.sendg = sendg;
_parent.newcode = (codein * 88) - 28;
if (myserv == 0) {
_root.gotoAndStop(8);
}
}
Instance of Symbol 107 MovieClip "loadbarout" in Frame 1
onClipEvent (enterFrame) {
_root.PreLoad();
}
Instance of Symbol 129 MovieClip "musicbut" in Frame 1
onClipEvent (load) {
if (_root.volumeon == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Frame 2
loadad._visible = 1;
if (sendg) {
sendgbut._visible = 0;
}
if (adload == 0) {
loadMovie ("http://www.officegamespot.com/wolfgameads2.swf", loadad);
adload = 1;
}
if (bsound2.position == 0) {
bsound2.setVolume(30);
bsound2.start();
}
Frame 3
loadad._visible = 0;
attachMovie("introfade", "introfade", 34000);
introfade._x = -2000;
shots = 1;
mainx = mainclip._xscale;
mainy = mainclip._yscale;
stop();
Frame 4
loadad._visible = 0;
this.gotoAndStop(3);
Frame 5
function ShowScores() {
sc = 1;
while (sc <= 20) {
ascore = eval ("score" + sc);
ascore.nameout = "";
ascore.scoreout = "";
ascore.numout = "";
if (ascores[sc]) {
ascore.nameout = anames[sc - 1].toUpperCase();
ascore.scoreout = ascores[sc - 1];
ascore.numout = sc;
if (ascore.scoreout == 17) {
ascore.compstar.gotoAndStop(2);
}
} else {
ascore.nameout = "";
ascore.scoreout = "";
ascore.numout = "";
}
sc++;
}
thiscont = 1;
}
loadad._visible = 1;
thiscont = 0;
if (newscores == 1) {
anames = "";
ascores = "";
loadVariables ("http://www.officegamespot.com/getarrowscores.php?rn=" + random(100000), getscores);
newscores = 0;
} else {
ShowScores();
}
Instance of Symbol 230 MovieClip "getscores" in Frame 5
onClipEvent (data) {
_parent.ascores = ascores.split(",");
_parent.anames = anames.split(",");
_parent.ShowScores();
_root.gotoAndStop(5);
}
Frame 6
loadad._visible = 0;
Frame 7
loadad._visible = 0;
newscores = 1;
Instance of Symbol 230 MovieClip "getscores" in Frame 7
onClipEvent (data) {
_parent.ascores = ascores.split(",");
_parent.anames = anames.split(",");
_parent.ShowScores();
_root.gotoAndStop(5);
}
Instance of Symbol 265 MovieClip in Frame 7
onClipEvent (load) {
dcount = 0;
}
onClipEvent (enterFrame) {
if (dcount == 30) {
_root.gotoAndStop(5);
}
dcount = dcount + 1;
}
Frame 8
loadad._visible = 0;
Frame 9
function SaveHiScore(sname, slevel, shots) {
hiscore = 0;
loadVariables ((((((((("http://www.officegamespot.com/arrowscorein.php?rannum=" + random(100000)) + "&username=") + sname) + "&finalscore=") + slevel) + "&shots=") + shots) + "&codein=") + newcode, recvar);
}
newscores = 1;
loadad._visible = 0;
loadVariables ("http://www.officegamespot.com/getarrowcode.php?rannum=" + random(100000), recvar);
fscommand ("showmenu", "false");
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
_root.menu = newMenu;
this.createEmptyMovieClip("butsound1", 749393);
bsound1 = new Sound(butsound1);
bsound1.attachSound("restringbow");
bsound1.setVolume(65);
this.createEmptyMovieClip("introsound", 749394);
bsound2 = new Sound(introsound);
bsound2.attachSound("greatpumpkin");
bsound2.setVolume(30);
stop();
Instance of Symbol 129 MovieClip "musicbut" in Frame 9
onClipEvent (load) {
if (_root.volumeon == 1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 2 MovieClip in Symbol 3 MovieClip [introfade] Frame 1
onClipEvent (load) {
cvol = 25;
}
onClipEvent (enterFrame) {
_root.bsound2.setVolume(cvol);
cvol = cvol - 1;
if (cvol <= 0) {
_root.bsound2.stop();
_parent.removeMovieClip();
}
}
Instance of Symbol 6 MovieClip in Symbol 21 MovieClip [appleparts] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.tx;
_parent._y = _parent._y + _parent.ty;
_parent.ty = _parent.ty + 1;
if (_parent._y > 180) {
_parent.removeMovieClip();
}
}
Instance of Symbol 23 MovieClip in Symbol 24 MovieClip [blood] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.tx;
_parent._y = _parent._y + _parent.ty;
_parent.ty = _parent.ty + 1;
ytest = -15 - random(10);
if (_parent._y > ytest) {
_parent._parent.GBlood(_parent._x, _parent._y, _parent._xscale);
_parent.removeMovieClip();
}
}
Symbol 33 MovieClip [gamestart] Frame 1
distout = _root.distout;
Instance of Symbol 27 MovieClip in Symbol 33 MovieClip [gamestart] Frame 1
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
count = count + 1;
if (count > 10) {
_parent._alpha = _parent._alpha - 5;
if (count > 30) {
_parent.removeMovieClip();
}
}
}
Symbol 39 Button
on (press) {
_root.bsound1.start();
gotoAndStop (2);
}
Symbol 42 MovieClip [nextlevel] Frame 1
stop();
Symbol 42 MovieClip [nextlevel] Frame 2
distout = _root.distout;
Instance of Symbol 27 MovieClip in Symbol 42 MovieClip [nextlevel] Frame 2
onClipEvent (load) {
curve = 5;
count = 0;
levels = new Array(0, 1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.25, 0.2, 0.18, 0.16, 0.14, 0.12, 0.1, 0.08, 0.06, 0.04, 0.03, 0.02, 0.01);
}
onClipEvent (enterFrame) {
if (_root.mainclip._xscale > _root.mainx) {
_root.mainclip._xscale = _root.mainclip._xscale - curve;
_root.mainclip._yscale = _root.mainclip._yscale - curve;
if (_root.mainclip._xscale < _root.mainx) {
_root.mainclip._xscale = _root.mainx;
_root.mainclip._yscale = _root.mainy;
}
curve = curve - 0.01;
} else {
_root.mainclip._xscale = _root.mainclip._xscale - levels[_root.mainclip.gamelevel];
_root.mainclip._yscale = _root.mainclip._yscale - levels[_root.mainclip.gamelevel];
_root.mainclip.guy1._x = _root.mainclip.guy1._x - 2.8;
_root.mainclip.arrowclip._x = _root.mainclip.arrowclip._x - 2.8;
_root.mainclip.bow._x = _root.mainclip.bow._x - 2.8;
_root.mainclip.armup1._x = _root.mainclip.armup1._x - 2.8;
_parent._alpha = _parent._alpha - 2;
count = count + 1;
if (count > 20) {
_root.mainclip.ClearGame();
_root.mainclip.GameReset();
_parent.removeMovieClip();
}
}
}
Symbol 50 Button
on (press) {
_root.bsound1.start();
gotoAndStop (3);
}
Symbol 51 MovieClip [zoomin] Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 51 MovieClip [zoomin] Frame 1
onClipEvent (load) {
curve = 1;
}
onClipEvent (enterFrame) {
if (_root.mainclip._xscale < 180) {
trace(_root.mainclip.pow);
_root.mainclip._xscale = _root.mainclip._xscale + (curve + (_root.mainclip.pow / 10));
_root.mainclip._yscale = _root.mainclip._yscale + (curve + (_root.mainclip.pow / 10));
}
if (curve > 0) {
curve = curve - 0.005;
}
}
Instance of Symbol 44 MovieClip in Symbol 51 MovieClip [zoomin] Frame 3
onClipEvent (load) {
curve = 5;
}
onClipEvent (enterFrame) {
_root.mainclip._xscale = _root.mainclip._xscale - curve;
_root.mainclip._yscale = _root.mainclip._yscale - curve;
if (_root.mainclip._xscale < _root.mainx) {
_root.mainclip._xscale = _root.mainx;
_root.mainclip._yscale = _root.mainy;
_root.mainclip.GameReset();
_parent.removeMovieClip();
}
curve = curve - 0.01;
}
Symbol 56 Button
on (press) {
_root.bsound1.start();
if (entername && (_root.roundout > 2)) {
_parent.SaveHiScore(entername, _root.roundout, _root.shots);
}
_root.roundout = 1;
_root.distout = "20 FT.";
_root.mainclip.allsounds[47].stop();
if (entername) {
_root.gotoAndStop(7);
} else {
_root.gotoAndStop(5);
}
this.removeMovieClip();
}
Symbol 57 MovieClip Frame 10
if (_root.mainclip.guyhit == 1) {
_root.mainclip.allsounds[47].start();
}
stop();
Symbol 62 Button
on (press) {
_root.bsound1.start();
_root.roundout = 1;
_root.distout = "20 FT.";
_root.mainclip.allsounds[47].stop();
_root.gotoAndStop(4);
this.removeMovieClip();
}
Symbol 67 Button
on (press) {
_root.bsound1.start();
if (entername) {
_parent.SaveHiScore(entername, _root.roundout, _root.shots);
}
_root.roundout = 1;
_root.distout = "20 FT.";
_root.mainclip.allsounds[47].stop();
_root.gotoAndStop(7);
this.removeMovieClip();
}
Symbol 73 MovieClip [gameoverclip] Frame 1
entername.setFocus();
stop();
Symbol 73 MovieClip [gameoverclip] Frame 2
entername.setFocus();
stop();
Instance of Symbol 98 MovieClip in Symbol 99 MovieClip [arrowmark] Frame 1
onClipEvent (enterFrame) {
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 25
stop();
Symbol 120 Button
on (release) {
getURL ("http://www.wolfcom.ca/?w=1", "_blank");
}
Symbol 125 Button
on (rollOver) {
_parent.pauseg = 1;
}
on (rollOut) {
_parent.pauseg = 0;
}
on (press) {
_parent.rootsound.setVolume(0);
_parent.volumeon = 0;
gotoAndStop (2);
}
Symbol 127 Button
on (rollOver) {
_parent.pauseg = 1;
}
on (rollOut) {
_parent.pauseg = 0;
}
on (press) {
_parent.rootsound.setVolume(100);
_parent.volumeon = 1;
gotoAndStop (1);
}
Symbol 129 MovieClip Frame 1
stop();
Symbol 139 Button
on (press) {
bsound1.start();
_root.gotoAndStop(3);
}
Symbol 143 Button
on (press) {
bsound1.start();
if (ascores[0]) {
_root.gotoAndStop(5);
} else {
_root.gotoAndStop(7);
}
}
Symbol 147 Button
on (press) {
bsound1.start();
_root.gotoAndStop(6);
}
Symbol 150 MovieClip Frame 10
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 4
stop();
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 198 MovieClip Frame 13
stop();
Symbol 198 MovieClip Frame 24
_root.mainclip.Bleed(-84, -32);
_parent.allsounds[25].start();
Symbol 198 MovieClip Frame 32
_root.mainclip.Bleed(-84, -32);
Symbol 198 MovieClip Frame 40
_root.mainclip.Bleed(-84, -32);
Symbol 198 MovieClip Frame 48
_root.mainclip.Bleed(-84, -32);
Symbol 198 MovieClip Frame 56
stop();
_root.mainclip.Bleed(-84, -32);
Instance of Symbol 180 MovieClip in Symbol 198 MovieClip Frame 57
onClipEvent (load) {
gotoAndStop (3);
}
Symbol 198 MovieClip Frame 69
_root.mainclip.Bleed(-45, -80);
Symbol 198 MovieClip Frame 77
_root.mainclip.Bleed(-45, -80);
Symbol 198 MovieClip Frame 86
_root.mainclip.Bleed(-45, -80);
Symbol 198 MovieClip Frame 95
_root.mainclip.Bleed(-45, -80);
Symbol 198 MovieClip Frame 115
stop();
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 116
onClipEvent (load) {
gotoAndStop (4);
}
Symbol 198 MovieClip Frame 123
_parent.allsounds[45].start();
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 159
onClipEvent (load) {
gotoAndStop (3);
}
Symbol 198 MovieClip Frame 163
_root.mainclip.Bleed(-70, -90);
Symbol 198 MovieClip Frame 169
_parent.allsounds[25].start();
Symbol 198 MovieClip Frame 179
stop();
_root.mainclip.Bleed(-110, -32);
_parent.allsounds[25].start();
Instance of Symbol 168 MovieClip in Symbol 198 MovieClip Frame 180
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 180
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 198 MovieClip Frame 185
_root.mainclip.Bleed(-70, -25);
_parent.allsounds[25].start();
Symbol 198 MovieClip Frame 192
_root.mainclip.Bleed(-75, -25);
_parent.allsounds[25].start();
Symbol 198 MovieClip Frame 202
_root.mainclip.Bleed(-80, -25);
Symbol 198 MovieClip Frame 213
_root.mainclip.Bleed(-85, -25);
Symbol 198 MovieClip Frame 224
_root.mainclip.Bleed(-90, -25);
Symbol 198 MovieClip Frame 234
stop();
Symbol 198 MovieClip Frame 246
_root.mainclip.Bleed(-65, -32);
Symbol 198 MovieClip Frame 256
_root.mainclip.Bleed(-65, -32);
Symbol 198 MovieClip Frame 266
_root.mainclip.Bleed(-65, -32);
Symbol 198 MovieClip Frame 276
stop();
_root.mainclip.Bleed(-65, -32);
Instance of Symbol 188 MovieClip in Symbol 198 MovieClip Frame 277
onClipEvent (load) {
gotoAndStop (5);
}
Symbol 198 MovieClip Frame 280
_root.mainclip.Bleed(-70, -90);
Symbol 198 MovieClip Frame 288
Symbol 198 MovieClip Frame 296
Symbol 198 MovieClip Frame 304
_root.mainclip.apple.gotoAndPlay(2);
Symbol 198 MovieClip Frame 315
stop();
_root.mainclip.Bleed(-110, -32);
_parent.allsounds[32].start();
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 316
onClipEvent (load) {
gotoAndStop (6);
}
Instance of Symbol 180 MovieClip in Symbol 198 MovieClip Frame 318
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 198 MovieClip Frame 323
_parent.allsounds[25].start();
Symbol 198 MovieClip Frame 330
_root.mainclip.Bleed(-50, -85);
Symbol 198 MovieClip Frame 336
_root.mainclip.Bleed(-50, -85);
Symbol 198 MovieClip Frame 343
_root.mainclip.Bleed(-50, -85);
_parent.allsounds[25].start();
_root.mainclip.Bleed(-110, -32);
Symbol 198 MovieClip Frame 354
stop();
_root.mainclip.Bleed(-110, -32);
Instance of Symbol 180 MovieClip in Symbol 198 MovieClip Frame 355
onClipEvent (load) {
gotoAndStop (4);
}
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 355
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 198 MovieClip Frame 368
_root.mainclip.Bleed(-60, -75);
Symbol 198 MovieClip Frame 371
_root.mainclip.Bleed(-60, -75);
Symbol 198 MovieClip Frame 377
_root.mainclip.Bleed(-60, -75);
Symbol 198 MovieClip Frame 380
_root.mainclip.Bleed(-60, -75);
Symbol 198 MovieClip Frame 400
_root.mainclip.Bleed(-60, -55);
Symbol 198 MovieClip Frame 417
stop();
Symbol 198 MovieClip Frame 425
_root.mainclip.Bleed(-70, -45);
Symbol 198 MovieClip Frame 445
_root.mainclip.Bleed(-100, -55);
_parent.allsounds[32].start();
Instance of Symbol 175 MovieClip in Symbol 198 MovieClip Frame 445
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 198 MovieClip Frame 450
_parent.allsounds[15].start();
Symbol 198 MovieClip Frame 455
stop();
Symbol 198 MovieClip Frame 498
stop();
Instance of Symbol 188 MovieClip "head" in Symbol 198 MovieClip Frame 530
onClipEvent (load) {
gotoAndStop (7);
}
Symbol 198 MovieClip Frame 542
stop();
Symbol 208 MovieClip Frame 1
stop();
Instance of Symbol 206 MovieClip "arrowplace" in Symbol 208 MovieClip Frame 2
onClipEvent (load) {
xdist = _x;
}
onClipEvent (enterFrame) {
_parent._parent._parent.arrowclip.arrowin.arrowmove._x = _parent._parent._parent.arrowclip.arrowin.arrowmove._x + (_x - xdist);
xdist = _x;
}
Symbol 208 MovieClip Frame 45
stop();
Instance of Symbol 206 MovieClip "arrowplace" in Symbol 208 MovieClip Frame 45
onClipEvent (load) {
xdist = _x;
}
onClipEvent (enterFrame) {
_parent._parent._parent.arrowclip.arrowin.arrowmove._x = _parent._parent._parent.arrowclip.arrowin.arrowmove._x + (_x - xdist);
}
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 45
stop();
Symbol 219 MovieClip Frame 1
function LoadInit() {
mousedown = 0;
shotgo = 0;
arrowgo = 0;
charge = 0;
pow = 0;
ax = 0;
bcount = 0;
ay = 0;
ang = 0;
v = 0;
applego = 0;
gbcount = 0;
acount = 0;
xdif = 0;
ydif = 0;
guyhit = 0;
follow._visible = 0;
life = 100;
_parent.lifeout = life + "%";
gamelevel = 1;
distance = 20;
_parent.distout = distance + " FT.";
_parent.roundout = gamelevel;
guy2.swapDepths(12845);
apple.swapDepths(12846);
levels = new Array();
_parent.attachMovie("gamestart", "gamestart", 13532);
_parent.gamestart._x = _parent.gamestart._x + 360;
_parent.gamestart._y = _parent.gamestart._y - 50;
}
function SetAngleSub() {
if (ang < -60) {
ang = -60;
} else if (ang > 40) {
ang = 40;
}
_parent.rotguage.meter._rotation = ang + 90;
ax = Math.cos(angt);
ay = Math.sin(angt);
bow.bowin._rotation = ang;
arrowclip.arrowin._rotation = ang;
armup1._rotation = ang;
guy1.arm2._rotation = ang;
guy1.armdown1._rotation = ang - 160;
if (ang < 0) {
guy1.armdown1._xscale = 100 + (ang / 2);
} else {
guy1.armdown1._xscale = 100;
}
guy1.head._rotation = ang;
}
function SetAngle() {
sax = bow._xmouse;
say = bow._ymouse;
ang = Math.atan2(say, sax);
angt = ang;
ang = ang * 57;
if (arrowgo == 0) {
SetAngleSub();
}
}
function GameReset() {
_parent.powout.lifemask._x = 250.2;
pow = 0;
arrowgo = 0;
applego = 0;
shotgo = 0;
apple._x = -58.1;
apple._y = -104.6;
v = 3;
armup1.gotoAndStop(1);
arrowclip.arrowin.arrowmove._x = 32;
arrowclip._visible = 1;
apple._visible = 1;
arrowclip._x = bow._x + 46;
arrowclip._y = bow._y + 2;
arrowclip.arrowin._rotation = bow.bowin._rotation;
arrowclip._rotation = 0;
}
function ClearGame() {
life = 100;
_parent.lifeout = life + "%";
_root.mainx = _root.mainclip._xscale;
_root.mainy = _root.mainclip._yscale;
i = 0;
while (i <= bcount) {
bloodstain = eval ("bloodstain" + i);
bloodstain.removeMovieClip();
i++;
}
i = 0;
while (i <= acount) {
arrowmark = eval ("arrowmark" + i);
arrowmark.removeMovieClip();
i++;
}
i = 0;
while (i <= gbcount) {
groundblood = eval ("groundblood" + i);
groundblood.removeMovieClip();
i++;
}
}
function GameEvent() {
if (charge) {
fartran = Math.floor(Math.random() * 1800);
if (fartran < 5) {
allsounds[26 + fartran].start();
}
if (pow < 40) {
_parent.powout.lifemask._x = _parent.powout.lifemask._x - 5.5;
pow = pow + 1;
}
}
}
function ShotSet() {
if (_parent.pauseg == 0) {
bow.bowin.gotoAndPlay(2);
armup1.gotoAndPlay(2);
guy1.armdown1.gotoAndPlay(2);
charge = 1;
}
}
function ShotGo() {
_parent.rotguage.rotline._rotation = _parent.rotguage.meter._rotation;
allsounds[46].start();
_parent.attachMovie("zoomin", "zoomin", 13533);
_parent.zoomin._x = _parent.zoomin._x + 360;
_parent.zoomin._y = _parent.zoomin._y - 50;
bow.bowin.gotoAndStop(1);
armup1.stop();
guy1.armdown1.stop();
arrowgo = 1;
shotgo = 1;
arrowclip.arrowin.arrowmove._x = 32;
x2 = pow * ax;
y2 = pow * ay;
arrowclip._x = arrowclip._x - Math.abs(arrowclip.arrowin._rotation / 1.8);
arrowclip._y = arrowclip._y + (arrowclip.arrowin._rotation / 1.8);
arrowclip._rotation = arrowclip._rotation + arrowclip.arrowin._rotation;
arrowclip.arrowin._rotation = 0;
charge = 0;
_parent.shots = _parent.shots + 1;
}
function StickArrow() {
if (guyhit == 0) {
attachMovie("arrowmark", "arrowmark" + acount, 550 + acount);
arrowmark = eval ("arrowmark" + acount);
arrowmark._x = arrowclip._x;
arrowmark._y = arrowclip._y;
arrowmark._rotation = arrowclip._rotation;
} else {
bloodstain._visible = 0;
}
arrowclip._visible = 0;
_parent.zoomin.gotoAndStop(2);
acount = acount + 1;
if (!applego) {
} else {
allsounds[3].start();
apple._visible = 0;
ap = 0;
while (ap < 8) {
attachMovie("appleparts", "appleparts" + ap, 900 + ap);
appleparts = eval ("appleparts" + ap);
appleparts._x = apple._x;
appleparts._y = apple._y;
appleparts._xscale = 10;
appleparts._yscale = 10;
appleparts.tx = -4 + random(9);
appleparts.ty = -4 + random(9);
appleparts.gotoAndStop(ap + 1);
ap++;
}
NextLevel();
}
}
function TestArrow() {
apple.gotoAndPlay(2);
if (pow > 20) {
if (ydif > 39) {
apple.gotoAndStop(2);
guy2.gotoAndPlay(277);
allsounds[38].start();
} else if (ydif > 35) {
guy2.gotoAndPlay(116);
allsounds[35].start();
} else if (ydif > 30) {
allsounds[32].start();
guy2.gotoAndPlay(316);
allsounds[34].start();
} else if (ydif > 23) {
guy2.gotoAndPlay(57);
allsounds[37].start();
} else if (ydif > 14) {
guy2.gotoAndPlay(355);
allsounds[36].start();
} else if (ydif > 2) {
guy2.gotoAndPlay(418);
allsounds[41].start();
} else if (ydif > -10) {
allsounds[10].start();
guy2.gotoAndPlay(14);
} else if (ydif > -20) {
guy2.gotoAndPlay(180);
allsounds[39].start();
} else if (ydif > -40) {
guy2.gotoAndPlay(235);
allsounds[40].start();
} else {
guy2.gotoAndPlay(2);
}
guyhit = 1;
} else {
guy2.gotoAndPlay(456);
}
Bleed(follow._x, follow._y, Math.round(damage));
arrowgo = 0;
}
function ShotEvent() {
y2 = y2 + (v / 30);
a = Math.atan2(y2, x2);
atemp = a * 57;
arrowclip._rotation = atemp;
v = v + 3;
ftan = Math.atan2(y2, x2);
ftx = Math.cos(ftan) * 21;
fty = Math.sin(ftan) * 21;
i = 0;
while (i < 10) {
arrowclip._x = arrowclip._x + (x2 / 10);
arrowclip._y = arrowclip._y + (y2 / 10);
follow._x = arrowclip._x + ftx;
follow._y = arrowclip._y + fty;
xdif = guy2._x - follow._x;
ydif = guy2._y - follow._y;
if ((Math.abs(xdif) < 4) && (Math.abs(ydif) < 43)) {
TestArrow();
break;
}
if ((Math.abs(apple._x - follow._x) < 3) && (Math.abs(apple._y - follow._y) < 8)) {
applego = 1;
}
if ((Math.abs(wall._x - follow._x) < 11) && (Math.abs(wall._y - follow._y) < 63)) {
allsounds[8].start();
arrowgo = 0;
break;
}
if (follow._y > (ground._y + 10)) {
allsounds[7].start();
arrowgo = 0;
break;
}
i++;
}
bloodstain._x = follow._x;
bloodstain._y = follow._y;
if (applego) {
apple._x = follow._x;
apple._y = follow._y;
}
if (!arrowgo) {
StickArrow();
}
}
function Bleed(bx, by, damage) {
allsounds[23].start();
bvel = Math.round(pow / 5);
btotal = (15 + random(15)) + bvel;
life = life - damage;
_parent.lifeout = life + "%";
b = 0;
while (b < btotal) {
attachMovie("blood", "blood" + bcount, 1601 + bcount);
blood = eval ("blood" + bcount);
blood._x = bx;
blood._y = by;
bscale = 50 + random(60);
blood._xscale = bscale;
blood._yscale = bscale;
blood.tx = -random(bvel);
blood.ty = -4 + random(9);
bcount = bcount + 1;
b++;
}
GameOver();
}
function GameOver(fin) {
if (!_parent.gameoverclip._visible) {
_parent.attachMovie("gameoverclip", "gameoverclip", 13593);
_parent.gameoverclip._x = _parent.gameoverclip._x + 360;
_parent.gameoverclip._y = _parent.gameoverclip._y - 50;
if (fin) {
_parent.gameoverclip.gotoAndStop(2);
}
_parent.nextlevel.removeMovieClip();
_parent.zoomin.removeMovieClip();
}
}
function GBlood(gbx, gby, gbs) {
attachMovie("groundblood", "groundblood" + gbcount, 1850 + gbcount);
groundblood = eval ("groundblood" + gbcount);
groundblood._x = gbx;
groundblood._y = gby;
groundblood._xscale = gbs;
groundblood._yscale = gbs;
gbcount = gbcount + 1;
}
function NextLevel() {
if (!_parent.gameoverclip._visible) {
_parent.zoomin.removeMovieClip();
_parent.attachMovie("nextlevel", "nextlevel", 13532);
_parent.nextlevel._x = _parent.nextlevel._x + 360;
_parent.nextlevel._y = _parent.nextlevel._y - 50;
gamelevel = gamelevel + 1;
_parent.nextlevel.levout = gamelevel;
_parent.roundout = gamelevel;
if (gamelevel == 17) {
GameOver(1);
} else {
distance = distance + 5;
_parent.distout = distance + " FT.";
}
}
}
LoadInit();
if (!soundinit) {
volumeon = 1;
allsounds = new Array();
rootsound = new Sound();
soundcount = 0;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("applause1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("applause2");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("applehit2");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("applehit4");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowhits1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowhits2");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowhits3");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowhitsgrass");
allsounds[soundcount].setVolume(30);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowhitswall");
allsounds[soundcount].setVolume(20);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowineyeball");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowintheballs");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("arrowleavesbow");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("bloodgush1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("bloodgush2");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("bloodgush3");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("bloodgush4");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("bloodspurt");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("bodyfall");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("button1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("button2");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("choking");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("crowdgasp");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("drippingblood1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("drippingblood2");
allsounds[soundcount].setVolume(65);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("drippingblood3");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("fallongrass");
allsounds[soundcount].setVolume(80);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("fart1");
allsounds[soundcount].setVolume(10);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("fart2");
allsounds[soundcount].setVolume(10);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("fart3");
allsounds[soundcount].setVolume(10);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("fart4");
allsounds[soundcount].setVolume(10);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("fart6");
allsounds[soundcount].setVolume(10);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("gore1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("gore2");
allsounds[soundcount].setVolume(100);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("gore3");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan1");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan2");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan3");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan4");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan5");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan6");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan7");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("groan8");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("restringbow");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("kneel");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("missedshot");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("pullsarrowfromface");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("release");
allsounds[soundcount].setVolume(50);
soundcount = soundcount + 1;
this.createEmptyMovieClip("sound" + soundcount, 749233 + soundcount);
soundclip = eval ("sound" + soundcount);
allsounds[soundcount] = new Sound(soundclip);
allsounds[soundcount].attachSound("youlose");
allsounds[soundcount].setVolume(35);
soundcount = soundcount + 1;
soundinit = 1;
}
Instance of Symbol 209 MovieClip "bow" in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.shotgo == 0) {
_parent.SetAngle();
}
_parent.GameEvent();
if (_parent.arrowgo == 1) {
_parent.ShotEvent();
}
}
onClipEvent (mouseDown) {
if ((_parent.arrowgo == 0) && (_parent.shotgo == 0)) {
_parent.ShotSet();
}
}
onClipEvent (mouseUp) {
if ((_parent.arrowgo == 0) && (_parent.shotgo == 0)) {
if (_parent.charge == 1) {
_parent.ShotGo();
}
}
}
Symbol 228 Button
on (press) {
bsound1.start();
gameoverclip.removeMovieClip();
zoomin.removeMovieClip();
nextlevel.removeMovieClip();
_root.gotoAndStop(2);
}
Symbol 233 Button
on (press) {
bsound1.start();
_root.gotoAndStop(2);
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 248 Button
on (press) {
getURL ("http://www.officegamespot.com/hiscores_appleshooter.php?rannum=" + random(9999999), "_blank");
}
Symbol 254 Button
on (release) {
getURL ("http://www.wolfcom.ca/?w=1", "_blank");
}
Symbol 258 Button
on (release) {
getURL ("http://www.n8-music.com/", "_blank");
}
Symbol 273 Button
on (press) {
getURL ("http://www.officegamespot.com/", "_blank");
}
on (rollOver) {
officegamebut._xscale = 108;
officegamebut._yscale = 108;
}
on (rollOut) {
officegamebut._xscale = 100;
officegamebut._yscale = 100;
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 70
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 80
stop();
Symbol 294 MovieClip Frame 90
stop();
Symbol 296 MovieClip Frame 87
stop();
Symbol 298 MovieClip Frame 85
stop();
Symbol 300 MovieClip Frame 78
stop();
Symbol 302 MovieClip Frame 82
stop();
Symbol 306 MovieClip Frame 121
stop();
Symbol 309 MovieClip Frame 121
stop();
Symbol 310 MovieClip Frame 145
_parent.gotoAndStop(2);
Symbol 339 MovieClip Frame 215
_parent.gotoAndStop(3);
Instance of Symbol 79 MovieClip [blades2] in Symbol 378 MovieClip Frame 1
onClipEvent (enterFrame) {
bladesout.bladesin._rotation = bladesout.bladesin._rotation + 30;
}
Instance of Symbol 79 MovieClip [blades2] in Symbol 378 MovieClip Frame 1
onClipEvent (enterFrame) {
bladesout.bladesin._rotation = bladesout.bladesin._rotation + 30;
}
Symbol 379 MovieClip Frame 50
stop();
Symbol 407 MovieClip Frame 88
n8intro.heli._visible = 0;
Symbol 407 MovieClip Frame 125
_root.gotoAndStop(2);
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
_parent.bsound2.start();
stop();
Symbol 408 MovieClip Frame 3
stop();
Symbol 459 Button
on (press) {
_root.gotoAndStop(2);
}