Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
mochi.as2.MochiAd.showPreGameAd({id:"b3e774a674de80c4", res:"800x440"});
__com_mochibot__("d365fe6b", this, 10301, true);
_root.lavr = 13;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
st_totalshots = 0;
st_headshots = 0;
st_heartshots = 0;
st_bodyshots = 0;
st_bulletshots = 0;
st_temps = 0;
star = 0;
lvl = 1;
place = 1;
lvl_name_1 = "sniper vs sniper";
lvl_name_2 = "destroy the melons";
lvl_name_3 = "Fast response";
lvl_name_4 = "predict the birds";
lvl_name_5 = "special agent";
lvl_name_6 = "predict the birds";
lvl_name_7 = "sniper vs sniper";
lvl_name_8 = "destroy the melons";
lvl_name_9 = "Fast response";
lvl_name_10 = "ultimate agent";
lvl_1 = 0;
lvl_2 = 0;
lvl_3 = 0;
lvl_4 = 0;
lvl_5 = 0;
lvl_6 = 0;
lvl_7 = 0;
lvl_8 = 0;
lvl_9 = 0;
lvl_10 = 0;
lvl_11 = 0;
lvl_12 = 0;
ac_1 = 0;
ac_2 = 0;
ac_3 = 0;
ac_4 = 0;
ac_5 = 0;
ac_6 = 0;
st_totalshots = 200;
st_headshots = 120;
st_heartshots = 20;
st_bodyshots = 60;
st_bulletshots = 250;
st_temps = 24512;
st_qual = 3;
volum = 100;
stop();
_root.user = SharedObject.getLocal("user_nomdujeu");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
star_collected = 0;
star = 0;
stop();
Instance of Symbol 126 MovieClip "bt_start" in Frame 20
onClipEvent (load) {
txx = "Start Game";
_visible = false;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.user.data.yourname == undefined) {
_parent.gotoAndStop(21);
} else {
_root.yourname = _root.user.data.yourname;
_parent.gotoAndStop(22);
}
}
}
Frame 21
yourname = "";
msg = 1;
stop();
onEnterFrame = function () {
yourname = String(yourname.toUpperCase());
};
Instance of Symbol 126 MovieClip in Frame 21
onClipEvent (load) {
txx = "Ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.yourname != "") {
_parent.gotoAndStop(40);
}
}
}
Instance of Symbol 572 MovieClip "diadd" in Frame 21
onClipEvent (load) {
_visible = true;
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Instance of Symbol 126 MovieClip in Frame 22
onClipEvent (load) {
txx = "Continue";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.msg = 1;
_root.from_loading = 2;
_parent.gotoAndStop(40);
}
}
Instance of Symbol 126 MovieClip in Frame 22
onClipEvent (load) {
txx = "New Game";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.msg = 1;
_root.from_loading = 1;
_parent.gotoAndStop(21);
}
}
Frame 40
stop();
onEnterFrame = function () {
mySound = new Sound();
mySound.setVolume(volum);
mySound.start(0, 1000);
if (st_qual == 1) {
_quality = "low";
}
if (st_qual == 2) {
_quality = "medium";
}
if (st_qual == 3) {
_quality = "high";
}
if (save_go == 2) {
save_go = 1;
_root.user.data.yourname = _root.yourname;
_root.user.data.star = _root.star;
_root.user.data.st_totalshots = _root.st_totalshots;
_root.user.data.st_headshots = _root.st_headshots;
_root.user.data.st_heartshots = _root.st_heartshots;
_root.user.data.st_bodyshots = _root.st_bodyshots;
_root.user.data.st_bulletshots = _root.st_bulletshots;
_root.user.data.st_temps = _root.st_temps;
_root.user.data.ac_1 = _root.ac_1;
_root.user.data.ac_2 = _root.ac_2;
_root.user.data.ac_3 = _root.ac_3;
_root.user.data.ac_4 = _root.ac_4;
_root.user.data.ac_5 = _root.ac_5;
_root.user.data.ac_6 = _root.ac_6;
_root.user.data.ac_7 = _root.ac_7;
_root.user.data.ac_8 = _root.ac_8;
_root.user.data.ac_9 = _root.ac_9;
_root.user.data.ac_10 = _root.ac_10;
_root.user.data.lvl_1 = _root.lvl_1;
_root.user.data.lvl_2 = _root.lvl_2;
_root.user.data.lvl_3 = _root.lvl_3;
_root.user.data.lvl_4 = _root.lvl_4;
_root.user.data.lvl_5 = _root.lvl_5;
_root.user.data.lvl_6 = _root.lvl_6;
_root.user.data.lvl_7 = _root.lvl_7;
_root.user.data.lvl_8 = _root.lvl_8;
_root.user.data.lvl_9 = _root.lvl_9;
_root.user.data.lvl_10 = _root.lvl_10;
_root.user.data.lvl_11 = _root.lvl_11;
_root.user.data.lvl_12 = _root.lvl_12;
}
if (load_go == 2) {
load_go = 1;
_root.star = 0;
_root.star_collected = _root.user.data.star;
_root.yourname = _root.user.data.yourname;
_root.st_totalshots = _root.user.data.st_totalshots;
_root.st_headshots = _root.user.data.st_headshots;
_root.st_heartshots = _root.user.data.st_heartshots;
_root.st_bodyshots = _root.user.data.st_bodyshots;
_root.st_bulletshots = _root.user.data.st_bulletshots;
_root.st_temps = _root.user.data.st_temps;
_root.ac_1 = _root.user.data.ac_1;
_root.ac_2 = _root.user.data.ac_2;
_root.ac_3 = _root.user.data.ac_3;
_root.ac_4 = _root.user.data.ac_4;
_root.ac_5 = _root.user.data.ac_5;
_root.ac_6 = _root.user.data.ac_6;
_root.ac_7 = _root.user.data.ac_7;
_root.ac_8 = _root.user.data.ac_8;
_root.ac_9 = _root.user.data.ac_9;
_root.ac_10 = _root.user.data.ac_10;
_root.lvl_1 = _root.user.data.lvl_1;
_root.lvl_2 = _root.user.data.lvl_2;
_root.lvl_3 = _root.user.data.lvl_3;
_root.lvl_4 = _root.user.data.lvl_4;
_root.lvl_5 = _root.user.data.lvl_5;
_root.lvl_6 = _root.user.data.lvl_6;
_root.lvl_7 = _root.user.data.lvl_7;
_root.lvl_8 = _root.user.data.lvl_8;
_root.lvl_9 = _root.user.data.lvl_9;
_root.lvl_10 = _root.user.data.lvl_10;
_root.lvl_11 = _root.user.data.lvl_11;
_root.lvl_12 = _root.user.data.lvl_12;
}
};
Instance of Symbol 689 MovieClip in Frame 40
onClipEvent (load) {
if (_root.from_loading == 2) {
snd.gotoAndStop(49);
boxx.gotoAndStop(5);
}
}
Instance of Symbol 785 MovieClip in Frame 42
onClipEvent (load) {
stopAllSounds();
gotoAndPlay((random(4) + 1) * 2);
_root.track_already_played = 2;
}
Frame 43
_root.msg = 2;
stopAllSounds();
gotoAndStop (40);
Instance of Symbol 126 MovieClip in Frame 43
onClipEvent (load) {
txx = "Retry";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(42);
}
}
Instance of Symbol 126 MovieClip in Frame 43
onClipEvent (load) {
txx = "CAREER MENU";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(40);
}
}
Instance of Symbol 126 MovieClip in Frame 43
onClipEvent (load) {
txx = "MORE GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Frame 51
if (lvl == 4) {
tuto = 1;
}
if (cleanshot == undefined) {
cleanshot = 0;
}
energy = 100;
fixe = 1;
zoomed = 2;
canshot = 2;
ammo = 30;
mag = 30;
cooling = 0;
snipe_view = 1;
speedcam = 0.2;
if (cheat_3 == 2) {
speedcam = 0.05;
}
targets = 0;
if (place == undefined) {
place = 1;
lvl = 1;
}
cnt.gotoAndStop(place);
cnt.boxx2.gotoAndStop(lvl);
var isMouseDown = false;
onMouseDown = function () {
isMouseDown = true;
};
onMouseUp = function () {
isMouseDown = false;
};
stop();
onEnterFrame = function () {
if (isMouseDown) {
if ((((canshot == 2) && (ammo != 0)) && (cooling == 0)) && (fixe != 2)) {
Mouse.hide();
miree.boxx.gotoAndPlay(2);
st_bulletshots = st_bulletshots + 1;
if (cheat_6 != 2) {
cooling = 4;
} else {
cooling = 1;
}
ammo = ammo - 1;
if (snipe_view == 1) {
wp.boxx.boxx.gotoAndPlay(2);
shake = random(7) + 7;
}
}
}
if ((lvl == 4) || (lvl == 6)) {
if (snipe_view == 1) {
cooling = 10000;
} else if (cooling == 10000) {
cooling = 1;
}
}
if (Key.isDown(87)) {
if (canshot == 2) {
if (wp.boxx.boxx._currentframe <= 90) {
wp.boxx.boxx.gotoAndPlay(91);
canshot = 1;
}
}
}
if (Key.isDown(83)) {
if (canshot == 2) {
if (wp.boxx.boxx._currentframe == 105) {
wp.boxx.boxx.gotoAndPlay(106);
canshot = 1;
}
}
}
if (cheat_5 == 2) {
ammo = mag;
}
if (_root.cam._currentframe == 1) {
diadd._visible = true;
} else {
diadd._visible = false;
}
if (wp.boxx.boxx._currentframe == 105) {
snipe_view = 2;
miree.gotoAndStop(2);
wp._visible = false;
if (cam._currentframe == 1) {
zoomed = 5.5;
}
} else {
snipe_view = 1;
miree.gotoAndStop(1);
wp._visible = true;
if (cam._currentframe == 1) {
zoomed = 2;
}
}
if (cam._currentframe != 1) {
wp._visible = false;
miree._visible = false;
} else {
miree._visible = true;
}
if (cam._currentframe == 1) {
interr._visible = true;
} else {
interr._visible = false;
}
miree._x = _xmouse;
miree._y = _ymouse;
if (Key.isDown(32)) {
if ((((key32_released == 2) && (canshot == 2)) && (cooling == 0)) && (ammo != mag)) {
key32_released = 1;
cooling = -1;
canshot = 1;
wp.boxx.boxx.gotoAndPlay(21);
}
} else {
key32_released = 2;
}
if (reload == 3) {
reload = 1;
ammo = mag;
}
if (cooling != 0) {
cooling = cooling - 1;
}
if (_root.fixe != 2) {
wp._x = 0;
wp._y = 0;
wp.gotoAndStop(Math.round((_xmouse * 100) / 800) + 1);
wp.boxx.gotoAndStop(Math.round((_ymouse * 100) / 440) + 1);
} else {
miree._visible = false;
wp.boxx.boxx.gotoAndStop(1);
wp._x = 0;
wp._y = wp._y + 4;
}
if (_root.cam_recalibre == 2) {
_root.cam_recalibre = 1;
cnt._xscale = 100 * zoomed;
cnt._yscale = 100 * zoomed;
cnt._x = Math.round(-(zoomed * _xmouse)) + _xmouse;
cnt._y = Math.round(-(zoomed * _ymouse)) + _ymouse;
sx = cnt._x;
sy = cnt._y;
}
if (fixe == 1) {
if (cam._currentframe == 1) {
cnt._xscale = 100 * zoomed;
cnt._yscale = 100 * zoomed;
sx = Math.round(-(zoomed * _xmouse)) + _xmouse;
sy = Math.round(-(zoomed * _ymouse)) + _ymouse;
speedcamx = (sx - cnt._x) * speedcam;
speedcamy = (sy - cnt._y) * speedcam;
if ((cnt._x < (sx - 0.5)) || (cnt._x > (sx + 0.5))) {
cnt._x = cnt._x + speedcamx;
}
if ((cnt._y < (sy - 0.5)) || (cnt._y > (sy + 0.5))) {
cnt._y = cnt._y + speedcamy;
}
} else {
cnt._xscale = 100 * zoomed;
cnt._yscale = 100 * zoomed;
cnt._x = (Math.round(-(zoomed * posix)) + posix) + posiplus_x;
cnt._y = (Math.round(-(zoomed * posiy)) + posiy) + posiplus_y;
}
} else {
cnt._xscale = 100;
cnt._yscale = 100;
cnt._x = 0;
cnt._y = 0;
}
if (shake != 0) {
shakeb = shake;
shake = 0;
shake_stade = 8;
}
if (shake_stade != 0) {
shake_stade = shake_stade - 1;
cnt._x = cnt._x + (random(shakeb * 2) - shakeb);
cnt._y = cnt._y + (random(shakeb * 2) - shakeb);
shakeb = shakeb * 0.95;
}
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (40);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndStop (43);
}
if (_root.got2go == 4) {
_root.got2go = 1;
gotoAndPlay (50);
}
if (_root.got2go == 5) {
_root.got2go = 1;
_root.msg = 0;
gotoAndStop (43);
}
};
Instance of Symbol 785 MovieClip in Frame 51
onClipEvent (load) {
if (_root.track_already_played == 2) {
_root.track_already_played = 1;
stop();
} else {
stopAllSounds();
gotoAndPlay((random(4) + 1) * 2 +50);
}
}
Instance of Symbol 572 MovieClip "diadd" in Frame 51
onClipEvent (load) {
boxx.gotoAndStop(_root.lavr);
boxx2.boxx.gotoAndStop(_root.lavr);
if (_root.lavr != 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
onClipEvent (enterFrame) {
boxx2.gotoAndStop(boxx.shade + 1);
}
Symbol 5 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 5 MovieClip Frame 3
_root.play();
Symbol 10 Button
on (keyPress "2") {
_parent.gotoAndPlay(50);
}
on (keyPress "3") {
_root.lvl = _root.lvl + 1;
}
on (keyPress "4") {
_root.place = _root.place + 1;
}
Symbol 13 Button
on (release) {
_parent.gotoAndPlay(4);
}
Symbol 14 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_parent._currentframe == 3) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
}
};
Symbol 14 MovieClip Frame 151
stop();
Symbol 1340 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local27);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local24 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local15 = _getRes(options);
var _local5 = _local15[0];
var _local14 = _local15[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local7._visible = false;
delete options.no_progress_bar;
} else {
_local7._x = 10;
_local7._y = _local14 - 20;
}
var _local23 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local25 = options.outline;
delete options.outline;
var _local6 = _local7.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local7.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local23);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local8 = _local7.createEmptyMovieClip("_outline", 3);
_local8.lineStyle(0, _local25, 100);
_local8.moveTo(0, 0);
_local8.lineTo(_local5 - 20, 0);
_local8.lineTo(_local5 - 20, 10);
_local8.lineTo(0, 10);
_local8.lineTo(0, 0);
chk.ad_msec = _local24;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local10 = this._parent._parent;
var _local3 = _local10;
while ((!_local3.getBytesTotal()) && (_local3)) {
_local3 = _local3._parent;
}
if (!_local3) {
_local3 = _root;
}
var _local13 = this._parent._mochiad_ctr;
var _local7 = getTimer() - this.started;
var _local5 = false;
var _local6 = _local3.getBytesTotal();
var _local9 = _local3.getBytesLoaded();
var _local4 = (100 * _local9) / _local6;
var _local12 = (100 * _local7) / chk.ad_msec;
var _local11 = this._mochiad_bar._inside;
var _local15 = Math.min(100, Math.min(_local4 || 0, _local12));
_local15 = Math.max(this.last_pcnt, _local15);
this.last_pcnt = _local15;
_local11._xscale = _local15;
options.ad_progress(_local15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local4}, clip._mochiad._containerLCName);
if (_local4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local8 = _local13.getBytesTotal();
if ((_local8 > 0) || (typeof(_local8) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local7 > chk.ad_timeout) && (_local4 == 100)) {
options.ad_failed();
_local5 = true;
}
}
if (_local7 > chk.ad_msec) {
_local5 = true;
}
if (((_local6 > 0) && (_local9 >= _local6)) && (_local5)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 1341 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1342 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.9.3 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "services" :
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "social" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://link.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static var CONNECTED = "onConnected";
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1343 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function getAchievements(properties) {
mochi.as2.MochiServices.send("events_getAchievements", properties);
}
static function unlockAchievement(properties) {
mochi.as2.MochiServices.send("events_unlockAchievement", properties);
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function showAwards(options) {
mochi.as2.MochiServices.send("events_showAwards", options, null, null);
}
static function setNotifications(style) {
mochi.as2.MochiServices.send("events_setNotifications", style, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENTS_OWNED = "AchievementOwned";
static var ACHIEVEMENT_NEW = "AchievementReceived";
static var GAME_ACHIEVEMENTS = "GameAchievements";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var IO_PENDING = "IOPending";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var FORMAT_NONE = "NoForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1344 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showVideo(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showVideo call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showVideo", {options:options}, null, null);
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function requestFunding(properties) {
mochi.as2.MochiServices.send("social_requestFunding", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1345 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("social_hideLoginWidget");
}
static function requestLogin(properties) {
mochi.as2.MochiServices.send("social_requestLogin", properties);
}
static function getFriendsList(properties) {
mochi.as2.MochiServices.send("social_getFriendsList", properties);
}
static function showProfile(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("social_showProfile", options);
}
static function postToStream(properties) {
mochi.as2.MochiServices.send("social_postToStream", properties);
}
static function inviteFriends(properties) {
mochi.as2.MochiServices.send("social_inviteFriends", properties);
}
static function requestFan(properties) {
mochi.as2.MochiServices.send("social_requestFan", properties);
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("social_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var FRIEND_LIST = "FriendsList";
static var PROFILE_DATA = "ProfileData";
static var GAMEPLAY_DATA = "GameplayData";
static var ACTION_CANCELED = "onCancel";
static var ACTION_COMPLETE = "onComplete";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 73 MovieClip Frame 67
stop();
Symbol 75 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 80 MovieClip Frame 9
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (1);
}
Symbol 80 MovieClip Frame 30
aa = random(2) + 1;
if (aa == 2) {
gotoAndPlay (11);
}
Instance of Symbol 80 MovieClip in Symbol 81 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
alphaa = 50;
alphaas = (random(3) + 1) / 2;
speed = random(12) + 3;
gotoAndPlay(random(30) + 1);
timing = random(50) + 1;
}
onClipEvent (enterFrame) {
if (timing > 0) {
timing = timing - 1;
}
if (timing == 0) {
timing = timing - 1;
_visible = true;
}
if (timing == -1) {
_x = (_x + (random(7) - 3));
_y = (_y - speed);
_alpha = Math.round(alphaa);
alphaa = alphaa - alphaas;
}
}
Symbol 94 MovieClip Frame 12
stop();
Symbol 95 MovieClip Frame 1
stopAllSounds();
Symbol 95 MovieClip Frame 236
_parent.play();
Instance of Symbol 105 MovieClip in Symbol 106 MovieClip Frame 1
onClipEvent (load) {
speed = 6;
_rotation = (random(360) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation - speed);
if (speed >= 0.25) {
speed = speed * 0.95;
}
}
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
_rotation = (random(360) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speed);
if (speed >= 0.25) {
speed = speed * 0.95;
}
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 20
_parent.bt_start._visible = true;
stop();
Symbol 114 MovieClip Frame 21
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 9
stop();
Symbol 125 Button
on (release) {
_root.touch = 2;
gotoAndPlay (21);
}
on (rollOver) {
act = 3;
gotoAndPlay (2);
}
on (rollOut) {
act = 4;
gotoAndStop (1);
}
Symbol 126 MovieClip Frame 1
boxx.gotoAndStop(1);
stop();
Symbol 126 MovieClip Frame 2
boxx.gotoAndPlay(2);
Symbol 126 MovieClip Frame 20
stop();
Symbol 126 MovieClip Frame 21
boxx.gotoAndStop(10);
Symbol 126 MovieClip Frame 41
act = 2;
if (reviens == 2) {
} else {
stop();
}
Symbol 133 MovieClip Frame 1
Mouse.hide();
_root.infoz = "";
stop();
onEnterFrame = function () {
if (_currentframe == 1) {
_x = _parent._xmouse;
_y = _parent._ymouse;
}
if (_root.touch == 2) {
_root.touch = 1;
_x = _parent._xmouse;
_y = _parent._ymouse;
gotoAndPlay (2);
}
};
Symbol 156 MovieClip Frame 1
gotoAndPlay (2);
Symbol 156 MovieClip Frame 178
stop();
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
sx = _x;
sy = _y;
shake = 13;
}
onClipEvent (enterFrame) {
_x = ((sx + random(shake)) - (shake / 2));
_y = ((sy + random(shake)) - (shake / 2));
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 100
stop();
Symbol 259 MovieClip Frame 1
onEnterFrame = function () {
};
Symbol 259 MovieClip Frame 2
boxx.gotoAndStop(random(26) + 1);
_rotation = (random(360) + 1);
_xscale = (random(40) + 80);
_yscale = (random(40) + 80);
_x = (_x + (random(40) + 30));
_alpha = (random(50) + 50);
onEnterFrame = function () {
if (_alpha > 0) {
_alpha = (_alpha - 1);
}
};
Symbol 271 MovieClip Frame 1
_rotation = (random(360) + 1);
speed = (random(80) + 1) / 30;
speedr = (random(40) + 1) / 30;
boxx._x = random(110) + 1;
boxx._rotation = random(360) + 1;
boxx.gotoAndStop(random(10) + 1);
boxx._xscale = random(75) + 50;
boxx._yscale = boxx._xscale + (random(100) - 50);
aa = random(2) + 1;
if (aa == 1) {
boxx._yscale = boxx._yscale * -1;
}
onEnterFrame = function () {
boxx._x = boxx._x + speed;
boxx._rotation = boxx._rotation + speedr;
};
Symbol 274 MovieClip Frame 1
stopAllSounds();
if (_parent._currentframe == 20) {
_parent.damenu.gotoAndStop(21);
gotoAndPlay (2);
_parent.finger._visible = false;
} else {
gotoAndPlay (290);
}
Symbol 274 MovieClip Frame 237
guy.b_2.gotoAndStop(2);
Symbol 274 MovieClip Frame 239
_parent.damenu.gotoAndPlay(2);
_parent.finger._visible = true;
Symbol 274 MovieClip Frame 291
stop();
Symbol 370 MovieClip Frame 25
Symbol 400 MovieClip Frame 40
Symbol 569 MovieClip Frame 1
lavr_link = "http://www.neodelight.com";
shade = 1;
Symbol 569 MovieClip Frame 2
lavr_link = "http://www.andkon.com";
shade = 2;
Symbol 569 MovieClip Frame 3
lavr_link = "http://www.anyad.rulez.org";
shade = 1;
Symbol 569 MovieClip Frame 4
lavr_link = "http://www.girldressupgames.biz";
shade = 1;
Symbol 569 MovieClip Frame 5
lavr_link = "http://www.bringler.com";
shade = 1;
Symbol 569 MovieClip Frame 6
lavr_link = "http://www.bubblebox.com";
shade = 1;
Symbol 569 MovieClip Frame 7
lavr_link = "http://www.bunnygames.com";
shade = 1;
Symbol 569 MovieClip Frame 8
lavr_link = "http://www.dailyfreegames.com";
shade = 1;
Symbol 569 MovieClip Frame 9
lavr_link = "http://www.directgamez.com";
shade = 2;
Symbol 569 MovieClip Frame 10
lavr_link = "http://www.2flashgames.com";
shade = 2;
Symbol 569 MovieClip Frame 11
lavr_link = "http://www.flashninjaclan.com";
shade = 1;
Symbol 569 MovieClip Frame 12
lavr_link = "http://www.dailyaddictinggames.com/";
shade = 1;
Symbol 569 MovieClip Frame 13
lavr_link = "http://www.funny-games.biz";
shade = 1;
Symbol 569 MovieClip Frame 14
lavr_link = "http://www.gameitnow.com";
shade = 2;
Symbol 569 MovieClip Frame 15
lavr_link = "http://www.games1.com";
shade = 0;
Symbol 569 MovieClip Frame 16
lavr_link = "http://www.onjogos.com.br";
shade = 1;
Symbol 569 MovieClip Frame 17
lavr_link = "http://www.gamesfreak.net";
shade = 2;
Symbol 569 MovieClip Frame 18
lavr_link = "http://www.stoneagegames.com";
shade = 1;
Symbol 569 MovieClip Frame 19
lavr_link = "http://www.jarkey.net";
shade = 2;
Symbol 569 MovieClip Frame 20
lavr_link = "http://www.gamesgames.com/";
shade = 1;
Symbol 569 MovieClip Frame 21
lavr_link = "http://www.keepbusy.net";
shade = 1;
Symbol 569 MovieClip Frame 22
lavr_link = "http://www.microjogos.com";
shade = 1;
Symbol 569 MovieClip Frame 23
lavr_link = "http://www.minijuegos.com";
shade = 2;
Symbol 569 MovieClip Frame 24
lavr_link = "http://www.oyunskor.com/";
shade = 1;
Symbol 569 MovieClip Frame 25
lavr_link = "http://www.mostfungames.com";
shade = 2;
Symbol 569 MovieClip Frame 26
lavr_link = "http://www.gameshot.org";
shade = 1;
Symbol 569 MovieClip Frame 27
lavr_link = "http://www.online-games-zone.com/";
shade = 2;
Symbol 569 MovieClip Frame 28
lavr_link = "http://www.puffgames.com";
shade = 2;
Symbol 569 MovieClip Frame 29
lavr_link = "http://www.spele.nl";
shade = 1;
Symbol 569 MovieClip Frame 30
lavr_link = "http://www.t45ol.com";
shade = 2;
Symbol 569 MovieClip Frame 31
lavr_link = "http://www.thegamesonline.com/";
shade = 1;
Symbol 569 MovieClip Frame 32
lavr_link = "http://www.ultimatearcade.com";
shade = 1;
Symbol 569 MovieClip Frame 33
lavr_link = "http://www.girlgames4u.com/";
shade = 1;
Symbol 569 MovieClip Frame 34
lavr_link = "http://www.gamesfree.ca/";
shade = 0;
Symbol 569 MovieClip Frame 35
lavr_link = "http://www.stickpage.com/";
shade = 1;
Symbol 569 MovieClip Frame 36
lavr_link = "http://www.gamespond.net/";
shade = 2;
Symbol 569 MovieClip Frame 37
lavr_link = "http://www.flashgames.it/";
shade = 1;
Symbol 569 MovieClip Frame 38
lavr_link = "http://www.gamesgirl.ca/";
shade = 1;
Symbol 569 MovieClip Frame 39
lavr_link = "http://www.hallpass.com/";
shade = 2;
Symbol 569 MovieClip Frame 40
lavr_link = "http://www.games501.com/";
shade = 1;
Symbol 569 MovieClip Frame 41
lavr_link = "http://www.benz.be";
shade = 2;
Symbol 569 MovieClip Frame 42
lavr_link = "http://www.net-games.co.il/";
shade = 1;
Symbol 569 MovieClip Frame 43
lavr_link = "http://www.bgames.com";
shade = 1;
Symbol 569 MovieClip Frame 44
lavr_link = "http://www.pinkyarcade.com/";
shade = 1;
Symbol 569 MovieClip Frame 45
lavr_link = "http://www.komikler.com/index.php";
shade = 2;
Symbol 569 MovieClip Frame 46
lavr_link = "http://www.twizl.com/";
shade = 1;
Symbol 569 MovieClip Frame 47
lavr_link = "http://www.a10.com/";
shade = 1;
Symbol 569 MovieClip Frame 48
lavr_link = "http://www.bonniegames.com/";
shade = 1;
Symbol 569 MovieClip Frame 49
lavr_link = "http://www.ug2.com/";
shade = 0;
Symbol 569 MovieClip Frame 50
lavr_link = "http://www.agame.com";
shade = 1;
Symbol 569 MovieClip Frame 51
lavr_link = "http://www.gamesclub.com/";
shade = 1;
Symbol 569 MovieClip Frame 52
lavr_link = "http://www.killhours.com/";
shade = 1;
Symbol 569 MovieClip Frame 53
lavr_link = "http://www.flasharcadegamessite.com/";
shade = 1;
Symbol 569 MovieClip Frame 54
lavr_link = "http://www.roundgames.com/";
shade = 2;
Symbol 569 MovieClip Frame 55
lavr_link = "http://www.arcadegangsta.com/";
shade = 1;
Symbol 569 MovieClip Frame 56
lavr_link = "http://www.gamebusted.com/";
shade = 0;
Symbol 569 MovieClip Frame 57
lavr_link = "http://www.flash-games.net/";
shade = 1;
Symbol 569 MovieClip Frame 58
lavr_link = "http://www.flash-game.net/";
shade = 1;
Symbol 569 MovieClip Frame 59
lavr_link = "http://www.kingofgames.net";
shade = 1;
Symbol 569 MovieClip Frame 60
lavr_link = "http://www.playhub.com/";
shade = 0;
Symbol 569 MovieClip Frame 61
lavr_link = "http://www.123spill.no/";
shade = 1;
Symbol 569 MovieClip Frame 62
lavr_link = "http://www.dailygames.com/";
shade = 1;
Symbol 569 MovieClip Frame 63
lavr_link = "http://www.octogames.com/";
shade = 2;
Symbol 569 MovieClip Frame 64
lavr_link = "http://www.ugotgames.com/";
shade = 1;
Symbol 569 MovieClip Frame 65
lavr_link = "http://www.fupa.com/";
shade = 1;
Symbol 569 MovieClip Frame 66
lavr_link = "http://www.kibagames.com/";
shade = 0;
Symbol 569 MovieClip Frame 67
lavr_link = "http://www.kraloyun.com/";
shade = 0;
Symbol 569 MovieClip Frame 68
lavr_link = "http://www.spielaffe.de/";
shade = 0;
Symbol 569 MovieClip Frame 69
lavr_link = "http://www.39games.com";
shade = 2;
Symbol 569 MovieClip Frame 70
lavr_link = "http://www.bijuegos.com";
shade = 0;
Symbol 569 MovieClip Frame 71
lavr_link = "http://www.mofunzone.com";
shade = 2;
Symbol 569 MovieClip Frame 72
lavr_link = "http://www.freegamespy.com/";
shade = 2;
Symbol 569 MovieClip Frame 73
lavr_link = "http://www.jogos10.com";
shade = 0;
Symbol 569 MovieClip Frame 74
lavr_link = "http://www.juegos10.com";
shade = 0;
Symbol 569 MovieClip Frame 75
lavr_link = "http://flash.178.com/";
shade = 0;
Symbol 569 MovieClip Frame 76
lavr_link = "http://www.papajogos.com.br";
shade = 0;
Symbol 569 MovieClip Frame 77
lavr_link = "http://www.arcadelots.com/";
shade = 0;
Symbol 569 MovieClip Frame 78
lavr_link = "http://www.minigamers.com/";
shade = 0;
Symbol 569 MovieClip Frame 79
lavr_link = "http://www.stickpage.com";
shade = 0;
Symbol 569 MovieClip Frame 80
lavr_link = "http://www.y8.com/";
shade = 1;
Symbol 569 MovieClip Frame 81
lavr_link = "http://www.y3.com/";
shade = 1;
Symbol 569 MovieClip Frame 83
lavr_link = "http://www.videobash.com/";
shade = 0;
Symbol 570 MovieClip Frame 1
stop();
Symbol 571 Button
on (release) {
getURL (boxx.lavr_link, "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (21);
}
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 20
stop();
Symbol 590 MovieClip Frame 1
gotoAndStop(_parent._parent.nb);
Symbol 591 MovieClip Frame 1
if (gorandom == undefined) {
gorandom = 2;
gotoAndPlay(random(223) + 2);
}
Symbol 594 Button
on (release) {
if (act3activated != 2) {
_root.touch = 2;
gotoAndPlay (31);
} else {
act = 3;
}
}
on (rollOver) {
_root.infoz = txx;
if (_currentframe == 10) {
gotoAndPlay (11);
}
}
on (rollOut) {
_root.infoz = "";
gotoAndPlay (21);
}
Symbol 595 MovieClip Frame 1
gotoAndPlay (2);
Symbol 595 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (timer != 0) {
timer = timer - 1;
} else if (_currentframe == 2) {
_parent._parent.gotoAndPlay(2);
gotoAndPlay (3);
}
};
Symbol 595 MovieClip Frame 10
stop();
Symbol 595 MovieClip Frame 11
_parent._parent.gotoAndPlay(5);
Symbol 595 MovieClip Frame 20
stop();
Symbol 595 MovieClip Frame 30
gotoAndStop (10);
Symbol 595 MovieClip Frame 47
act = 2;
stop();
Symbol 612 MovieClip Frame 1
aff = 0;
stop();
onEnterFrame = function () {
if (timer != 0) {
timer = timer - 1;
} else if (_currentframe == 1) {
gotoAndPlay (2);
}
};
Symbol 612 MovieClip Frame 20
onEnterFrame = function () {
if (aff < eval ("_parent.st_" + nb)) {
aff = aff + 1;
}
aff2 = aff + "%";
};
Symbol 612 MovieClip Frame 100
gotoAndPlay (20);
Symbol 618 MovieClip Frame 1
aff = 0;
stop();
onEnterFrame = function () {
if (timer != 0) {
timer = timer - 1;
} else if (_currentframe == 1) {
gotoAndPlay (2);
}
};
Symbol 618 MovieClip Frame 20
onEnterFrame = function () {
if (aff < eval ("_parent.st_" + nb)) {
aff = aff + 1;
}
aff2 = aff + "%";
};
Symbol 618 MovieClip Frame 100
gotoAndPlay (20);
Symbol 624 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_qual);
};
Symbol 627 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff = _root.volum + " %";
};
Symbol 637 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(eval ("_root.ac_" + nb));
boxx.gotoAndStop(nb);
};
Symbol 680 MovieClip Frame 143
if (_root.from_loading == 2) {
_root.from_loading = 1;
_root.load_go = 2;
gotoAndPlay (201);
} else {
_root.save_go = 2;
}
Symbol 680 MovieClip Frame 200
_parent.gotoAndStop(1);
Symbol 680 MovieClip Frame 257
_parent.gotoAndStop(1);
Symbol 685 MovieClip Frame 1
stop();
Symbol 685 MovieClip Frame 2
_parent._parent.gotoAndPlay(2);
Symbol 685 MovieClip Frame 3
stop();
Symbol 686 MovieClip Frame 1
_parent.snd.gotoAndPlay(1);
stop();
Instance of Symbol 595 MovieClip "btgo" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
timer = 66;
txx = "";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.star_collected != 0) {
_root.star = _root.star + _root.star_collected;
_root.star_collected = 0;
}
_parent._parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
timer = 50;
txx = "Stats";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
timer = 54;
txx = "Options";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
timer = 58;
txx = "Walkthrough";
act3activated = 2;
}
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/60/", "_blank");
}
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
timer = 62;
txx = "Save";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(5);
}
}
Instance of Symbol 126 MovieClip in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
txx = "Cheats";
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.btgo._currentframe == 10) {
_visible = true;
}
if (act == 2) {
act = 1;
_parent.gotoAndStop(6);
}
}
Symbol 686 MovieClip Frame 2
st_1 = Math.round((_root.st_headshots * 100) / _root.st_totalshots);
st_2 = Math.round((_root.st_heartshots * 100) / _root.st_totalshots);
st_3 = Math.round((_root.st_bodyshots * 100) / _root.st_totalshots);
aff_2 = _root.st_bulletshots;
aff_3 = Math.round((_root.st_totalshots * 100) / _root.st_bulletshots) + "%";
aff_4 = _root.st_headshots;
aff_5 = Math.round((_root.star * 100) / 30) + "%";
aff_1 = 0;
hours = 0;
minutes = 0;
seconds = _root.st_temps;
minutes = minutes + Math.round(seconds / 60);
seconds = seconds - (minutes * 60);
if (seconds < 0) {
seconds = 0;
}
onEnterFrame = function () {
if (seconds > 59) {
seconds = seconds - 60;
minutes = minutes + 1;
}
if (minutes > 59) {
minutes = minutes - 60;
hours = hours + 1;
}
if (seconds > 9) {
seconds2 = seconds;
} else {
seconds2 = "0" + seconds;
}
if (minutes > 9) {
minutes2 = minutes;
} else {
minutes2 = "0" + minutes;
}
if (hours > 9) {
hours2 = hours;
} else {
hours2 = "0" + hours;
}
aff_1 = (((hours2 + ":") + minutes2) + ":") + seconds2;
};
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 2
onClipEvent (load) {
nb = 7;
timer = 1;
txx = "Back";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 612 MovieClip in Symbol 686 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
timer = 20;
}
Instance of Symbol 618 MovieClip in Symbol 686 MovieClip Frame 2
onClipEvent (load) {
nb = 3;
timer = 0;
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 3
onClipEvent (load) {
nb = 7;
timer = 1;
txx = "";
act3activated = 2;
}
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
_root.st_qual = _root.st_qual - 1;
if (_root.st_qual == 0) {
_root.st_qual = 3;
}
}
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 3
onClipEvent (load) {
nb = 7;
timer = 3;
txx = "";
act3activated = 2;
}
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
_root.volum = _root.volum - 10;
if (_root.volum == -10) {
_root.volum = 100;
}
}
}
Instance of Symbol 637 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 637 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 637 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 637 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 637 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 5;
}
Instance of Symbol 637 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 4
onClipEvent (load) {
nb = 8;
timer = 50;
txx = "Walkthrough";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("", "_blank");
}
}
Symbol 686 MovieClip Frame 6
cheatbox = "";
_parent._parent.finger._visible = false;
stop();
onEnterFrame = function () {
if (_currentframe == 6) {
Mouse.show();
}
cheatbox = String(cheatbox.toUpperCase());
};
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 6
onClipEvent (load) {
nb = 7;
timer = 1;
txx = "Back";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
Mouse.hide();
_parent._parent._parent.finger._visible = true;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 595 MovieClip in Symbol 686 MovieClip Frame 6
onClipEvent (load) {
nb = 6;
timer = 1;
txx = "Ok";
act3activated = 2;
}
onClipEvent (enterFrame) {
if (act == 3) {
act = 1;
if (_parent.cheatbox == "POW") {
_parent.cheatbox = "FAST BULLET";
_parent.snd.gotoAndPlay(2);
_root.cheat_1 = 2;
}
if (_parent.cheatbox == "POOOW") {
_parent.cheatbox = "SLOW BULLET";
_parent.snd.gotoAndPlay(2);
_root.cheat_1 = 3;
}
if (_parent.cheatbox == "TIRED") {
_parent.cheatbox = "SLOW MOVEMENT";
_parent.snd.gotoAndPlay(2);
_root.cheat_3 = 2;
}
if (_parent.cheatbox == "LVL") {
_parent.cheatbox = "ALL LEVELS";
_parent.snd.gotoAndPlay(2);
_root.cheat_4 = 2;
}
if (_parent.cheatbox == "WAR") {
_parent.cheatbox = "NO RELOAD";
_parent.snd.gotoAndPlay(2);
_root.cheat_5 = 2;
}
if (_parent.cheatbox == "TRIG") {
_parent.cheatbox = "FIRING SPEED";
_parent.snd.gotoAndPlay(2);
_root.cheat_6 = 2;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 686 MovieClip Frame 6
onClipEvent (load) {
txx = "Cheats List";
reviens = 2;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/customPage/61/", "_blank");
}
}
Symbol 688 MovieClip Frame 49
stop();
Symbol 689 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 1
gotoAndStop(_root.msg + 1);
Symbol 701 MovieClip Frame 1
gotoAndPlay (2);
Symbol 701 MovieClip Frame 40
_root.msg = 0;
stop();
Symbol 705 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (nb > 30) {
_visible = false;
} else {
_visible = true;
}
};
Symbol 706 MovieClip Frame 1
stop();
onEnterFrame = function () {
s_1.nb = _root.star;
s_2.nb = _root.star + 1;
s_3.nb = _root.star + 2;
s_4.nb = _root.star + 3;
};
Symbol 707 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_currentframe == 1) {
if (_root.star_collected != 0) {
_root.star_collected = _root.star_collected - 1;
_root.star = _root.star + 1;
gotoAndPlay (2);
}
}
};
Symbol 707 MovieClip Frame 2
play();
Symbol 707 MovieClip Frame 3
play();
Symbol 707 MovieClip Frame 4
play();
Symbol 713 MovieClip Frame 1
gotoAndStop(_parent._parent.nb);
Symbol 728 MovieClip Frame 1
stop();
Symbol 729 Button
on (release) {
_root.touch = 2;
act = 2;
_root.lvl = nb;
_parent._parent.gotoAndStop(42);
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 734 MovieClip Frame 1
if ((_root.star < star) && (_root.cheat_4 != 2)) {
gotoAndStop (21);
}
txx = eval ("_root.lvl_name_" + nb);
starboxx.gotoAndStop(eval ("_root.lvl_" + nb) + 1);
stop();
Symbol 734 MovieClip Frame 10
stop();
Symbol 734 MovieClip Frame 20
gotoAndStop (1);
Symbol 734 MovieClip Frame 21
stop();
Symbol 736 MovieClip Frame 1
stop();
Instance of Symbol 126 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 719 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
star = 0;
if (_root.star >= star) {
gotoAndStop (2);
boxx.txx = "THE BACKYARD";
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (boxx.act == 2) {
boxx.act = 1;
_root.place = 1;
_parent.gotoAndStop(2);
}
}
Instance of Symbol 719 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
boxx2.gotoAndPlay(260);
star = 10;
if ((_root.star >= star) || (_root.cheat_4 == 2)) {
gotoAndStop (2);
boxx.txx = "THE STREET";
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (boxx.act == 2) {
boxx.act = 1;
_root.place = 2;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 126 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
star = 0;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
nb = 2;
star = 1;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
nb = 3;
star = 3;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
nb = 4;
star = 5;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
nb = 5;
star = 8;
}
Instance of Symbol 719 MovieClip in Symbol 736 MovieClip Frame 2
onClipEvent (load) {
nb = 1;
star = 0;
if (_root.star >= star) {
gotoAndStop (2);
boxx.txx = "THE BACKYARD";
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 3
onClipEvent (load) {
nb = 7;
star = 14;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 3
onClipEvent (load) {
nb = 8;
star = 18;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 3
onClipEvent (load) {
nb = 9;
star = 22;
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 3
onClipEvent (load) {
nb = 10;
star = 25;
}
Instance of Symbol 719 MovieClip in Symbol 736 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
star = 0;
if (_root.star >= star) {
gotoAndStop (2);
boxx.txx = "THE STREET";
} else {
gotoAndStop (1);
}
}
Instance of Symbol 734 MovieClip in Symbol 736 MovieClip Frame 3
onClipEvent (load) {
nb = 6;
star = 10;
}
Symbol 741 MovieClip Frame 251
stop();
Symbol 774 MovieClip Frame 1
gotoAndStop(_root.lvl);
Instance of Symbol 728 MovieClip "starboxx" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 728 MovieClip "starboxx" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 728 MovieClip "starboxx" in Symbol 774 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 774 MovieClip in Symbol 776 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.lvl);
}
Symbol 776 MovieClip Frame 250
stop();
Instance of Symbol 126 MovieClip in Symbol 776 MovieClip Frame 250
onClipEvent (load) {
txx = "Ok";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent._parent._parent.gotoAndPlay(50);
}
}
Symbol 779 MovieClip Frame 1
stop();
onEnterFrame = function () {
aff = eval ("_root.lvl_name_" + _root.lvl);
};
Symbol 780 MovieClip Frame 1
gotoAndPlay (2);
Symbol 780 MovieClip Frame 40
stop();
Symbol 785 MovieClip Frame 3
stop();
Symbol 785 MovieClip Frame 5
stop();
Symbol 785 MovieClip Frame 7
stop();
Symbol 785 MovieClip Frame 9
stop();
Symbol 844 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 4
_parent.play();
Symbol 878 MovieClip Frame 1
shot = 0;
die = 0;
go = 0;
stop();
onEnterFrame = function () {
if (go == 2) {
go = 1;
if (stand != 2) {
gotoAndPlay (27);
} else {
gotoAndPlay (3);
}
}
if (go == 3) {
go = 1;
play();
}
if (go == 4) {
go = 1;
if (_height > (_width * 2)) {
gotoAndPlay (196);
} else {
gotoAndPlay (98);
}
}
if (shot != 0) {
if (_root.snipe_view == 2) {
if (_height > (_width * 2)) {
gotoAndPlay(((random(3) + 1) * 100) + 301);
} else {
gotoAndPlay(((random(3) + 1) * 100) + 601);
}
b_2.gotoAndStop((random(3) + 1) + (shot * 10));
} else {
gotoAndPlay(((random(3) + 1) * 50) + 176);
}
shot = 0;
}
if (die == 2) {
die = 1;
_root.interr.timer.play();
if ((((((_root.lvl == 1) || (_root.lvl == 3)) || (_root.lvl == 5)) || (_root.lvl == 7)) || (_root.lvl == 9)) || (_root.lvl == 10)) {
_root.targets = _root.targets + 1;
}
_root.st_totalshots = _root.st_totalshots + 1;
_root.dead = _root.dead + 1;
trace("dead");
}
};
Instance of Symbol 795 MovieClip in Symbol 878 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 878 MovieClip Frame 2
stop();
Symbol 878 MovieClip Frame 26
if ((((_root.lvl == 1) || (_root.lvl == 5)) || (_root.lvl == 7)) || (_root.lvl == 10)) {
gotoAndStop (128);
}
if ((_root.lvl == 3) || (_root.lvl == 9)) {
gotoAndPlay (129);
}
Symbol 878 MovieClip Frame 52
if ((((_root.lvl == 1) || (_root.lvl == 5)) || (_root.lvl == 7)) || (_root.lvl == 10)) {
stop();
}
if ((_root.lvl == 3) || (_root.lvl == 9)) {
}
Instance of Symbol 813 MovieClip in Symbol 878 MovieClip Frame 52
/* no clip actions */
Symbol 878 MovieClip Frame 97
stop();
Instance of Symbol 813 MovieClip in Symbol 878 MovieClip Frame 97
onClipEvent (load) {
_parent.stop();
timer = random(50) + 50;
}
onClipEvent (enterFrame) {
if ((_root.lvl == 3) || (_root.lvl == 9)) {
if (_root.interr.good._currentframe == 1) {
if (timer != 0) {
timer = timer - 1;
} else if (_root.cam._currentframe == 1) {
_parent.play();
}
}
}
}
Symbol 878 MovieClip Frame 106
if ((((_root.lvl == 1) || (_root.lvl == 5)) || (_root.lvl == 7)) || (_root.lvl == 10)) {
_root.interr.blood.gotoAndPlay(2);
}
if (_root.lvl == 3) {
_root.energy = _root.energy - (random(6) + 3);
_root.shake = random(10) + 10;
}
Instance of Symbol 813 MovieClip in Symbol 878 MovieClip Frame 126
onClipEvent (load) {
_parent.stop();
timer = random(100) + 150;
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else if (_root.cam._currentframe == 1) {
_parent.play();
}
}
Symbol 878 MovieClip Frame 127
gotoAndPlay (75);
Symbol 878 MovieClip Frame 128
stop();
Instance of Symbol 813 MovieClip in Symbol 878 MovieClip Frame 128
/* no clip actions */
Symbol 878 MovieClip Frame 151
gotoAndStop (195);
Symbol 878 MovieClip Frame 175
gotoAndStop (128);
Symbol 878 MovieClip Frame 195
stop();
Instance of Symbol 813 MovieClip in Symbol 878 MovieClip Frame 195
onClipEvent (load) {
_parent.stop();
timer = random(50) + 50;
}
onClipEvent (enterFrame) {
if ((_root.lvl == 3) || (_root.lvl == 9)) {
if (_root.interr.good._currentframe == 1) {
if (timer != 0) {
timer = timer - 1;
} else if (_root.cam._currentframe == 1) {
_parent.play();
}
}
}
}
Symbol 878 MovieClip Frame 204
if ((((_root.lvl == 1) || (_root.lvl == 5)) || (_root.lvl == 7)) || (_root.lvl == 10)) {
_root.interr.blood.gotoAndPlay(2);
}
if ((_root.lvl == 3) || (_root.lvl == 9)) {
_root.energy = _root.energy - (random(6) + 3);
_root.shake = random(10) + 10;
}
Instance of Symbol 813 MovieClip in Symbol 878 MovieClip Frame 224
onClipEvent (load) {
_parent.stop();
timer = random(100) + 150;
}
onClipEvent (enterFrame) {
if (timer != 0) {
timer = timer - 1;
} else if (_root.cam._currentframe == 1) {
_parent.play();
}
}
Symbol 878 MovieClip Frame 225
gotoAndPlay (3);
Symbol 878 MovieClip Frame 275
die = 2;
stop();
Symbol 878 MovieClip Frame 325
die = 2;
stop();
Symbol 878 MovieClip Frame 375
die = 2;
stop();
Symbol 878 MovieClip Frame 500
gotoAndPlay (226);
Symbol 878 MovieClip Frame 600
gotoAndPlay (276);
Symbol 878 MovieClip Frame 700
_root.interr.timer.gotoAndStop(100);
gotoAndPlay (326);
Symbol 878 MovieClip Frame 800
_root.interr.timer.gotoAndStop(100);
gotoAndPlay (247);
Symbol 878 MovieClip Frame 900
_root.interr.timer.gotoAndStop(100);
gotoAndPlay (291);
Symbol 878 MovieClip Frame 1000
_root.interr.timer.gotoAndStop(100);
gotoAndPlay (339);
Symbol 885 MovieClip Frame 1
stop();
Symbol 888 MovieClip Frame 1
stop();
Symbol 892 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 1
stop();
Symbol 904 MovieClip Frame 1
stop();
Symbol 907 MovieClip Frame 1
stop();
Symbol 910 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 919 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 1
stop();
Symbol 925 MovieClip Frame 1
stop();
Symbol 928 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 1
stop();
Symbol 942 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 1
stop();
Symbol 956 MovieClip Frame 70
stop();
Symbol 988 MovieClip Frame 1
_x = (random(100) - 50);
_y = (random(100) - 50);
speedr = random(10) + 1;
speedy = (random(22) + 1) * -1;
speedx = random(20) - 10;
boxx.gotoAndStop(random(15) + 1);
boxx._xscale = random(50) + 50;
boxx._yscale = boxx._yscale;
_alpha = 100;
stop();
onEnterFrame = function () {
if (_alpha > 0) {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.93;
speedr = speedr * 0.97;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy < 1)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.1;
}
_alpha = (_alpha - 1);
}
};
Symbol 993 MovieClip Frame 1
gotoAndPlay((random(4) + 1) * 2);
Symbol 993 MovieClip Frame 3
stop();
Symbol 993 MovieClip Frame 5
stop();
Symbol 993 MovieClip Frame 7
stop();
Symbol 993 MovieClip Frame 9
stop();
Symbol 995 MovieClip Frame 1
_rotation = (_rotation + (random(90) - 45));
aa = random(2) + 1;
if (aa == 2) {
_xscale = (_xscale * -1);
}
stop();
Symbol 995 MovieClip Frame 2
_root.targets = _root.targets + 1;
stop();
Symbol 1024 MovieClip Frame 2
stop();
Symbol 1029 MovieClip Frame 1
if (aa == undefined) {
aa = random(54) + 1;
}
onEnterFrame = function () {
if (_root.cam._currentframe != 1) {
speed = 0.5;
} else {
speed = 1;
}
aa = aa + speed;
if (aa > 54) {
aa = 1;
}
gotoAndStop(Math.round(aa));
};
Symbol 1032 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.cam._currentframe);
};
Symbol 1035 MovieClip Frame 118
stop();
Symbol 1036 MovieClip Frame 100
_root.targets = _root.targets + 1;
Symbol 1036 MovieClip Frame 118
stop();
Symbol 1037 MovieClip Frame 2
stop();
Symbol 1037 MovieClip Frame 3
_parent.stop();
Symbol 1038 MovieClip Frame 1
if (aa == undefined) {
aa = random(600) + 1;
}
onEnterFrame = function () {
if (_root.cam._currentframe != 1) {
speed = 0.5;
} else {
speed = 3;
}
aa = aa + speed;
if (aa > 600) {
aa = 1;
}
gotoAndStop(Math.round(aa));
};
Instance of Symbol 878 MovieClip "e_8" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 8;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_9" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 9;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_10" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 10;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_2" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_1" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_3" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_4" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_5" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 5;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_6" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 6;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_7" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 7;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_11" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 11;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_12" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 12;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_13" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 13;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_14" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 14;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_15" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 15;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_16" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 16;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_17" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 17;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_18" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 18;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_19" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 19;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_20" in Symbol 1039 MovieClip Frame 1
onClipEvent (load) {
nb = 20;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_8" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 8;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_9" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 9;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_10" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 10;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_2" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 2;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_1" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 1;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_3" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 3;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_4" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 4;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_5" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 5;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_6" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 6;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_7" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 7;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_11" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 11;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_12" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 12;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_13" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 13;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_14" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 14;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_15" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 15;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_16" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 16;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_17" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 17;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_18" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 18;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_19" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 19;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_20" in Symbol 1039 MovieClip Frame 3
onClipEvent (load) {
nb = 20;
stand = 2;
}
Instance of Symbol 1038 MovieClip "cr_1" in Symbol 1039 MovieClip Frame 4
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1038 MovieClip "cr_2" in Symbol 1039 MovieClip Frame 4
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1038 MovieClip "cr_3" in Symbol 1039 MovieClip Frame 4
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1038 MovieClip "cr_4" in Symbol 1039 MovieClip Frame 4
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 878 MovieClip "e_1" in Symbol 1039 MovieClip Frame 5
onClipEvent (load) {
nb = 1;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_2" in Symbol 1039 MovieClip Frame 5
onClipEvent (load) {
nb = 2;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_3" in Symbol 1039 MovieClip Frame 5
onClipEvent (load) {
nb = 3;
stand = 1;
}
Symbol 1043 MovieClip Frame 1
_root.dead = 0;
_root.timer = 20;
enemies = 0;
stop();
Symbol 1043 MovieClip Frame 2
gotoAndPlay (299);
Symbol 1043 MovieClip Frame 3
posi = 1;
timer_add_st = 4;
timer_add = 0;
stop();
onEnterFrame = function () {
if (_currentframe == 3) {
if (_root.dead == enemies) {
trace("SPAWN : CONTINUE");
timer_add = 4;
gotoAndPlay (200);
}
}
if (posi == 1) {
if (_root.timer <= 5) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 3);
posi = 2;
}
}
if (posi == 2) {
if (_root.timer == 0) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 4);
posi = 3;
}
}
if (timer_add != 0) {
if (timer_add_st != 0) {
timer_add_st = timer_add_st - 1;
} else {
timer_add_st = 4;
timer_add = timer_add - 1;
_root.timer = _root.timer + 1;
_root.interr.timer.gotoAndPlay(100);
_root.interr.timer2.gotoAndPlay(3);
}
}
};
Symbol 1043 MovieClip Frame 299
aa = random(20) + 1;
trace("wich enemy : " + aa);
gotoAndPlay (300);
Symbol 1043 MovieClip Frame 300
if (eval (("_root.cnt.boxx2.e_" + aa) + "._currentframe") == 1) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 2);
trace("SPAWN");
enemies = enemies + 1;
gotoAndStop (3);
} else {
gotoAndPlay (299);
}
Symbol 1044 MovieClip Frame 1
_root.timer = 37;
stop();
Symbol 1044 MovieClip Frame 2
stop();
onEnterFrame = function () {
if ((_root.timer == 0) && (_root.targets != 20)) {
if (_root.interr.blood._currentframe < 201) {
_root.interr.blood.gotoAndPlay(201);
}
}
};
Symbol 1045 MovieClip Frame 1
_root.dead = 0;
_root.timer = 20;
enemies = 0;
stop();
Symbol 1045 MovieClip Frame 2
stop();
onEnterFrame = function () {
_root.interr.timer.gotoAndStop(100);
};
gotoAndPlay (10);
Symbol 1045 MovieClip Frame 299
aa = random(20) + 1;
trace("wich enemy : " + aa);
if (_root.cam._currentframe != 1) {
gotoAndPlay (100);
}
Symbol 1045 MovieClip Frame 300
if (eval (("_root.cnt.boxx2.e_" + aa) + "._currentframe") == 1) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 2);
trace("SPAWN");
enemies = enemies + 1;
if (enemies == _root.tot_target) {
trace("stop spawn");
gotoAndStop (301);
} else {
gotoAndPlay(8 * enemies);
}
} else {
gotoAndPlay (298);
}
Symbol 1045 MovieClip Frame 301
stop();
onEnterFrame = function () {
if (_root.tot_targets == _root.targets) {
_root.interr.timer.gotoAndStop(100);
if (_root.interr.good._currentframe == 1) {
_root.interr.good.gotoAndPlay(2);
}
}
};
Symbol 1046 MovieClip Frame 1
_root.dead = 0;
_root.timer = 60;
enemies = 0;
stop();
Symbol 1046 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.tot_targets == _root.targets) {
_root.interr.timer.gotoAndStop(100);
if (_root.interr.good._currentframe == 1) {
_root.interr.good.gotoAndPlay(2);
}
}
if ((_root.timer == 0) && (_root.targets != 4)) {
if (_root.interr.blood._currentframe < 201) {
_root.interr.blood.gotoAndPlay(201);
}
}
};
Symbol 1047 MovieClip Frame 1
_root.dead = 0;
_root.timer = 20;
enemies = 0;
stop();
Symbol 1047 MovieClip Frame 2
gotoAndPlay (200);
Symbol 1047 MovieClip Frame 3
posi = 1;
timer_add_st = 4;
timer_add = 0;
stop();
onEnterFrame = function () {
if (_currentframe == 3) {
if (_root.dead == enemies) {
trace("SPAWN : CONTINUE");
gotoAndPlay (200);
}
}
if (posi == 1) {
if (_root.timer <= 5) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 3);
posi = 2;
}
}
if (posi == 2) {
if (_root.timer == 0) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 4);
posi = 3;
}
}
if (timer_add != 0) {
if (timer_add_st != 0) {
timer_add_st = timer_add_st - 1;
} else {
timer_add_st = 4;
timer_add = timer_add - 1;
_root.timer = _root.timer + 1;
_root.interr.timer.gotoAndPlay(100);
_root.interr.timer2.gotoAndPlay(3);
}
}
};
Symbol 1047 MovieClip Frame 299
aa = random(3) + 1;
trace("wich enemy : " + aa);
gotoAndPlay (300);
Symbol 1047 MovieClip Frame 300
if (eval (("_root.cnt.boxx2.e_" + aa) + "._currentframe") == 1) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 2);
trace("SPAWN");
enemies = enemies + 1;
gotoAndStop (3);
} else {
gotoAndPlay (299);
}
Symbol 1048 MovieClip Frame 1
_root.dead = 0;
_root.timer = 70;
enemies = 0;
stop();
Symbol 1048 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.tot_targets == _root.targets) {
_root.interr.timer.gotoAndStop(100);
if (_root.interr.good._currentframe == 1) {
_root.interr.good.gotoAndPlay(2);
}
}
if ((_root.timer == 0) && (_root.targets != 6)) {
if (_root.interr.blood._currentframe < 201) {
_root.interr.blood.gotoAndPlay(201);
}
}
};
Symbol 1049 MovieClip Frame 1
_root.dead = 0;
_root.timer = 30;
enemies = 0;
stop();
Symbol 1049 MovieClip Frame 2
gotoAndPlay (200);
Symbol 1049 MovieClip Frame 3
posi = 1;
timer_add_st = 4;
timer_add = 0;
stop();
onEnterFrame = function () {
if (_currentframe == 3) {
if (_root.dead == enemies) {
trace("SPAWN : CONTINUE");
timer_add = 4;
gotoAndPlay (200);
}
}
if (posi == 1) {
if (_root.timer <= 5) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 3);
posi = 2;
}
}
if (posi == 2) {
if (_root.timer == 0) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 4);
posi = 3;
}
}
if (timer_add != 0) {
if (timer_add_st != 0) {
timer_add_st = timer_add_st - 1;
} else {
timer_add_st = 4;
timer_add = timer_add - 1;
_root.timer = _root.timer + 1;
_root.interr.timer.gotoAndPlay(100);
_root.interr.timer2.gotoAndPlay(3);
}
}
};
Symbol 1049 MovieClip Frame 299
aa = random(20) + 1;
trace("wich enemy : " + aa);
gotoAndPlay (300);
Symbol 1049 MovieClip Frame 300
if (eval (("_root.cnt.boxx2.e_" + aa) + "._currentframe") == 1) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 2);
trace("SPAWN");
enemies = enemies + 1;
gotoAndStop (3);
} else {
gotoAndPlay (299);
}
Symbol 1050 MovieClip Frame 1
_root.timer = 42;
stop();
Symbol 1050 MovieClip Frame 2
stop();
onEnterFrame = function () {
if ((_root.timer == 0) && (_root.targets != 20)) {
if (_root.interr.blood._currentframe < 201) {
_root.interr.blood.gotoAndPlay(201);
}
}
};
Symbol 1051 MovieClip Frame 1
_root.dead = 0;
_root.timer = 20;
enemies = 0;
stop();
Symbol 1051 MovieClip Frame 2
stop();
onEnterFrame = function () {
_root.interr.timer.gotoAndStop(100);
};
gotoAndPlay (10);
Symbol 1051 MovieClip Frame 299
aa = random(20) + 1;
trace("wich enemy : " + aa);
if (_root.cam._currentframe != 1) {
gotoAndPlay (100);
}
Symbol 1051 MovieClip Frame 300
if (eval (("_root.cnt.boxx2.e_" + aa) + "._currentframe") == 1) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 2);
trace("SPAWN");
enemies = enemies + 1;
if (enemies == _root.tot_target) {
trace("stop spawn");
gotoAndStop (301);
} else {
gotoAndPlay(8 * enemies);
}
} else {
gotoAndPlay (298);
}
Symbol 1051 MovieClip Frame 301
stop();
onEnterFrame = function () {
if (_root.tot_targets == _root.targets) {
_root.interr.timer.gotoAndStop(100);
if (_root.interr.good._currentframe == 1) {
_root.interr.good.gotoAndPlay(2);
}
}
};
Symbol 1052 MovieClip Frame 1
_root.dead = 0;
_root.timer = 20;
enemies = 0;
stop();
Symbol 1052 MovieClip Frame 2
gotoAndPlay (200);
Symbol 1052 MovieClip Frame 3
posi = 1;
timer_add_st = 4;
timer_add = 0;
stop();
onEnterFrame = function () {
if (_currentframe == 3) {
if (_root.dead == enemies) {
trace("SPAWN : CONTINUE");
gotoAndPlay (200);
}
}
if (posi == 1) {
if (_root.timer <= 5) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 3);
posi = 2;
}
}
if (posi == 2) {
if (_root.timer == 0) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 4);
posi = 3;
}
}
if (timer_add != 0) {
if (timer_add_st != 0) {
timer_add_st = timer_add_st - 1;
} else {
timer_add_st = 4;
timer_add = timer_add - 1;
_root.timer = _root.timer + 1;
_root.interr.timer.gotoAndPlay(100);
_root.interr.timer2.gotoAndPlay(3);
}
}
};
Symbol 1052 MovieClip Frame 299
aa = random(2) + 1;
trace("wich enemy : " + aa);
gotoAndPlay (300);
Symbol 1052 MovieClip Frame 300
if (eval (("_root.cnt.boxx2.e_" + aa) + "._currentframe") == 1) {
Set(("_root.cnt.boxx2.e_" + aa) + ".go", 2);
trace("SPAWN");
enemies = enemies + 1;
gotoAndStop (3);
} else {
gotoAndPlay (299);
}
Symbol 1053 MovieClip Frame 1
gotoAndStop(_root.lvl + 1);
Instance of Symbol 1038 MovieClip "cr_1" in Symbol 1077 MovieClip Frame 6
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 1038 MovieClip "cr_2" in Symbol 1077 MovieClip Frame 6
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 1038 MovieClip "cr_3" in Symbol 1077 MovieClip Frame 6
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 1038 MovieClip "cr_4" in Symbol 1077 MovieClip Frame 6
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 1038 MovieClip "cr_6" in Symbol 1077 MovieClip Frame 6
onClipEvent (load) {
nb = 6;
}
Instance of Symbol 1038 MovieClip "cr_7" in Symbol 1077 MovieClip Frame 6
onClipEvent (load) {
nb = 7;
}
Instance of Symbol 878 MovieClip "e_18" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 18;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_19" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 19;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_20" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 20;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_14" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 14;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_15" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 15;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_16" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 16;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_17" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 17;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_13" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 13;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_11" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 11;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_12" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 12;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_10" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 10;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_4" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 4;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_5" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 5;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_6" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 6;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_7" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 7;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_8" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 8;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_9" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 9;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_1" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 1;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_2" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 2;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_3" in Symbol 1077 MovieClip Frame 7
onClipEvent (load) {
nb = 3;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_18" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 18;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_19" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 19;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_20" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 20;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_14" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 14;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_15" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 15;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_16" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 16;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_17" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 17;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_13" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 13;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_11" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 11;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_12" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 12;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_10" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 10;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_4" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 4;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_5" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 5;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_6" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 6;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_7" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 7;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_8" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 8;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_9" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 9;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_1" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 1;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_2" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 2;
stand = 2;
}
Instance of Symbol 878 MovieClip "e_3" in Symbol 1077 MovieClip Frame 9
onClipEvent (load) {
nb = 3;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_1" in Symbol 1077 MovieClip Frame 10
onClipEvent (load) {
nb = 1;
stand = 1;
}
Instance of Symbol 878 MovieClip "e_2" in Symbol 1077 MovieClip Frame 10
onClipEvent (load) {
nb = 2;
stand = 1;
}
Instance of Symbol 1041 MovieClip "anglee" in Symbol 1078 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.cam._currentframe == 1) {
myRadians = Math.atan2(_root.cnt._ymouse - this._y, _root.cnt._xmouse - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.cnt._ymouse - this._y);
_root.xChange = Math.round(_root.cnt._xmouse - this._x);
_rotation = (myDegrees + 90);
}
}
Symbol 1082 MovieClip Frame 1
stop();
Instance of Symbol 1081 MovieClip in Symbol 1082 MovieClip Frame 2
onClipEvent (load) {
_x = (random(16) - 8);
_y = (random(16) - 8);
}
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.cnt.boxx2["e_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.boxx2["e_" + nb]._currentframe <= 225) {
_root.cnt.boxx2["e_" + nb].shot = 2;
eval ("_root.cnt.boxx2.bl_" + _root.cnt.boxx2["e_" + nb].nb).gotoAndStop(2);
}
}
if (_root.cnt.boxx2["ml_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["ml_" + nb].gotoAndStop(2);
}
nb++;
}
i++;
}
}
Symbol 1094 MovieClip Frame 1
stop();
Symbol 1094 MovieClip Frame 2
boxx.boxx._rotation = random(360);
boxx.boxx._x = random(200) - 100;
boxx.boxx._y = random(200) - 100;
boxx2.boxx.boxx1._rotation = random(360);
boxx2.boxx.boxx2._rotation = random(360);
Instance of Symbol 1081 MovieClip in Symbol 1094 MovieClip Frame 2
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.cnt.boxx2["e_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.boxx2["e_" + nb].die == 0) {
_root.cible_go = _root.cnt.boxx2["e_" + nb].nb;
_root.cam.gotoAndStop(2);
}
}
if (_root.cnt.boxx2["ml_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["ml_" + nb].gotoAndStop(2);
}
if (_root.cnt.boxx2["cr_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cible_go = _root.cnt.boxx2["cr_" + nb].nb;
_root.cam.gotoAndStop(2);
}
nb++;
}
i++;
}
}
Symbol 1094 MovieClip Frame 3
_root.shake = random(50) + 50;
Symbol 1101 MovieClip Frame 4
_parent.play();
Symbol 1219 MovieClip Frame 1
_root.cam_recalibre = 2;
stop();
Symbol 1219 MovieClip Frame 2
boxx.boxx._rotation = random(360);
boxx.boxx._x = random(200) - 100;
boxx.boxx._y = random(200) - 100;
boxx2.boxx.boxx1._rotation = random(360);
boxx2.boxx.boxx2._rotation = random(360);
Symbol 1219 MovieClip Frame 20
gotoAndStop (1);
Symbol 1219 MovieClip Frame 60
_root.reload = 3;
Symbol 1219 MovieClip Frame 90
_root.cooling = 0;
_root.canshot = 2;
gotoAndStop (1);
Symbol 1219 MovieClip Frame 105
_root.cooling = 0;
_root.canshot = 2;
_root.cam_recalibre = 2;
_root.snipe_view = 2;
stop();
Symbol 1219 MovieClip Frame 106
_root.cam_recalibre = 2;
Symbol 1219 MovieClip Frame 114
_root.cooling = 0;
_root.canshot = 2;
gotoAndStop (1);
Symbol 1227 MovieClip Frame 1
if (_root.lvl == 1) {
_root.tot_target = 6;
_parent.boxx.gotoAndStop(1);
}
if (_root.lvl == 2) {
_root.tot_target = 20;
_parent.boxx.gotoAndStop(2);
}
if (_root.lvl == 3) {
_root.tot_target = 18;
_parent.boxx.gotoAndStop(1);
}
if (_root.lvl == 4) {
_root.tot_target = 4;
_parent.boxx.gotoAndStop(3);
}
if (_root.lvl == 5) {
_root.tot_target = 1;
_parent.boxx.gotoAndStop(1);
}
if (_root.lvl == 6) {
_root.tot_target = 6;
_parent.boxx.gotoAndStop(1);
}
if (_root.lvl == 7) {
_root.tot_target = 9;
_parent.boxx.gotoAndStop(1);
}
if (_root.lvl == 8) {
_root.tot_target = 20;
_parent.boxx.gotoAndStop(2);
}
if (_root.lvl == 9) {
_root.tot_target = 20;
_parent.boxx.gotoAndStop(1);
}
if (_root.lvl == 10) {
_root.tot_target = 1;
_parent.boxx.gotoAndStop(1);
}
stop();
onEnterFrame = function () {
if (_root.lvl <= 10) {
aff = (_root.targets + "/") + _root.tot_target;
} else {
aff = _root.targets;
}
};
Symbol 1236 MovieClip Frame 40
stop();
Symbol 1242 Button
on (keyPress "q") {
_root.got2go = 5;
}
on (keyPress "Q") {
_root.got2go = 5;
}
on (keyPress "R") {
_root.got2go = 4;
}
on (keyPress "r") {
_root.got2go = 4;
}
Symbol 1243 MovieClip Frame 200
stop();
Symbol 1244 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.ammo + 1);
};
Symbol 1254 MovieClip Frame 1
if (_root.tuto != 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1254 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.snipe_view == 2) {
gotoAndStop (3);
}
};
Symbol 1254 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (_root.snipe_view == 1) {
gotoAndPlay (4);
}
};
Symbol 1254 MovieClip Frame 4
play();
onEnterFrame = function () {
};
Symbol 1254 MovieClip Frame 50
_root.tuto = 2;
gotoAndStop (1);
Symbol 1260 MovieClip Frame 1
if ((_root.lvl == 3) || (_root.lvl == 9)) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1266 MovieClip Frame 1
if ((_root.lvl == 3) || (_root.lvl == 9)) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1268 MovieClip Frame 1
stop();
Symbol 1268 MovieClip Frame 20
gotoAndStop (2);
Symbol 1275 MovieClip Frame 1
gotoAndPlay(_parent.countdown * 2);
Symbol 1275 MovieClip Frame 3
stop();
Symbol 1275 MovieClip Frame 5
stop();
Symbol 1275 MovieClip Frame 7
stop();
Symbol 1277 MovieClip Frame 1
if (countdown == undefined) {
countdown = 3;
}
Symbol 1277 MovieClip Frame 2
_root.cooling = 10000;
Symbol 1277 MovieClip Frame 50
countdown = countdown - 1;
if (countdown != 0) {
gotoAndPlay (1);
}
Symbol 1277 MovieClip Frame 51
_root.cooling = 1;
Symbol 1277 MovieClip Frame 53
_parent.timer2.gotoAndStop(2);
_parent.targets._visible = true;
Symbol 1277 MovieClip Frame 61
_root.cnt.lvlcnt.boxx.gotoAndPlay(2);
gotoAndPlay (111);
Symbol 1277 MovieClip Frame 150
if (_root.timer != 0) {
if (_root.cam._currentframe == 1) {
_root.timer = _root.timer - 1;
gotoAndPlay (101);
}
gotoAndPlay (101);
} else {
stop();
}
Symbol 1281 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_root.lvl == 4) || (_root.lvl == 6)) {
if (_root.snipe_view == 1) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
};
Symbol 1283 MovieClip Frame 50
_root.st_temps = _root.st_temps + 1;
Symbol 1295 MovieClip Frame 1
stop();
Symbol 1295 MovieClip Frame 2
_root.fixe = 2;
Symbol 1295 MovieClip Frame 200
_root.got2go = 3;
stop();
Symbol 1295 MovieClip Frame 201
_root.fixe = 2;
Symbol 1295 MovieClip Frame 366
_root.got2go = 3;
stop();
Symbol 1297 MovieClip Frame 50
_root.fixe = 2;
_parent._parent.blood.gotoAndPlay(70);
stop();
Symbol 1298 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_root.energy < 0) {
_root.energy = 0;
}
if (_root.energy == 0) {
_root.cam.gotoAndStop(1);
}
gotoAndStop(_root.energy + 2);
};
Symbol 1301 MovieClip Frame 2
if (_root.lvl == 1) {
star = 1;
if (_root.timer >= 6) {
star = 2;
}
if (_root.timer >= 10) {
star = 3;
}
}
if (_root.lvl == 2) {
star = 1;
if (_root.timer >= 3) {
star = 2;
}
if (_root.timer >= 6) {
star = 3;
}
}
if (_root.lvl == 3) {
star = 1;
if (_root.energy >= 35) {
star = 2;
}
if (_root.energy >= 70) {
star = 3;
}
}
if (_root.lvl == 4) {
star = 1;
if (_root.timer >= 15) {
star = 2;
}
if (_root.timer >= 30) {
star = 3;
}
}
if (_root.lvl == 5) {
star = 1;
if (_root.timer >= 6) {
star = 2;
}
if (_root.timer >= 13) {
star = 3;
}
}
if (_root.lvl == 6) {
star = 1;
if (_root.timer >= 15) {
star = 2;
}
if (_root.timer >= 30) {
star = 3;
}
}
if (_root.lvl == 7) {
star = 1;
if (_root.timer >= 10) {
star = 2;
}
if (_root.timer >= 16) {
star = 3;
}
}
if (_root.lvl == 8) {
star = 1;
if (_root.timer >= 4) {
star = 2;
}
if (_root.timer >= 8) {
star = 3;
}
}
if (_root.lvl == 9) {
star = 1;
if (_root.energy >= 70) {
star = 2;
}
if (_root.energy >= 84) {
star = 3;
}
}
if (_root.lvl == 10) {
star = 1;
if (_root.timer >= 6) {
star = 2;
}
if (_root.timer >= 15) {
star = 3;
}
}
Symbol 1301 MovieClip Frame 50
if (_parent.star < star) {
_parent.star = _parent.star + 1;
} else {
gotoAndStop (71);
}
Symbol 1301 MovieClip Frame 70
gotoAndPlay (50);
Symbol 1301 MovieClip Frame 71
aa = 60;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
_parent.play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 1302 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.targets == _root.tot_target) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
_root.fixe = 2;
_root.interr.timer.gotoAndStop(100);
}
};
Symbol 1302 MovieClip Frame 116
star = 0;
stop();
onEnterFrame = function () {
starboxx.gotoAndStop(star + 1);
};
Symbol 1302 MovieClip Frame 126
_root.star_collected = star - eval ("_root.lvl_" + _root.lvl);
if (_root.star_collected < 0) {
_root.star_collected = 0;
}
if (star > eval ("_root.lvl_" + _root.lvl)) {
Set("_root.lvl_" + _root.lvl, star);
}
_root.msg = 2 + star;
_root.got2go = 2;
stop();
Instance of Symbol 1228 MovieClip "targets" in Symbol 1303 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1308 MovieClip Frame 1
stop();
Symbol 1308 MovieClip Frame 7
stop();
Instance of Symbol 1331 MovieClip "boxx" in Symbol 1332 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
_y = (_y + speedx);
} else {
_alpha = (random(50) + 50);
_x = (random(50) * -1);
_y = random(50);
_xscale = (random(50) + 50);
_yscale = (random(50) + _xscale);
speedx = random(10) + 10;
speedy = (random(10) / 10) + 1;
}
}
Symbol 1334 MovieClip Frame 1
gotoAndStop(_parent.headshot);
Symbol 1336 MovieClip Frame 40
stop();
Symbol 1336 MovieClip Frame 44
headshot = 1;
Instance of Symbol 1081 MovieClip in Symbol 1336 MovieClip Frame 44
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 31) {
if (_root.cnt.boxx2["e_" + nb].b_2.hitt1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 1;
_parent.headshot = 2;
_root.st_headshots = _root.st_headshots + 1;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["e_" + nb].b_2.hitt2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 2;
_parent.headshot = 2;
_root.st_headshots = _root.st_headshots + 1;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["e_" + nb].b_2.hitt3.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 3;
_parent.headshot = 2;
_root.st_headshots = _root.st_headshots + 1;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["e_" + nb].b_2.hitt4.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 4;
_parent.headshot = 2;
_root.st_headshots = _root.st_headshots + 1;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["e_" + nb].b_2.hitt5.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 5;
_parent.headshot = 2;
_root.st_headshots = _root.st_headshots + 1;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["e_" + nb].b_2.hitt6.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 6;
_root.st_bodyshots = _root.st_bodyshots + 1;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["e_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["e_" + nb].shot = 8;
_parent.gotoAndStop(47);
}
if (_root.cnt.boxx2["cr_" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.boxx2["cr_" + nb].boxx.gotoAndStop(3);
_parent.gotoAndStop(47);
}
nb++;
}
i++;
}
}
Symbol 1336 MovieClip Frame 46
gotoAndPlay (48);
Symbol 1336 MovieClip Frame 47
_root.shake = 30;
eval ("_root.cnt.boxx2.bl_" + _root.cible_go).gotoAndStop(2);
stop();
Symbol 1336 MovieClip Frame 52
stop();
Instance of Symbol 1336 MovieClip "boxx" in Symbol 1337 MovieClip Frame 1
/* no clip actions */
Symbol 1338 MovieClip Frame 1
_parent.bullets.boxx.gotoAndPlay(41);
Symbol 1338 MovieClip Frame 50
if (_parent.bullets.boxx._currentframe != 47) {
_parent.gotoAndStop(4);
}
Symbol 1338 MovieClip Frame 100
_parent.gotoAndStop(4);
Symbol 1339 MovieClip Frame 1
_root.cnt.ciel.play();
if (from_cam == 2) {
from_cam = 1;
_root.canshot = 2;
_root.wp.boxx.boxx.gotoAndStop(1);
}
stop();
onEnterFrame = function () {
_root.posiplus_x = 0;
_root.posiplus_y = 0;
};
Symbol 1339 MovieClip Frame 2
_root.cnt.ciel.stop();
_root.posix = _root._xmouse;
_root.posiy = _root._ymouse;
_root.zoomed = 1.2;
_root.canshot = 1;
speed = 1.06;
if (_root.cheat_1 == 2) {
speed = 1.09;
}
if (_root.cheat_1 == 3) {
speed = 1.01;
}
if ((_root.lvl == 4) || (_root.lvl == 6)) {
grosseur = eval (("_root.cnt.boxx2.cr_" + _root.cible_go) + "._xscale") * 20;
} else {
grosseur = eval (("_root.cnt.boxx2.e_" + _root.cible_go) + "._xscale") * 20;
}
xscale_limit = 2000 * (100 / grosseur);
ax = _root.miree._x;
ay = _root.miree._y;
if (ax <= 400) {
ax = 400 - ax;
} else {
ax = ax - 400;
ax = ax * -1;
}
if (ay <= 220) {
ay = 220 - ay;
} else {
ay = ay - 220;
ay = ay * -1;
}
stop();
onEnterFrame = function () {
_root.shake = 6;
if (_root.cnt._xscale < xscale_limit) {
_root.zoomed = _root.zoomed * speed;
_root.posiplus_x = (_root.cnt._xscale * ax) / xscale_limit;
_root.posiplus_y = (_root.cnt._xscale * ay) / xscale_limit;
} else {
from_cam = 2;
Set(("_root.cnt.boxx2.e_" + _root.cible_go) + ".been_attacked", 2);
gotoAndStop (3);
}
};
Instance of Symbol 1337 MovieClip "bullets" in Symbol 1339 MovieClip Frame 2
onClipEvent (load) {
_rotation = _root.cnt.anglee._rotation;
}
Symbol 1339 MovieClip Frame 3
stop();
onEnterFrame = function () {
};
Symbol 1339 MovieClip Frame 4
fondu.gotoAndPlay(2);
stop();
onEnterFrame = function () {
if (_root.cnt._xscale > 200) {
_root.zoomed = _root.zoomed * 0.8;
_root.posiplus_x = (_root.cnt._xscale * ax) / xscale_limit;
_root.posiplus_y = (_root.cnt._xscale * ay) / xscale_limit;
} else {
fondu.play();
_root.wp.boxx.boxx.gotoAndStop(1);
gotoAndStop (1);
}
};
Symbol 1339 MovieClip Frame 301
_root.act = 4;
_root.cnt.gotoAndStop(3);
_root.weapon._visible = false;
if (_root.zoomed < 2) {
_root.zoomed = 4;
}
_root.zoomed = _root.zoomed + 0.2;
onEnterFrame = function () {
_root.posiplus_x = boxx._x;
_root.posiplus_y = boxx._y;
_root.posiplus_r = boxx._rotation;
};
Symbol 1339 MovieClip Frame 390
_root.got2go = 2;
stop();