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:"466603afdcfcd2c6", res:"800x600"});
__com_mochibot__("c902722e", this, 10301, true);
function menuChoiceOne() {
getURL ("http://www.spoofgames.com/page/46/", "_blank");
}
st_speed = 1;
st_grip = 1;
st_steering = 1;
st_protect = 1;
st_shock = 1;
cash = 0;
vers = 1;
dimension_width = 800;
dimension_height = 600;
gameId = 6;
st_volum = 80;
st_qual = 2;
ac_1 = 1;
ac_2 = 1;
ac_3 = 1;
ac_4 = 1;
ac_5 = 1;
ac_6 = 1;
ac_7 = 1;
ac_txx_1 = "First fail";
ac_txx_2 = "Bring the cake";
ac_txx_3 = "Bring the beer";
ac_txx_4 = "Do a clean run";
ac_txx_5 = "3 fail in a row";
ac_txx_6 = "Perfect score";
ac_txx_7 = "Overall Perfect score";
ac_coins_1 = 10;
ac_coins_2 = 10;
ac_coins_3 = 10;
ac_coins_4 = 10;
ac_coins_5 = 10;
ac_coins_6 = 10;
ac_coins_7 = 10;
stop();
_root.user = SharedObject.getLocal("user_NewsBoy");
onEnterFrame = function () {
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Official Page", menuChoiceOne));
this.menu = NewMenu;
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
if (_root.user.data.st_grip == undefined) {
_root.cantload = 2;
}
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (40);
}
if (_root.got2go == 3) {
_root.got2go = 1;
_root.st_grip = _root.user.data.st_grip;
_root.st_speed = _root.user.data.st_speed;
_root.st_protect = _root.user.data.st_protect;
_root.st_shock = _root.user.data.st_shock;
_root.st_steering = _root.user.data.st_steering;
_root.cash = _root.user.data.cash;
gotoAndStop (51);
}
};
Frame 40
stop();
Frame 50
_root.user.data.st_grip = _root.st_grip;
_root.user.data.st_speed = _root.st_speed;
_root.user.data.st_steering = _root.st_steering;
_root.user.data.st_protect = _root.st_protect;
_root.user.data.st_shock = _root.st_shock;
_root.user.data.cash = _root.cash;
_root.user.data.user.flush();
stop();
timer = 10;
onEnterFrame = function () {
if (timer > 0) {
timer = timer - 1;
} else {
gotoAndStop (51);
}
};
Frame 51
life_tot = 3;
life = life_tot;
trow_speed = 30;
top_speed = 12;
speed = 1;
speed_throw = 4;
if (st_speed == 1) {
acc = 0.028;
}
if (st_speed == 2) {
acc = 0.056;
}
if (st_speed == 3) {
acc = 0.12;
}
speed_cam = 0.2;
posi = 400;
posi2 = 400;
if (st_steering == 1) {
turn_speed = 15;
} else {
turn_speed = 30;
}
turn_speed_smooth = 0.2;
canmove = 2;
on_trotoir = 1;
trotoir_height = 0;
control_cooling = 0;
profondeur = 1;
shake = 0;
crash = 0;
crash_timer = 0;
cooling = 20;
cooling_st = 0;
canshot = 2;
paper_nb = 1;
shock = st_shock;
pts = 0;
km = 3900;
if (_root.menu_first == 2) {
_root.menu_first = 1;
km = 0;
}
boost = 1;
glue_slide = 0;
_quality = "medium";
var isMouseDown = false;
onMouseDown = function () {
isMouseDown = true;
};
onMouseUp = function () {
isMouseDown = false;
};
stop();
onEnterFrame = function () {
if (_root.cheat_1 == 2) {
st_speed = 3;
st_grip = 3;
st_steering = 2;
st_protect = 2;
st_shock = 2;
}
if (_root.cheat_5 == 2) {
cnt._xscale = -100;
}
if (_root.cheat_4 == 2) {
cnt.house_1._xscale = 50;
cnt.house_1._yscale = 50;
cnt.house_2._xscale = 50;
cnt.house_2._yscale = 50;
}
if (_root.cheat_6 == 2) {
top_speed = 7;
}
km = km - (speed / 6);
if (km <= 0) {
if (_root.muz._currentframe < 6) {
stopAllSounds();
_root.muz.gotoAndPlay(6);
_root.snd.scream.gotoAndPlay((random(14) + 1) * 2);
}
canmove = 1;
canshot = 1;
control_cooling = 10000;
interr.menuu.gotoAndStop(3);
cnt.ob_1.aa = 100;
cnt.ob_1.gotoAndStop(1);
cnt.ob_2.aa = 100;
cnt.ob_2.gotoAndStop(1);
cnt.ob_3.aa = 100;
cnt.ob_3.gotoAndStop(1);
cnt.ob_4.aa = 100;
cnt.ob_4.gotoAndStop(1);
_root.roue_side = 1;
}
if (Key.isDown(32)) {
trace(posi);
}
if (_root.st_qual == 1) {
_quality = "low";
}
if (_root.st_qual == 2) {
_quality = "medium";
}
if (_root.st_qual == 3) {
_quality = "high";
}
mySound = new Sound();
mySound.setVolume(_root.st_volum);
mySound.start(0, 1000);
if (isMouseDown) {
if (((canshot == 2) && (cooling_st == 0)) && (speed >= speed_throw)) {
cooling_st = cooling;
eval ("cnt.p_" + paper_nb).gotoAndStop(1);
eval ("cnt.p_" + paper_nb).gotoAndStop(2);
eval ("cnt.m_" + paper_nb).gotoAndStop(cnt.miree._currentframe);
eval ("cnt.m_" + paper_nb).boxx.gotoAndPlay(2);
Set(("cnt.m_" + paper_nb) + "._x", cnt.miree._x);
Set(("cnt.m_" + paper_nb) + "._y", cnt.miree._y);
Set(("cnt.m_" + paper_nb) + "._visible", true);
cnt.boy.corp.gotoAndPlay(7);
cnt.miree.boxx.gotoAndPlay(22);
snd.lance.gotoAndPlay((random(4) + 1) * 2);
snd.sfx.gotoAndPlay((random(3) + 13) * 2);
paper_nb = paper_nb + 1;
if (paper_nb == 11) {
paper_nb = 1;
}
}
}
if (boost > 1) {
boost = boost * 0.95;
}
if (boost < 1) {
boost = 1;
}
if (cooling_st > 0) {
cooling_st = cooling_st - 1;
}
if (cooling_st < 0) {
cooling_st = 0;
}
if (crash == 0) {
if (speed < top_speed) {
speed = speed + acc;
}
}
if (control_cooling != 0) {
canmove = 1;
control_cooling = control_cooling - 1;
} else if (canmove == 1) {
canmove = 2;
}
if (canmove == 2) {
_root.roue_side = 1;
if (Key.isDown(37)) {
_root.roue_side = 2;
posi2 = posi2 - ((turn_speed * speed) / top_speed);
}
if (Key.isDown(39)) {
_root.roue_side = 3;
posi2 = posi2 + ((turn_speed * speed) / top_speed);
}
if (Key.isDown(37) && (Key.isDown(39))) {
_root.roue_side = 1;
}
}
if (posi2 < 60) {
posi2 = 60;
}
if (posi2 > 844) {
posi2 = 844;
}
turn_speed_smooth2 = (posi2 - posi) * turn_speed_smooth;
if ((posi < (posi2 - 0.5)) || (posi > (posi2 + 0.5))) {
posi = posi + turn_speed_smooth2;
}
posi = posi + glue_slide;
if (on_trotoir == 2) {
if (trotoir_height < 20) {
trotoir_height = trotoir_height + 5;
}
} else if (trotoir_height > 0) {
trotoir_height = trotoir_height - 5;
}
cnt.boy._x = (((posi - 100) * 430) / 800) + 370;
cnt.boy._y = ((((posi - 100) * 160) / 800) + 540) - trotoir_height;
if (_root.cheat_5 != 2) {
cnt._x = ((100 - ((posi * 100) / 700)) - 100) + (random(shake) - (shake / 2));
} else {
cnt._x = ((1000 - ((posi * 100) / 700)) - 100) + (random(shake) - (shake / 2));
}
cnt._y = ((100 - ((posi * 100) / 700)) - 100) + (random(shake) - (shake / 2));
if (crash != 0) {
canmove = 1;
control_cooling = 1000;
speed = speed * 0.92;
crash = crash - 1;
if (crash == 1) {
crash = 0;
speed = 2;
trace("yeahhh");
canmove = 2;
control_cooling = 10;
}
}
if (life <= 0) {
speed = 0;
canmove = 1;
control_cooling = 100000 /* 0x0186A0 */;
canshot = 1;
}
if (shake > 0) {
shake = shake - 1;
} else {
shake = 0;
}
if (got2go == 2) {
got2go = 1;
gotoAndStop (50);
}
};
Symbol 6 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.percent_1 = _root.PercentLoaded;
_root.percent_2 = _root.PercentLoaded + "%";
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 6 MovieClip Frame 2
gotoAndPlay (1);
Symbol 6 MovieClip Frame 3
_root.play();
Symbol 13 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.percent_1 + 1);
};
Symbol 19 MovieClip Frame 1
if (aa1 == undefined) {
aa1 = 1;
aa2 = 2;
}
onEnterFrame = function () {
boxx1.gotoAndStop(aa1);
boxx2.gotoAndStop(aa2);
};
Symbol 19 MovieClip Frame 20
aa2 = aa2 + 1;
if (aa2 == 5) {
aa2 = 1;
}
Symbol 19 MovieClip Frame 40
aa1 = aa1 + 1;
if (aa1 == 5) {
aa1 = 1;
}
gotoAndPlay (1);
Symbol 19 MovieClip Frame 50
aa2 = aa2 + 1;
if (aa2 == 5) {
aa2 = 1;
}
Symbol 19 MovieClip Frame 60
aa1 = aa1 + 1;
if (aa1 == 5) {
aa1 = 1;
}
gotoAndPlay (41);
Symbol 1047 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 1048 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 1049 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.4 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) {
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
}
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) {
onError("NotConnected");
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("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(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("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("NotConnected");
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError("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 1050 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 1051 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 1052 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 30 Button
on (release) {
_parent.gotoAndPlay(4);
}
Symbol 31 MovieClip Frame 150
stop();
Symbol 37 MovieClip Frame 300
stop();
Symbol 49 Button
on (release) {
getURL ("http://www.spoofgames.com/", "_blank");
}
on (keyPress "<Space>") {
_parent.play();
}
Symbol 72 MovieClip Frame 1
aa = random(40) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 92 MovieClip Frame 50
stop();
Symbol 126 MovieClip Frame 1
gotoAndStop(_parent.fire);
Instance of Symbol 120 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.fire);
}
Symbol 131 MovieClip Frame 20
stop();
Symbol 132 MovieClip Frame 8
stop();
Symbol 140 MovieClip Frame 30
stop();
Symbol 141 MovieClip Frame 14
fire = 5;
Symbol 141 MovieClip Frame 19
fire = fire - 1;
if (fire != 0) {
gotoAndPlay (15);
}
Symbol 141 MovieClip Frame 155
stop();
Symbol 142 MovieClip Frame 28
stop();
Symbol 143 MovieClip Frame 1
gotoAndStop(random(2) + 2);
Symbol 155 MovieClip Frame 1
_x = ((_root.dimension_width / 2) - 25);
_y = ((_root.dimension_height / 2) + 120);
_parent.stop();
stopAllSounds();
gotoAndStop (2);
Symbol 155 MovieClip Frame 2
if (_root.sg_notice_disclaimer == undefined) {
aa = 250;
_root.sg_notice_disclaimer = 2;
} else {
aa = 0;
}
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 155 MovieClip Frame 3
if (_root.dimension_width < 600) {
_xscale = 75;
_yscale = _xscale;
_x = ((_root.dimension_width / 2) - ((25 * _xscale) / 100));
_y = ((_root.dimension_height / 2) + ((120 * _xscale) / 100));
}
Symbol 155 MovieClip Frame 260
_parent.play();
stop();
Symbol 185 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 189 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
boxx.gotoAndStop(nb);
_rotation = (_rotation + (random(20) - 10));
}
stop();
Symbol 189 MovieClip Frame 10
stop();
Symbol 189 MovieClip Frame 20
gotoAndStop (1);
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.action = 1;
_parent._parent.play();
}
}
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
if (_root.cantload == 2) {
_root.cantload = 1;
gotoAndStop (21);
}
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.menu_first = 2;
_parent._parent.action = 2;
_parent._parent.play();
}
}
Instance of Symbol 189 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.spoofgames.com/", "_blank");
}
}
Symbol 192 MovieClip Frame 1
gotoAndPlay (2);
Symbol 192 MovieClip Frame 299
_parent.gotoAndStop(21);
Symbol 192 MovieClip Frame 342
stop();
Symbol 192 MovieClip Frame 362
if (action == 1) {
_root.got2go = 2;
}
if (action == 2) {
_root.got2go = 3;
}
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
play();
Symbol 197 MovieClip Frame 20
stop();
Symbol 197 MovieClip Frame 21
play();
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 50
stop();
Symbol 205 Button
on (release) {
getURL (eval ("link_" + boxx._currentframe), "_blank");
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 207 MovieClip Frame 1
link_1 = "http://www.spoofgames.com/";
link_2 = "http://www.y8.com/";
boxx.gotoAndStop(_root.vers);
anim.maskk.gotoAndStop(_root.vers);
stop();
onEnterFrame = function () {
if (_currentframe == 1) {
anim.gotoAndStop(1);
if (degradee._currentframe == 20) {
degradee.gotoAndPlay(21);
}
} else {
if (anim._currentframe == 1) {
anim.gotoAndPlay(2);
}
if (degradee._currentframe == 1) {
degradee.gotoAndPlay(2);
}
}
};
Symbol 207 MovieClip Frame 23
stop();
Symbol 209 Button
on (release) {
getURL ("http://www.spoofgames.com/", "_blank");
}
on (rollOver) {
gotoAndPlay (2);
Mouse.show();
}
Symbol 214 Button
on (release) {
getURL ("http://www.spoofgames.com/", "_blank");
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 219 MovieClip Frame 1
_x = 5;
_y = (_root.dimension_height - 5);
if (_root.vers == 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 219 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 15
stop();
Symbol 219 MovieClip Frame 26
gotoAndStop (2);
Symbol 222 MovieClip Frame 1
stopAllSounds();
Symbol 222 MovieClip Frame 3
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 31
if (_parent.realring == 2) {
gotoAndStop (1);
} else {
stop();
}
Symbol 245 Button
on (release) {
gotoAndStop (2);
}
Symbol 252 Button
on (release) {
gotoAndStop (3);
}
Symbol 259 Button
on (release) {
_parent.gotoAndPlay(50);
}
Symbol 260 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
if (loaded == undefined) {
aa = 1;
loaded = 2;
boxx.boxx1.gotoAndStop(random(10) + 1);
boxx.boxx2.gotoAndStop(random(10) + 1);
}
stop();
onEnterFrame = function () {
aa = aa + (_root.speed * _root.boost);
if (aa > 2000) {
aa = aa - 2000;
boxx.boxx2.gotoAndStop(boxx.boxx1._currentframe);
boxx.boxx1.gotoAndStop(random(10) + 1);
}
gotoAndStop(Math.round(aa));
};
Symbol 284 MovieClip Frame 1
if (loaded == undefined) {
aa = 1;
loaded = 2;
boxx.boxx1.gotoAndStop(random(20) + 1);
boxx.boxx2.gotoAndStop(random(20) + 1);
boxx.boxx3.gotoAndStop(random(20) + 1);
boxx.boxx4.gotoAndStop(random(20) + 1);
}
stop();
onEnterFrame = function () {
aa = aa + (_root.speed * _root.boost);
if (aa > 500) {
aa = aa - 500;
boxx.boxx4.gotoAndStop(boxx.boxx3._currentframe);
boxx.boxx3.gotoAndStop(boxx.boxx2._currentframe);
boxx.boxx2.gotoAndStop(boxx.boxx1._currentframe);
boxx.boxx1.gotoAndStop(random(20) + 1);
}
gotoAndStop(Math.round(aa));
};
Symbol 300 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
_x = (_x + (random(400) - 200));
_y = (_y + random(200));
_rotation = (random(360) + 1);
speedx = random(80);
speedy = random(25);
speedr = random(20) - 10;
aa = random(7) + 1;
if (((aa == 1) || (aa == 2)) || (aa == 3)) {
boxx.gotoAndStop(1);
boxx.boxx.gotoAndStop(random(11) + 1);
}
if (((aa == 4) || (aa == 5)) || (aa == 6)) {
boxx.gotoAndStop(2);
boxx.boxx.gotoAndStop(random(7) + 1);
}
if (aa == 7) {
boxx.gotoAndStop(3);
boxx.boxx.gotoAndStop(random(62) + 1);
}
stop();
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
_rotation = (_rotation + speedr);
speedx = speedx * 0.92;
speedy = speedy * 0.92;
speedr = speedr * 0.92;
};
Symbol 374 MovieClip Frame 1
_visible = false;
stop();
Symbol 374 MovieClip Frame 2
_visible = true;
stop();
Symbol 379 MovieClip Frame 1
_parent._parent._parent.nbofwindows = _parent._parent._parent.nbofwindows + 1;
stop();
Symbol 379 MovieClip Frame 2
_parent._parent._parent.nbofwindows_blowed = _parent._parent._parent.nbofwindows_blowed + 1;
Symbol 382 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 1
_rotation = (random(360) + 1);
_xscale = (random(50) + 75);
_yscale = (random(50) + 75);
Symbol 396 MovieClip Frame 25
stop();
Instance of Symbol 393 MovieClip in Symbol 397 MovieClip Frame 1
onClipEvent (load) {
_rotation = (random(360) + 1);
}
Symbol 399 MovieClip Frame 1
_visible = false;
stop();
Symbol 399 MovieClip Frame 2
_parent.boxx.w_1._visible = false;
_parent.boxx.w_2._visible = false;
_parent.boxx.w_3._visible = false;
_parent.boxx.w_4._visible = false;
_parent.boxx.w_5._visible = false;
_parent.boxx.w_6._visible = false;
_parent.dudes.boxx.boxx.gotoAndStop(3);
_parent.dudes.boxx.hitt._y = _parent.dudes.boxx.hitt._y + 1000;
_visible = true;
_root.pts = _root.pts + 500;
_root.shake = 50;
_root.snd.boom.gotoAndPlay((random(6) + 1) * 2);
_parent.debris.gotoAndStop(2);
Symbol 399 MovieClip Frame 5
_parent.boxx.maskk.gotoAndStop(2);
Symbol 399 MovieClip Frame 52
stop();
Symbol 405 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 1
if (_root.cheat_3 == 2) {
aa = 1;
} else {
aa = random(5) + 1;
}
if (aa == 1) {
gotoAndStop(random(12) + 1);
_parent.gotoAndStop(random(100) + 1);
} else {
_parent.gotoAndStop(1);
gotoAndStop (13);
}
Symbol 441 MovieClip Frame 1
speedx = 0;
speedy = 0;
onEnterFrame = function () {
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.5;
speedy = speedy * 0.5;
};
Instance of Symbol 401 MovieClip in Symbol 441 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 1
stop();
Instance of Symbol 399 MovieClip "boom" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
principal_boom = 2;
}
Symbol 501 MovieClip Frame 1
_visible = false;
stop();
onEnterFrame = function () {
typee = random(7) + 1;
if (_root.last_house_typpe != typee) {
_root.last_house_typpe = typee;
gotoAndStop (2);
}
};
Symbol 501 MovieClip Frame 2
_visible = true;
nbofwindows = 0;
nbofwindows_blowed = 0;
boxx.gotoAndStop(typee);
if (loaded == undefined) {
loaded = 2;
} else {
_x = 1230;
_y = -80;
}
boost = 0;
stop();
onEnterFrame = function () {
speedy = (_root.speed * 0.24) - boost;
speedx = speedy * 2.3662;
_x = (_x - (speedx * _root.boost));
_y = (_y + (speedy * _root.boost));
if (_x < -1150) {
gotoAndStop (1);
}
if (nbofwindows == nbofwindows_blowed) {
if (boxx.boom._currentframe == 1) {
_root.interr.pts1000.gotoAndStop(1);
_root.interr.pts1000.gotoAndStop(2);
boxx.boom.gotoAndPlay(2);
}
}
};
Symbol 508 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 1
stop();
Symbol 524 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 1
onEnterFrame = function () {
aa = aa + _root.speed;
if (aa > 400) {
aa = aa - 400;
}
aa = Math.round(aa);
gotoAndStop(aa);
};
Symbol 529 MovieClip Frame 1
if (_parent._parent._parent._parent.im_da_boy != 2) {
_visible = false;
}
Instance of Symbol 528 MovieClip in Symbol 529 MovieClip Frame 1
onClipEvent (load) {
aa = 100;
}
Instance of Symbol 528 MovieClip in Symbol 529 MovieClip Frame 1
onClipEvent (load) {
aa = 200;
}
Instance of Symbol 528 MovieClip in Symbol 529 MovieClip Frame 1
onClipEvent (load) {
aa = 300;
}
Instance of Symbol 528 MovieClip in Symbol 529 MovieClip Frame 1
onClipEvent (load) {
aa = 400;
}
Symbol 533 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_grip);
};
Symbol 537 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.roue_side);
};
Symbol 542 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.roue_side);
};
Symbol 550 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.roue_side);
};
Symbol 551 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_steering);
};
Symbol 554 MovieClip Frame 1
gotoAndStop(_root.st_shock);
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_shock);
};
Symbol 557 MovieClip Frame 1
gotoAndStop(_root.st_shock);
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_shock);
};
Symbol 560 MovieClip Frame 1
gotoAndStop(_root.st_shock);
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_shock);
};
Symbol 561 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.roue_side);
};
Symbol 565 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.st_protect == 1) {
_visible = false;
}
gotoAndStop(_root.roue_side);
};
Symbol 570 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.st_speed);
};
Symbol 583 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_currentframe <= 6) {
gotoAndStop(_root.roue_side * _root.st_steering);
}
};
Symbol 588 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.st_grip == 1) {
_root.glue_slide = boxx._x;
}
if (_root.st_grip == 2) {
_root.glue_slide = boxx._x * 0.5;
}
if (_root.st_grip == 3) {
_root.glue_slide = boxx._x * 0;
}
};
Symbol 588 MovieClip Frame 2
play();
Symbol 599 MovieClip Frame 105
_root.interr.menuu.gotoAndStop(2);
stopAllSounds();
_root.muz.gotoAndPlay(8);
stop();
Symbol 600 MovieClip Frame 1
if (posi == undefined) {
posi = 1;
this.swapDepths(1);
}
onEnterFrame = function () {
if (_root.canmove == 2) {
posi = posi + (_root.speed * 0.5);
if (posi > 100) {
posi = posi - 100;
}
gotoAndStop(Math.round(posi));
}
if ((_root.canmove == 1) && (_root.km <= 0)) {
posi = posi + 5;
if (posi > 100) {
posi = posi - 100;
}
gotoAndStop(Math.round(posi));
}
};
Instance of Symbol 389 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.cnt.ob_1.swapDepths(2);
_root.cnt.ob_2.swapDepths(4);
_root.cnt.ob_3.swapDepths(6);
_root.cnt.ob_4.swapDepths(8);
trace(" 1 : " + _root.cnt.ob_1.getDepth());
trace(" 2 : " + _root.cnt.ob_2.getDepth());
trace(" 3 : " + _root.cnt.ob_3.getDepth());
trace(" 4 : " + _root.cnt.ob_4.getDepth());
if (_root.cnt.ob_1.back == 2) {
_root.cnt.boy.swapDepths(1);
}
if ((_root.cnt.ob_1.back == 1) && (_root.cnt.ob_2.back == 2)) {
_root.cnt.boy.swapDepths(3);
}
if ((_root.cnt.ob_2.back == 1) && (_root.cnt.ob_3.back == 2)) {
_root.cnt.boy.swapDepths(5);
}
if ((_root.cnt.ob_3.back == 1) && (_root.cnt.ob_4.back == 2)) {
_root.cnt.boy.swapDepths(7);
}
if (_root.cnt.ob_4.back == 1) {
_root.cnt.boy.swapDepths(9);
}
this.hitpts = new Array({x:0, y:0});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 21) {
if (_root.cnt["ob_" + nb].boxx.hitt_sides.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["ob_" + nb].getDepth() < _parent.getDepth()) {
_root.cnt["ob_" + nb].hited = 2;
trace("OB : " + _root.cnt["ob_" + nb].nb);
trace("OB fr : " + _root.cnt["ob_" + nb]._currentframe);
trace("OB fr boxx : " + _root.cnt["ob_" + nb].boxx._currentframe);
_root.snd.crash.gotoAndPlay((random(2) + 2) * 2);
}
}
if (_root.cnt["ob_" + nb].boxx.hitt_slide1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["ob_" + nb].boxx.boxx._currentframe == 1) {
_root.cnt["ob_" + nb].boxx.boxx.gotoAndStop(2);
aa = random(2) + 1;
if (aa == 1) {
_root.posi2 = _root.posi2 - (300 - (_root.st_grip * 100));
} else {
_root.posi2 = _root.posi2 + (300 - (_root.st_grip * 100));
}
_root.snd.hit.gotoAndPlay(8);
_root.shake = 4;
}
}
if (_root.cnt["ob_" + nb].boxx.hitt_slide2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt["ob_" + nb].boxx.boxx._currentframe == 1) {
_root.cnt["ob_" + nb].boxx.boxx.gotoAndStop(2);
_root.snd.hit.gotoAndPlay(8);
_root.cnt.boy.glue_slide.gotoAndPlay(2);
_root.shake = 5 - _root.st_grip;
_root.boost = 4 - _root.st_grip;
}
}
if (_root.cnt.trotoir.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.on_trotoir == 1) {
if (_root.cnt.trotoir.boxx["boxx" + nb].hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.cnt.trotoir.boxx["boxx" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.on_trotoir = 2;
_root.shake = 10;
} else if (_root.shock == 2) {
_root.on_trotoir = 2;
_root.shake = 10;
_root.snd.crash.gotoAndPlay(2);
} else {
_root.snd.hit.gotoAndPlay(8);
_root.shake = 5;
_root.posi2 = _root.posi2 + 100;
}
}
}
} else if (_root.on_trotoir == 2) {
_root.on_trotoir = 1;
_root.shake = 10;
_root.snd.crash.gotoAndPlay(2);
}
nb++;
}
if (_root.cnt.ob_1.boxx.hitt_depth_back.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.ob_1.back = 2;
} else {
_root.cnt.ob_1.back = 1;
}
if (_root.cnt.ob_2.boxx.hitt_depth_back.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.ob_2.back = 2;
} else {
_root.cnt.ob_2.back = 1;
}
if (_root.cnt.ob_3.boxx.hitt_depth_back.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.ob_3.back = 2;
} else {
_root.cnt.ob_3.back = 1;
}
if (_root.cnt.ob_4.boxx.hitt_depth_back.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.ob_4.back = 2;
} else {
_root.cnt.ob_4.back = 1;
}
i++;
}
}
Instance of Symbol 389 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:42, y:-42}, {x:42, y:0}, {x:42, y:42});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 21) {
if (_root.cnt["ob_" + nb].boxx.hitt_sides.hitTest(hitpts[i].x, hitpts[i].y, true)) {
trace("2");
_root.posi2 = _root.posi2 - 100;
_root.control_cooling = 20;
trace("left hit");
}
nb++;
}
i++;
}
}
Instance of Symbol 389 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:-42, y:-42}, {x:-42, y:0}, {x:-42, y:42});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 21) {
if (_root.cnt["ob_" + nb].boxx.hitt_sides.hitTest(hitpts[i].x, hitpts[i].y, true)) {
trace("1");
_root.posi2 = _root.posi2 + 100;
_root.control_cooling = 20;
trace("right hit");
}
nb++;
}
i++;
}
}
Symbol 600 MovieClip Frame 201
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 1
gotoAndStop(random(6) + 1);
Symbol 649 MovieClip Frame 1
gotoAndStop(random(6) + 1);
Symbol 651 MovieClip Frame 1
stop();
Instance of Symbol 602 MovieClip in Symbol 651 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 651 MovieClip Frame 2
aa = random(100) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 651 MovieClip Frame 3
if (_root.cheat_2 == 2) {
gotoAndStop (2);
}
this.swapDepths(0);
boost = 0;
cleared = 1;
hited = 1;
_alpha = 100;
if (nb == 1) {
typee = random(7) + 1;
}
if (nb == 2) {
typee = random(4) + 8;
}
if (nb == 3) {
typee = random(3) + 12;
}
if (nb == 4) {
typee = random(2) + 15;
}
boxx.gotoAndStop(typee);
stop();
onEnterFrame = function () {
if ((hited == 2) && (cleared == 1)) {
hited = 1;
cleared = 2;
boxx.hitt_depth_front._visible = false;
boxx.hitt_depth_back._visible = false;
boxx.hitt_sides._visible = false;
if (boxx.hitt_sides._visible == false) {
trace("FUCK");
}
boost = _root.speed * 0.7;
_root.shake = _root.speed * 2;
_root.cnt.boy.glue_slide.gotoAndStop(1);
if ((_root.st_protect != 2) || (typee >= 12)) {
_root.crash = 40;
_root.life = _root.life - 1;
if (_root.life <= 0) {
_root.control_cooling = 1000000 /* 0x0F4240 */;
_root.canmove = 1;
_root.speed = 0;
_root.shake = 50;
_root.cnt.boy.gotoAndStop(201);
hited = 3;
}
}
}
if (cleared == 2) {
boost = boost * 0.92;
if (_alpha > 0) {
_alpha = (_alpha - 1);
} else {
_x = -900;
gotoAndPlay (2);
}
}
speedy = (_root.speed * 0.24) - boost;
speedx = speedy * 2.3662;
_x = (_x - (speedx * _root.boost));
_y = (_y + (speedy * _root.boost));
if (_x < -200) {
_x = 1062;
_y = 289;
_root.cnt.ob_gen.gotoAndPlay(2);
gotoAndStop (1);
}
if (hited == 3) {
hited = 1;
_visible = false;
gotoAndStop (1);
}
};
Symbol 653 MovieClip Frame 10
_root.cnt.ob_1._x = 1051;
_root.cnt.ob_1._y = 296;
_root.cnt.ob_2._x = 1051;
_root.cnt.ob_2._y = 296;
_root.cnt.ob_3._x = 1051;
_root.cnt.ob_3._y = 296;
_root.cnt.ob_4._x = 1051;
_root.cnt.ob_4._y = 296;
aa = random(11) + 1;
if (aa == 1) {
_root.cnt.ob_1.gotoAndStop(3);
_root.cnt.ob_2.gotoAndStop(1);
_root.cnt.ob_3.gotoAndStop(3);
_root.cnt.ob_4.gotoAndStop(1);
}
if (aa == 2) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(3);
_root.cnt.ob_3.gotoAndStop(1);
_root.cnt.ob_4.gotoAndStop(1);
}
if (aa == 3) {
_root.cnt.ob_1.gotoAndStop(3);
_root.cnt.ob_2.gotoAndStop(1);
_root.cnt.ob_3.gotoAndStop(1);
_root.cnt.ob_4.gotoAndStop(3);
}
if (aa == 4) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(3);
_root.cnt.ob_3.gotoAndStop(3);
_root.cnt.ob_4.gotoAndStop(1);
}
if (aa == 5) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(1);
_root.cnt.ob_3.gotoAndStop(3);
_root.cnt.ob_4.gotoAndStop(3);
}
if (aa == 6) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(3);
_root.cnt.ob_3.gotoAndStop(1);
_root.cnt.ob_4.gotoAndStop(3);
}
if (aa == 7) {
_root.cnt.ob_1.gotoAndStop(3);
_root.cnt.ob_2.gotoAndStop(1);
_root.cnt.ob_3.gotoAndStop(3);
_root.cnt.ob_4.gotoAndStop(1);
}
if (aa == 8) {
_root.cnt.ob_1.gotoAndStop(3);
_root.cnt.ob_2.gotoAndStop(3);
_root.cnt.ob_3.gotoAndStop(1);
_root.cnt.ob_4.gotoAndStop(1);
}
if (aa == 9) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(3);
_root.cnt.ob_3.gotoAndStop(1);
_root.cnt.ob_4.gotoAndStop(3);
}
if (aa == 10) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(1);
_root.cnt.ob_3.gotoAndStop(3);
_root.cnt.ob_4.gotoAndStop(1);
}
if (aa == 11) {
_root.cnt.ob_1.gotoAndStop(1);
_root.cnt.ob_2.gotoAndStop(1);
_root.cnt.ob_3.gotoAndStop(1);
_root.cnt.ob_4.gotoAndStop(3);
}
stop();
Symbol 717 MovieClip Frame 1
_x = (random(100) - 50);
_y = (random(100) - 50);
boxx.gotoAndStop(random(62) + 1);
boxx._rotation = random(360) + 1;
speedr = random(20) - 10;
speedx = random(20);
speedy = random(20) - 10;
speeda = random(8) + 2;
stop();
onEnterFrame = function () {
_rotation = (_rotation + speedr);
_x = (_x + speedx);
_y = (_y + speedy);
speedx = speedx * 0.95;
if (speedy < -0.5) {
speedy = speedy * 0.9;
}
if ((speedy >= -0.5) && (speedy <= 0.5)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.15;
}
if (_alpha > 0) {
_alpha = (_alpha - speeda);
} else {
gotoAndStop (2);
}
};
Symbol 717 MovieClip Frame 2
stop();
onEnterFrame = function () {
};
Instance of Symbol 723 MovieClip in Symbol 724 MovieClip Frame 1
onClipEvent (load) {
txx = _parent.txx;
}
Instance of Symbol 723 MovieClip in Symbol 724 MovieClip Frame 1
onClipEvent (load) {
txx = _parent.txx;
}
Symbol 725 MovieClip Frame 31
stop();
Symbol 726 MovieClip Frame 1
_root.snd.sfx.gotoAndPlay((random(9) + 13) * 2);
Symbol 726 MovieClip Frame 2
_root.snd.sfx.gotoAndPlay((random(9) + 13) * 2);
Symbol 726 MovieClip Frame 3
_root.snd.sfx.gotoAndPlay((random(9) + 4) * 2);
Symbol 726 MovieClip Frame 10
_root.snd.scream.gotoAndPlay((random(14) + 1) * 2);
stop();
Symbol 727 MovieClip Frame 1
stop();
onEnterFrame = function () {
};
Symbol 727 MovieClip Frame 2
speedr = (random(20) + 20) * -1;
boxx._rotation = random(360) + 1;
_x = _parent.boy._x;
_y = (_parent.boy._y - 100);
distx = _parent._xmouse - _x;
disty = _parent._ymouse - _y;
totdist = Math.abs(distx) + Math.abs(disty);
speedx = (distx * _root.trow_speed) / totdist;
speedy = (disty * _root.trow_speed) / totdist;
speed_adjust_y = _root.speed * 0.24;
speed_adjust_x = speed_adjust_y * 2.3662;
_root.profondeur = _root.profondeur + 1;
this.swapDepths(_root.profondeur);
stop();
onEnterFrame = function () {
boxx._rotation = boxx._rotation + speedr;
_x = (_x + (speedx - speed_adjust_x));
_y = (_y + (speedy + speed_adjust_y));
};
Instance of Symbol 389 MovieClip in Symbol 727 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 < 21) {
if (_root.cnt.house_1.boxx.boxx["w_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.house_1.boxx.boxx["w_" + nb].gotoAndStop(2);
_root.shake = 20;
_parent.gotoAndStop(5);
}
if (_root.cnt.house_2.boxx.boxx["w_" + nb].hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt.house_2.boxx.boxx["w_" + nb].gotoAndStop(2);
_root.shake = 20;
_parent.gotoAndStop(5);
}
if (_root.cnt["house_" + nb].boxx.wall_hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.snd.sfx.gotoAndPlay((random(3) + 1) * 2);
_parent.gotoAndStop(3);
}
if (_root.cnt["house_" + nb].boxx.dudes.boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.cnt["house_" + nb].boxx.dudes.boxx.boxx.gotoAndStop(2);
_root.cnt["house_" + nb].boxx.dudes.speedx = -20;
_root.cnt["house_" + nb].boxx.dudes.speedy = -10;
_root.snd.sfx.gotoAndPlay((random(3) + 1) * 2);
_parent.gotoAndStop(3);
}
if (_root.cnt["ob_" + nb].boxx.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.snd.hit.gotoAndPlay(4);
_parent.gotoAndStop(3);
}
nb++;
}
if (_root.cnt.hitt.hitTest(hitpts[i].x, hitpts[i].y, true)) {
}
i++;
}
}
Symbol 727 MovieClip Frame 3
if (speedx < 0) {
speedx = 20;
} else {
speedx = -20;
}
speedy = -10;
speedr = 12;
speed_adjust_y = _root.speed * 0.24;
speed_adjust_x = speed_adjust_y * 2.3662;
stop();
onEnterFrame = function () {
boxx._rotation = boxx._rotation + speedr;
_x = (_x + (speedx - speed_adjust_x));
_y = (_y + (speedy + speed_adjust_y));
speedx = speedx * 0.92;
if (speedy < -0.5) {
speedy = speedy * 0.92;
}
if ((speedy >= -0.5) && (speedy <= 0.5)) {
speedy = 1;
}
if (speedy >= 1) {
speedy = speedy * 1.08;
}
};
Symbol 727 MovieClip Frame 5
stop();
onEnterFrame = function () {
};
Instance of Symbol 725 MovieClip in Symbol 727 MovieClip Frame 5
onClipEvent (load) {
boxx.txx = 250;
_root.pts = _root.pts + 250;
}
Symbol 728 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.interr.menuu._currentframe == 1) {
_visible = true;
} else {
_visible = false;
}
if (je_suis_la_mire != 2) {
if (_x > -200) {
speedy = _root.speed * 0.24;
speedx = speedy * 2.3662;
_x = (_x - speedx);
_y = (_y + speedy);
}
}
};
Instance of Symbol 600 MovieClip "boy" in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
im_da_boy = 2;
}
Instance of Symbol 651 MovieClip "ob_1" in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
nb = 1;
}
Instance of Symbol 651 MovieClip "ob_2" in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
nb = 2;
}
Instance of Symbol 651 MovieClip "ob_3" in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
nb = 3;
}
Instance of Symbol 651 MovieClip "ob_4" in Symbol 729 MovieClip Frame 1
onClipEvent (load) {
nb = 4;
}
Instance of Symbol 728 MovieClip "miree" in Symbol 729 MovieClip Frame 1
onClipEvent (enterFrame) {
realring = 2;
je_suis_la_mire = 2;
_x = _parent._xmouse;
_y = _parent._ymouse;
aa = (((_x - _parent.boy._x) * 100) / 600) + 50;
gotoAndStop(Math.round(aa));
}
Instance of Symbol 734 MovieClip in Symbol 735 MovieClip Frame 1
onClipEvent (load) {
txx = 0;
}
onClipEvent (enterFrame) {
txx = _root.pts;
}
Instance of Symbol 734 MovieClip in Symbol 735 MovieClip Frame 1
onClipEvent (load) {
txx = 0;
}
onClipEvent (enterFrame) {
txx = _root.pts;
}
Symbol 738 MovieClip Frame 1
onEnterFrame = function () {
km = Math.round(_root.km / 120) / 10;
};
Instance of Symbol 744 MovieClip in Symbol 745 MovieClip Frame 1
onClipEvent (load) {
txx = _parent.txx;
}
Instance of Symbol 744 MovieClip in Symbol 745 MovieClip Frame 1
onClipEvent (load) {
txx = _parent.txx;
}
Symbol 746 MovieClip Frame 49
stop();
Symbol 747 MovieClip Frame 1
stop();
Instance of Symbol 746 MovieClip in Symbol 747 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = 1000;
_root.pts = _root.pts + 1000;
}
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 20
stop();
Symbol 752 MovieClip Frame 1
gotoAndStop(_root.life_tot - 2);
Symbol 753 MovieClip Frame 1
if (loaded == undefined) {
loaded = 2;
life = _root.life;
shot = 1;
}
stop();
onEnterFrame = function () {
if (_root.life != life) {
life = _root.life;
gotoAndPlay (2);
}
};
Symbol 753 MovieClip Frame 2
play();
Symbol 753 MovieClip Frame 29
if ((_root.life == 0) && (shot != 3)) {
boxx.p_2.gotoAndPlay(2);
boxx.p_3.gotoAndPlay(2);
}
eval ("boxx.p_" + shot).gotoAndPlay(2);
shot = shot + 1;
Symbol 758 MovieClip Frame 1
gotoAndStop(random(50) + 1);
Symbol 765 MovieClip Frame 1
gotoAndStop(random(7) + 1);
_alpha = (random(100) + 1);
Symbol 781 MovieClip Frame 1
aa = 110;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 818 MovieClip Frame 1
gotoAndStop(random(62) + 1);
Symbol 836 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 4
stop();
Symbol 836 MovieClip Frame 6
stop();
Symbol 836 MovieClip Frame 8
stop();
Symbol 836 MovieClip Frame 10
stop();
Symbol 836 MovieClip Frame 12
stop();
Symbol 844 MovieClip Frame 1
stop();
Symbol 845 MovieClip Frame 2
stop();
Symbol 855 Button
on (release) {
act = 2;
_root.mover = 1;
gotoAndPlay (21);
}
on (rollOver) {
if (txx != undefined) {
_root.mover = 2;
_root.mover_txx = txx;
}
gotoAndPlay (2);
}
on (rollOut) {
_root.mover = 1;
gotoAndPlay (6);
}
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 10
gotoAndStop (1);
Symbol 857 MovieClip Frame 39
gotoAndStop (1);
Symbol 864 Button
on (release) {
_root.got2go = 2;
}
on (rollOver) {
_xscale = 120;
_yscale = 120;
}
on (rollOut) {
_xscale = 100;
_yscale = 100;
}
Instance of Symbol 868 MovieClip in Symbol 872 MovieClip Frame 1
onClipEvent (load) {
if (_root.st_qual == 1) {
aff = "LOW";
}
if (_root.st_qual == 2) {
aff = "MEDIUM";
}
if (_root.st_qual == 3) {
aff = "HIGH";
}
}
onClipEvent (enterFrame) {
if (_root.st_qual == 1) {
aff = "LOW";
}
if (_root.st_qual == 2) {
aff = "MEDIUM";
}
if (_root.st_qual == 3) {
aff = "HIGH";
}
}
Symbol 893 MovieClip Frame 60
stop();
Symbol 894 MovieClip Frame 1
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 1
stop();
Symbol 897 MovieClip Frame 1
stop();
Instance of Symbol 389 MovieClip in Symbol 898 MovieClip Frame 1
onClipEvent (enterFrame) {
this.hitpts = new Array({x:42, y:-42}, {x:42, y:0}, {x:42, y:42});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
var nb = 1;
while (nb < 21) {
if (_root.cnt["ob_" + nb].boxx.hitt_sides.hitTest(hitpts[i].x, hitpts[i].y, true)) {
trace("2");
_root.posi2 = _root.posi2 - 100;
_root.control_cooling = 20;
trace("left hit");
}
nb++;
}
i++;
}
}
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 10
boxx.et_1.gotoAndPlay(2);
stop();
Symbol 899 MovieClip Frame 20
gotoAndStop (1);
Symbol 899 MovieClip Frame 30
boxx.et_2.gotoAndPlay(2);
stop();
Symbol 899 MovieClip Frame 40
gotoAndStop (1);
Symbol 899 MovieClip Frame 50
boxx.et_3.gotoAndPlay(2);
stop();
Symbol 899 MovieClip Frame 60
gotoAndStop (1);
Symbol 899 MovieClip Frame 70
boxx.et_4.gotoAndPlay(2);
stop();
Symbol 899 MovieClip Frame 80
gotoAndStop (1);
Symbol 909 Button
on (release) {
if (_root.cash > price) {
_root.cash = _root.cash - price;
snd.gotoAndPlay(5);
if (_currentframe == 3) {
_root.st_speed = _root.st_speed + 1;
}
if (_currentframe == 4) {
_root.st_grip = _root.st_grip + 1;
}
if (_currentframe == 5) {
_root.st_steering = _root.st_steering + 1;
}
if (_currentframe == 6) {
_root.st_protect = _root.st_protect + 1;
}
if (_currentframe == 7) {
_root.st_shock = _root.st_shock + 1;
}
gotoAndStop (2);
} else {
snd.gotoAndPlay(11);
}
}
Symbol 914 Button
on (release) {
gotoAndStop (2);
}
Symbol 923 MovieClip Frame 1
gotoAndStop(_parent._currentframe - 2);
Symbol 929 MovieClip Frame 1
gotoAndStop(_parent._currentframe - 2);
Symbol 936 Button
on (release) {
if (nobt != 2) {
_root.st_volum = _root.st_volum - 10;
if (_root.st_volum < 0) {
_root.st_volum = 100;
}
}
}
Symbol 937 Button
on (release) {
if (nobt != 2) {
_root.st_qual = _root.st_qual - 1;
if (_root.st_qual == 0) {
_root.st_qual = 3;
}
}
}
Symbol 946 MovieClip Frame 1
stop();
Symbol 946 MovieClip Frame 3
_root.cheat_box = "H";
Symbol 946 MovieClip Frame 7
_root.cheat_box = "HE";
Symbol 946 MovieClip Frame 11
_root.cheat_box = "HEL";
Symbol 946 MovieClip Frame 15
_root.cheat_box = "HELL";
Symbol 946 MovieClip Frame 19
_root.cheat_box = "HELL Y";
Symbol 946 MovieClip Frame 23
_root.cheat_box = "HELL YE";
Symbol 946 MovieClip Frame 27
_root.cheat_box = "HELL YEA";
Symbol 946 MovieClip Frame 32
_root.cheat_box = "HELL YEAH";
Symbol 946 MovieClip Frame 36
_root.cheat_box = "HELL YEAH !";
Symbol 946 MovieClip Frame 63
_root.cheat_box = "";
Symbol 951 Button
on (release) {
if (nobt != 2) {
if (_root.cheat_box == "BDEFEF") {
_root.cheat_box = "";
_root.cheat_1 = 2;
sndcheat.gotoAndPlay(2);
}
if (_root.cheat_box == "RMXPOU") {
_root.cheat_box = "";
_root.cheat_2 = 2;
sndcheat.gotoAndPlay(2);
}
if (_root.cheat_box == "QAPTF") {
_root.cheat_box = "";
_root.cheat_3 = 2;
sndcheat.gotoAndPlay(2);
}
if (_root.cheat_box == "SUCAT") {
_root.cheat_box = "";
_root.cheat_4 = 2;
sndcheat.gotoAndPlay(2);
}
if (_root.cheat_box == "RUNEO") {
_root.cheat_box = "";
_root.cheat_5 = 2;
sndcheat.gotoAndPlay(2);
}
if (_root.cheat_box == "PIECGW") {
_root.cheat_box = "";
_root.cheat_6 = 2;
sndcheat.gotoAndPlay(2);
}
}
}
Symbol 956 MovieClip Frame 1
onEnterFrame = function () {
if (_root.cheat_box == "") {
_visible = true;
} else {
_visible = false;
}
};
Symbol 961 Button
on (release) {
getURL ("http://www.spoofgames.com/page/46/", "_blank");
}
Symbol 962 MovieClip Frame 1
aff_1 = _root.pts;
aff_2 = 0;
aff_2_2 = 0;
timer_pts = 40;
stop();
onEnterFrame = function () {
if ((nobt != 2) && (_parent._parent._currentframe == 3)) {
if (timer_pts != 0) {
timer_pts = timer_pts - 1;
} else {
if (aff_1 > 0) {
aff_1 = aff_1 - 100;
aff_2_2 = aff_2_2 + 0.00434782608695652;
aff_2 = Math.round(aff_2_2 * 100) / 100;
snd.gotoAndPlay(7);
}
if (aff_1 < 0) {
aff_1 = 0;
}
if (aff_1 == 0) {
if (bt_lock._visible == true) {
bt_lock._visible = false;
snd.gotoAndPlay(9);
_root.cash = _root.cash + aff_2;
}
}
}
}
if ((nobt != 2) && (_parent._parent._currentframe == 2)) {
if (bt_lock._visible == true) {
bt_lock._visible = false;
}
}
_root.roue_side = 1;
if (nobt == 2) {
gotoAndStop(_parent.boxx._currentframe);
bt1._visible = false;
bt2._visible = false;
bt3._visible = false;
bt4._visible = false;
bt5._visible = false;
bt6._visible = false;
bt7._visible = false;
bt8._visible = false;
bt9._visible = false;
bt10._visible = false;
}
if ((_currentframe >= 3) && (_currentframe <= 7)) {
if (_root.cash >= price) {
bt10._alpha = 100;
} else {
bt10._alpha = 25;
}
} else {
bt10._alpha = 100;
}
if (_currentframe == 2) {
if (bike._currentframe != 1) {
bike.play();
}
}
if (_currentframe == 3) {
if (_root.st_speed == 1) {
price = 1.75;
}
if (_root.st_speed == 2) {
price = 4.55;
}
}
if (_currentframe == 4) {
if (_root.st_grip == 1) {
price = 1.25;
}
if (_root.st_grip == 2) {
price = 3.95;
}
}
if (_currentframe == 5) {
if (_root.st_steering == 1) {
price = 1.55;
}
if (_root.st_steering == 2) {
price = 3.75;
}
}
if (_currentframe == 6) {
if (_root.st_protect == 1) {
price = 6.25;
}
}
if (_currentframe == 7) {
if (_root.st_shock == 1) {
price = 4.75;
}
}
};
Instance of Symbol 830 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent._currentframe == 2) {
_visible = false;
}
}
Instance of Symbol 840 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._parent.fond._currentframe == 2) {
txx = "ROUND CLEARED";
} else {
txx = "FAIL...";
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
iconn.gotoAndStop(1);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "UPGRADES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.snd.gotoAndPlay(2);
_parent.gotoAndStop(2);
}
if (_parent._currentframe == 2) {
_alpha = 20;
} else {
_alpha = 100;
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
iconn.gotoAndStop(2);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "OPTIONS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(11);
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
iconn.gotoAndStop(3);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "CHEATS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(12);
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
iconn.gotoAndStop(4);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "SPOOFGAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.spoofgames.com/", "_blank");
}
}
Instance of Symbol 865 MovieClip in Symbol 962 MovieClip Frame 1
onClipEvent (load) {
if (_parent.nobt == 2) {
_visible = false;
}
}
Instance of Symbol 879 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation - 0.5);
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (load) {
iconn.gotoAndStop(5);
boxx.glas.gotoAndStop(2);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "SPEED";
if (_root.st_speed == 3) {
_alpha = 25;
gotoAndStop (40);
}
}
onClipEvent (enterFrame) {
if ((act == 2) && (_root.st_speed != 3)) {
act = 1;
_parent.gotoAndStop(3);
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (load) {
iconn.gotoAndStop(6);
boxx.glas.gotoAndStop(2);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "GRIP";
if (_root.st_grip == 3) {
_alpha = 25;
gotoAndStop (40);
}
}
onClipEvent (enterFrame) {
if ((act == 2) && (_root.st_grip != 3)) {
act = 1;
_parent.gotoAndStop(4);
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (load) {
iconn.gotoAndStop(7);
boxx.glas.gotoAndStop(2);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "STEERING";
if (_root.st_steering == 2) {
_alpha = 25;
gotoAndStop (40);
}
}
onClipEvent (enterFrame) {
if ((act == 2) && (_root.st_steering != 2)) {
act = 1;
_parent.gotoAndStop(5);
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (load) {
iconn.gotoAndStop(8);
boxx.glas.gotoAndStop(2);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "PROTECTION";
if (_root.st_protect == 2) {
_alpha = 25;
gotoAndStop (40);
}
}
onClipEvent (enterFrame) {
if ((act == 2) && (_root.st_protect != 2)) {
act = 1;
_parent.gotoAndStop(6);
}
}
Instance of Symbol 857 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (load) {
iconn.gotoAndStop(9);
boxx.glas.gotoAndStop(2);
if (_parent.nobt == 2) {
_visible = false;
}
txx = "SHOCK";
if (_root.st_shock == 2) {
_alpha = 25;
gotoAndStop (40);
}
}
onClipEvent (enterFrame) {
if ((act == 2) && (_root.st_shock != 2)) {
act = 1;
_parent.gotoAndStop(7);
}
}
Instance of Symbol 840 MovieClip in Symbol 962 MovieClip Frame 2
onClipEvent (load) {
txx = "UPGRADES";
}
Symbol 962 MovieClip Frame 3
bike.gotoAndPlay(2);
Instance of Symbol 903 MovieClip in Symbol 962 MovieClip Frame 3
onClipEvent (load) {
if (_root.st_qual == 1) {
aff = "LOW";
}
if (_root.st_qual == 2) {
aff = "MEDIUM";
}
if (_root.st_qual == 3) {
aff = "HIGH";
}
}
onClipEvent (enterFrame) {
if (_root.st_qual == 1) {
aff = "LOW";
}
if (_root.st_qual == 2) {
aff = "MEDIUM";
}
if (_root.st_qual == 3) {
aff = "HIGH";
}
}
Symbol 962 MovieClip Frame 4
bike.gotoAndPlay(21);
Symbol 962 MovieClip Frame 5
bike.gotoAndPlay(41);
Symbol 962 MovieClip Frame 6
bike.gotoAndPlay(61);
Symbol 962 MovieClip Frame 7
bike.gotoAndPlay(61);
Instance of Symbol 932 MovieClip in Symbol 962 MovieClip Frame 11
onClipEvent (load) {
if (_root.st_qual == 1) {
aff = "LOW";
}
if (_root.st_qual == 2) {
aff = "MEDIUM";
}
if (_root.st_qual == 3) {
aff = "HIGH";
}
}
onClipEvent (enterFrame) {
if (_root.st_qual == 1) {
aff = "LOW";
}
if (_root.st_qual == 2) {
aff = "MEDIUM";
}
if (_root.st_qual == 3) {
aff = "HIGH";
}
}
Instance of Symbol 932 MovieClip in Symbol 962 MovieClip Frame 11
onClipEvent (load) {
aff = _root.st_volum + " %";
}
onClipEvent (enterFrame) {
aff = _root.st_volum + " %";
}
Instance of Symbol 943 MovieClip in Symbol 962 MovieClip Frame 11
onClipEvent (load) {
gotoAndStop(_root.st_qual);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.st_qual);
}
Instance of Symbol 840 MovieClip in Symbol 962 MovieClip Frame 11
onClipEvent (load) {
txx = "OPTIONS";
}
Symbol 962 MovieClip Frame 12
_root.cheat_box = "";
Instance of Symbol 879 MovieClip in Symbol 962 MovieClip Frame 12
onClipEvent (enterFrame) {
_rotation = (_rotation + 0.5);
}
Instance of Symbol 840 MovieClip in Symbol 962 MovieClip Frame 12
onClipEvent (load) {
txx = "WANNA CHEAT ?";
}
Symbol 963 MovieClip Frame 30
boxx2.nobt = 2;
Symbol 963 MovieClip Frame 60
stop();
Symbol 967 MovieClip Frame 1
_root.mover = 1;
stop();
onEnterFrame = function () {
if (_root.mover == 2) {
if (_currentframe == 1) {
gotoAndPlay (2);
}
} else {
gotoAndStop (1);
}
};
Symbol 967 MovieClip Frame 15
stop();
Symbol 968 MovieClip Frame 1
stop();
Symbol 968 MovieClip Frame 2
stop();
fond.gotoAndStop(1);
_root.interr.pts._visible = false;
Instance of Symbol 967 MovieClip "miree" in Symbol 968 MovieClip Frame 2
onClipEvent (enterFrame) {
_x = _parent._xmouse;
_y = _parent._ymouse;
}
Symbol 968 MovieClip Frame 3
stop();
fond.gotoAndStop(2);
_root.interr.pts._visible = false;
stopAllSounds();
_root.muz.gotoAndPlay(6);
Symbol 971 MovieClip Frame 30
stop();
Symbol 979 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.speed >= _root.speed_throw) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
Symbol 989 MovieClip Frame 1
stop();
Symbol 989 MovieClip Frame 3
stop();
Symbol 989 MovieClip Frame 5
stop();
Symbol 989 MovieClip Frame 7
stop();
Symbol 989 MovieClip Frame 9
stop();
Symbol 989 MovieClip Frame 11
stop();
Symbol 989 MovieClip Frame 13
stop();
Symbol 994 MovieClip Frame 3
stop();
Symbol 995 MovieClip Frame 3
stop();
Symbol 996 MovieClip Frame 3
stop();
Symbol 997 MovieClip Frame 3
stop();
Symbol 998 MovieClip Frame 3
stop();
Symbol 999 MovieClip Frame 1
onEnterFrame = function () {
gotoAndStop(Math.round((_root.speed * 5) / 12) + 1);
};
Symbol 1000 MovieClip Frame 1
stop();
Symbol 1000 MovieClip Frame 3
stop();
Symbol 1000 MovieClip Frame 5
stop();
Symbol 1000 MovieClip Frame 7
stop();
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 3
stop();
Symbol 1005 MovieClip Frame 5
stop();
Symbol 1005 MovieClip Frame 7
stop();
Symbol 1005 MovieClip Frame 9
stop();
Symbol 1008 MovieClip Frame 1
stop();
Symbol 1008 MovieClip Frame 3
stop();
Symbol 1008 MovieClip Frame 5
stop();
Symbol 1008 MovieClip Frame 7
stop();
Symbol 1008 MovieClip Frame 9
stop();
Symbol 1022 MovieClip Frame 1
stop();
Symbol 1022 MovieClip Frame 3
stop();
Symbol 1022 MovieClip Frame 5
stop();
Symbol 1022 MovieClip Frame 7
stop();
Symbol 1022 MovieClip Frame 9
stop();
Symbol 1022 MovieClip Frame 11
stop();
Symbol 1022 MovieClip Frame 13
stop();
Symbol 1022 MovieClip Frame 15
stop();
Symbol 1022 MovieClip Frame 17
stop();
Symbol 1022 MovieClip Frame 19
stop();
Symbol 1022 MovieClip Frame 21
stop();
Symbol 1022 MovieClip Frame 23
stop();
Symbol 1022 MovieClip Frame 25
stop();
Symbol 1022 MovieClip Frame 27
stop();
Symbol 1022 MovieClip Frame 29
stop();
Symbol 1038 MovieClip Frame 1
stop();
Symbol 1038 MovieClip Frame 3
stop();
Symbol 1038 MovieClip Frame 5
stop();
Symbol 1038 MovieClip Frame 7
stop();
Symbol 1038 MovieClip Frame 9
stop();
Symbol 1038 MovieClip Frame 11
stop();
Symbol 1038 MovieClip Frame 13
stop();
Symbol 1038 MovieClip Frame 15
stop();
Symbol 1038 MovieClip Frame 17
stop();
Symbol 1038 MovieClip Frame 19
stop();
Symbol 1038 MovieClip Frame 21
stop();
Symbol 1038 MovieClip Frame 23
stop();
Symbol 1038 MovieClip Frame 25
stop();
Symbol 1038 MovieClip Frame 27
stop();
Symbol 1038 MovieClip Frame 29
stop();
Symbol 1038 MovieClip Frame 31
stop();
Symbol 1046 MovieClip Frame 1
stopAllSounds();
gotoAndPlay(((random(4) + 1) * 2) + 8);
Symbol 1046 MovieClip Frame 7
stop();
Symbol 1046 MovieClip Frame 9
stop();
Symbol 1046 MovieClip Frame 11
stop();
Symbol 1046 MovieClip Frame 13
stop();
Symbol 1046 MovieClip Frame 15
stop();
Symbol 1046 MovieClip Frame 17
stop();