Combined Code
frame 1 {
mochi.as2.MochiAd.showPreGameAd({'id': 'f12de306106a7b20', 'res': '640x480', 'background': 2508130, 'color': 4944538, 'outline': 2508130, 'no_bg': true});
mochi.as2.MochiServices.connect('f12de306106a7b20');
}
frame 1 {
game = SharedObject.getLocal('mydata');
music = 1;
if (game.data.friction == undefined) {
friction = 0.5;
} else {
friction = game.data.friction;
}
if (game.data.speed == undefined) {
speed = 0.5;
} else {
speed = game.data.speed;
}
if (game.data.desc == undefined) {
desc = 0;
} else {
desc = game.data.desc;
}
if (game.data.desc2 == undefined) {
desc2 = 0;
} else {
desc2 = game.data.desc2;
}
if (game.data.ramp == undefined) {
ramp = 1;
} else {
ramp = game.data.ramp;
}
if (game.data.pipe == undefined) {
pipe = 0;
} else {
pipe = game.data.pipe;
}
if (game.data.fire == undefined) {
fire = 0;
} else {
fire = game.data.fire;
}
if (game.data.bomb == undefined) {
bomb = 0;
} else {
bomb = game.data.bomb;
}
if (game.data.gravity == undefined) {
gravity = 1;
} else {
gravity = game.data.gravity;
}
if (game.data.ram == undefined) {
ram = 0;
} else {
ram = game.data.ram;
}
if (game.data.coins == undefined) {
coins = 0;
} else {
coins = game.data.coins;
}
if (game.data.coin == undefined) {
coin = 0;
} else {
coin = game.data.coin;
}
if (game.data.moneys == undefined) {
moneys = 0;
} else {
moneys = game.data.moneys;
}
if (game.data.ach1 == undefined) {
ach1 = 0;
} else {
ach1 = game.data.ach1;
}
if (game.data.ach2 == undefined) {
ach2 = 0;
} else {
ach2 = game.data.ach2;
}
if (game.data.ach3 == undefined) {
ach3 = 0;
} else {
ach3 = game.data.ach3;
}
if (game.data.ach4 == undefined) {
ach4 = 0;
} else {
ach4 = game.data.ach4;
}
if (game.data.ach5 == undefined) {
ach5 = 0;
} else {
ach5 = game.data.ach5;
}
if (game.data.ach6 == undefined) {
ach6 = 0;
} else {
ach6 = game.data.ach6;
}
if (game.data.ach7 == undefined) {
ach7 = 0;
} else {
ach7 = game.data.ach7;
}
if (game.data.ach8 == undefined) {
ach8 = 0;
} else {
ach8 = game.data.ach8;
}
if (game.data.bombtotal == undefined) {
bombtotal = 0;
} else {
bombtotal = game.data.bombtotal;
}
if (game.data.signtotal == undefined) {
signtotal = 0;
} else {
signtotal = game.data.signtotal;
}
if (game.data.coinstotal == undefined) {
coinstotal = 0;
} else {
coinstotal = game.data.coinstotal;
}
if (game.data.disttotal == undefined) {
disttotal = 0;
} else {
disttotal = game.data.disttotal;
}
if (game.data.free == undefined) {
free = 0;
} else {
free = game.data.free;
}
}
movieClip 4 {
}
instance of movieClip 4 {
onClipEvent (enterFrame) {
_rotation = _rotation + 5;
}
}
movieClip 319 __Packages.mochi.as2.MochiAd {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiAd) {
var v1 = function () {};
mochi.as2.MochiAd = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showPreGameAd = function (options) {
var v26 = {'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 = mochi.as2.MochiAd._parseOptions(options, v26);
if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') {
options.ad_started();
options.ad_finished();
return undefined;
}
var clip = options.clip;
var v22 = 11000;
var v25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v14 = mochi.as2.MochiAd._getRes(options);
var v4 = v14[0];
var v13 = v14[1];
mc._x = v4 * 0.5;
mc._y = v13 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk._x = v4 * -0.5;
chk._y = v13 * -0.5;
var v6 = chk.createEmptyMovieClip('_mochiad_bar', 4);
if (options.no_progress_bar) {
v6._visible = false;
delete options.no_progress_bar;
} else {
v6._x = 10;
v6._y = v13 - 20;
}
var v21 = options.color;
delete options.color;
var v19 = options.background;
delete options.background;
var v23 = options.outline;
delete options.outline;
var v5 = v6.createEmptyMovieClip('_outline', 1);
v5.beginFill(v19);
v5.moveTo(0, 0);
v5.lineTo(v4 - 20, 0);
v5.lineTo(v4 - 20, 10);
v5.lineTo(0, 10);
v5.lineTo(0, 0);
v5.endFill();
var v3 = v6.createEmptyMovieClip('_inside', 2);
v3.beginFill(v21);
v3.moveTo(0, 0);
v3.lineTo(v4 - 20, 0);
v3.lineTo(v4 - 20, 10);
v3.lineTo(0, 10);
v3.lineTo(0, 0);
v3.endFill();
v3._xscale = 0;
var v7 = v6.createEmptyMovieClip('_outline', 3);
v7.lineStyle(0, v23, 100);
v7.moveTo(0, 0);
v7.lineTo(v4 - 20, 0);
v7.lineTo(v4 - 20, 10);
v7.lineTo(0, 10);
v7.lineTo(0, 0);
chk.ad_msec = v22;
chk.ad_timeout = v25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
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 v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.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 v6 = this._parent._parent;
var v11 = this._parent._mochiad_ctr;
var v5 = getTimer() - this.started;
var v3 = false;
var v4 = v6.getBytesTotal();
var v8 = v6.getBytesLoaded();
var v2 = 100 * v8 / v4;
var v10 = 100 * v5 / chk.ad_msec;
var v9 = this._mochiad_bar._inside;
var v13 = Math.min(100, Math.min(v2 || 0, v10));
v13 = Math.max(this.last_pcnt, v13);
this.last_pcnt = v13;
v9._xscale = v13;
options.ad_progress(v13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v2}, clip._mochiad._containerLCName);
if (v2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var v7 = v11.getBytesTotal();
if (v7 > 0 || typeof v7 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v5 > chk.ad_timeout && v2 == 100) {
options.ad_failed();
v3 = true;
}
}
}
if (v5 > chk.ad_msec) {
v3 = true;
}
if (v4 > 0 && v8 >= v4 && v3) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
};
v1.showClickAwayAd = function (options) {
var v9 = {'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 = mochi.as2.MochiAd._parseOptions(options, v9);
var clip = options.clip;
var v8 = options.ad_timeout;
delete options.ad_timeout;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v4 = mochi.as2.MochiAd._getRes(options);
var v10 = v4[0];
var v7 = v4[1];
mc._x = v10 * 0.5;
mc._y = v7 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_timeout = v8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
var v20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
v2 = true;
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v2) {
delete this.onEnterFrame;
}
};
};
v1.showInterLevelAd = function (options) {
var v13 = {'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 = mochi.as2.MochiAd._parseOptions(options, v13);
var clip = options.clip;
var v10 = 11000;
var v12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v14 = v5[0];
var v11 = v5[1];
mc._x = v14 * 0.5;
mc._y = v11 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_msec = v10;
chk.ad_timeout = v12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.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 v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v4 > chk.ad_msec) {
v2 = true;
}
if (v2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
};
v1.showPreloaderAd = function (options) {
trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0');
mochi.as2.MochiAd.showPreGameAd(options);
};
v1.showTimedAd = function (options) {
trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0');
mochi.as2.MochiAd.showInterLevelAd(options);
};
v1._allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.load = function (options) {
var v13 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'};
options = mochi.as2.MochiAd._parseOptions(options, v13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = mochi.as2.MochiAd.getVersion();
var v7 = options.clip;
if (!mochi.as2.MochiAd._isNetworkAvailable()) {
return null;
}
if (v7._mochiad_loaded) {
return null;
}
var v12 = options.depth;
delete options.depth;
var v6 = v7.createEmptyMovieClip('_mochiad', v12);
var v11 = mochi.as2.MochiAd._getRes(options);
options.res = v11[0] + 'x' + v11[1];
options.server += options.id;
delete options.id;
v7._mochiad_loaded = true;
if (v7._url.indexOf('http') != 0) {
trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal');
}
var v4 = v6.createEmptyMovieClip('_mochiad_ctr', 1);
for (var v8 in options) {
v4[v8] = options[v8];
}
var v10 = v4.server;
delete v4.server;
var v14 = mochi.as2.MochiAd._allowDomains(v10);
v6.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 v5 = new Object();
var v9 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_');
v5.mc = v6;
v5.name = v9;
v5.hostname = v14;
v5.allowDomain = function (d) {
return true;
};
v5.allowInsecureDomain = v5.allowDomain;
v5.connect(v9);
v6.lc = v5;
v4.lc = v9;
v4.st = getTimer();
v4.loadMovie(v10 + '.swf', 'POST');
return v6;
};
v1.unload = function (clip) {
if (typeof clip == 'undefined') {
clip = _root;
}
if (clip.clip && clip.clip._mochiad) {
clip = clip.clip;
}
if (!clip._mochiad) {
return false;
}
mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return true;
};
v1._isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1._getRes = function (options) {
var v3 = options.clip.getBounds();
var v2 = 0;
var v1 = 0;
if (typeof options.res != 'undefined') {
var v4 = options.res.split('x');
v2 = parseFloat(v4[0]);
v1 = parseFloat(v4[1]);
} else {
v2 = v3.xMax - v3.xMin;
v1 = v3.yMax - v3.yMin;
}
if (v2 == 0 || v1 == 0) {
v2 = Stage.width;
v1 = Stage.height;
}
return [v2, v1];
};
v1._parseOptions = function (options, defaults) {
var v4 = {};
for (var v8 in defaults) {
v4[v8] = defaults[v8];
}
if (options) {
for (v8 in options) {
v4[v8] = options[v8];
}
}
if (_root.mochiad_options) {
var v5 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v5.length) {
var v3 = v5[v2].split('=');
v4[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
if (v4.id == 'test') {
trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!');
}
return v4;
};
v1.rpc = function (clip, callbackID, arg) {
switch (arg.id) {
case 'setValue':
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case 'getValue':
var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName);
break;
case 'runMethod':
var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName);
break;
default:
trace('[mochiads rpc] unknown rpc id: ' + arg.id);
}
};
v1.setValue = function (base, objectName, value) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
base[v2[v1]] = value;
};
v1.getValue = function (base, objectName) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
return base[v2[v1]];
};
v1.runMethod = function (base, methodName, argsArray) {
var v2 = methodName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
if (typeof base[v2[v1]] == 'function') {
return base[v2[v1]].apply(base, argsArray);
} else {
return undefined;
}
};
v1.containerNotify = function (clip, args, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.notify) {
v1.notify(args);
} else {
(new LocalConnection()).send(lcName, 'notify', args);
}
};
v1.containerRpcResult = function (clip, callbackID, val, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.rpcResult) {
v1.rpcResult(callbackID, val);
} else {
(new LocalConnection()).send(lcName, 'rpcResult', callbackID, val);
}
};
ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1);
}
#endinitclip
}
movieClip 320 __Packages.mochi.as2.MochiSync {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSync) {
var v1 = function () {
this._syncContainer = {};
};
mochi.as2.MochiSync = v1;
var v2 = v1.prototype;
v2.getProp = function (name) {
return this._syncContainer[name];
};
v2.setProp = function (name, value) {
if (this._syncContainer[name] == value) {
return undefined;
}
this._syncContainer[name] = value;
mochi.as2.MochiServices.send('sync_propUpdate', {'name': name, 'value': value});
};
v2.triggerEvent = function (eventType, args) {
switch (eventType) {
case mochi.as2.MochiSync.SYNC_REQUEST:
mochi.as2.MochiServices.send('sync_syncronize', this._syncContainer);
break;
case mochi.as2.MochiSync.SYNC_PROPERTY:
this._syncContainer[args.name] = args.value;
}
};
v1.SYNC_REQUEST = 'SyncRequest';
v1.SYNC_PROPERTY = 'UpdateProperty';
ASSetPropFlags(mochi.as2.MochiSync.prototype, null, 1);
}
#endinitclip
}
movieClip 321 __Packages.mochi.as2.MochiServices {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiServices) {
var v1 = function () {};
mochi.as2.MochiServices = v1;
var v2 = v1.prototype;
v1.__get__id = function () {
return mochi.as2.MochiServices._id;
};
v1.__get__clip = function () {
return mochi.as2.MochiServices._container;
};
v1.__get__childClip = function () {
return mochi.as2.MochiServices._clip;
};
v1.getVersion = function () {
return '3.2 as2';
};
v1.allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.__get__isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1.__set__comChannelName = function (val) {
if (val != undefined) {
if (val.length > 3) {
mochi.as2.MochiServices._sendChannelName = val + '_fromgame';
mochi.as2.MochiServices.initComChannels();
}
}
return mochi.as2.MochiServices.__get__comChannelName();
};
v1.__get__connected = function () {
return mochi.as2.MochiServices._connected;
};
v1.connect = function (id, clip, onError) {
mochi.as2.MochiServices.warnID(id, false);
if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) {
trace('MochiServices Connecting...');
mochi.as2.MochiServices._connecting = true;
mochi.as2.MochiServices.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);
};
}
}
};
v1.disconnect = function () {
if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected;
mochi.as2.MochiServices.flush(true);
if (mochi.as2.MochiServices._clip != undefined) {
mochi.as2.MochiServices._clip.removeMovieClip();
delete mochi.as2.MochiServices._clip;
}
mochi.as2.MochiServices._listenChannel.close();
}
};
v1.init = function (id, clip) {
mochi.as2.MochiServices._id = id;
if (clip != undefined) {
mochi.as2.MochiServices._container = clip;
} else {
mochi.as2.MochiServices._container = _root;
}
mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container);
};
v1.loadCommunicator = function (id, clip) {
var v6 = '_mochiservices_com_' + id;
var v5 = new MovieClipLoader();
var v3 = {};
if (mochi.as2.MochiServices._clip != null) {
return mochi.as2.MochiServices._clip;
}
if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) {
return null;
}
if ((mochi.as2.MochiServices.urlOptions()).servURL) {
mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL;
}
var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services;
if ((mochi.as2.MochiServices.urlOptions()).servicesURL) {
v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL;
}
mochi.as2.MochiServices.allowDomains(v4);
mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false);
mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999);
mochi.as2.MochiServices.listen();
if (v3.waitInterval != null) {
clearInterval(v3.waitInterval);
}
v3.onLoadError = mochi.as2.MochiServices.loadError;
v3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
v3.startTime = getTimer();
v3.wait = function () {
if (getTimer() - this.startTime > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
}
clearInterval(this.waitInterval);
}
};
v3.waitInterval = setInterval(v3, 'wait', 1000);
v5.addListener(v3);
v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + /:$version, mochi.as2.MochiServices._clip);
mochi.as2.MochiServices._sendChannel = new LocalConnection();
mochi.as2.MochiServices._sendChannel._queue = [];
return mochi.as2.MochiServices._clip;
};
v1.loadError = function (target_mc, errorCode, httpStatus) {
trace('MochiServices could not load.');
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
v1.onStatus = function (infoObject) {
if (infoObject.level !== 'error') {
} else {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
}
};
v1.listen = function () {
mochi.as2.MochiServices._listenChannel = new LocalConnection();
mochi.as2.MochiServices._listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
mochi.as2.MochiServices._listenChannel.allowDomain = function (d) {
return true;
};
mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain;
mochi.as2.MochiServices._listenChannel._nextcallbackID = 0;
mochi.as2.MochiServices._listenChannel._callbacks = {};
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
trace('Waiting for MochiAds services to connect...');
};
v1.initComChannels = function () {
if (!mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'});
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'clip': mochi.as2.MochiServices._clip, 'version': mochi.as2.MochiServices.getVersion()});
mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) {
var v5 = pkg.callbackID;
var v4 = this._callbacks[v5];
if (!v4) {
return undefined;
}
var v2 = v4.callbackMethod;
var v3 = v4.callbackObject;
if (v3 && typeof v2 == 'string') {
v2 = v3[v2];
}
if (v2 != undefined) {
v2.apply(v3, pkg.args);
}
delete this._callbacks[v5];
};
mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case 'sync':
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
mochi.as2.MochiServices._listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
};
trace('[SERVICES_API] connected!');
mochi.as2.MochiServices._connecting = false;
mochi.as2.MochiServices._connected = true;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift());
}
}
};
v1.flush = function (error) {
var v1;
var v2;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
v1 = mochi.as2.MochiServices._sendChannel._queue.shift();
false;
if (v1.callbackID != null) {
v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
}
delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
if (error) {
mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod);
}
}
};
v1.handleError = function (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);
}
}
}
};
v1.send = function (methodName, args, callbackObject, callbackMethod) {
if (mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
} else {
if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) {
trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName);
mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod);
mochi.as2.MochiServices.flush(true);
return undefined;
} else {
mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
}
}
mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod};
++mochi.as2.MochiServices._listenChannel._nextcallbackID;
};
v1.urlOptions = function () {
var v5 = {};
if (_root.mochiad_options) {
var v4 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v4.length) {
var v3 = v4[v2].split('=');
v5[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
return v5;
};
v1.warnID = function (bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length');
return undefined;
} else {
if (bid == '1e113c7239048b3f') {
if (leaderboard) {
trace('WARNING: Using testing board ID');
} else {
trace('WARNING: Using testing board ID as game ID');
}
return undefined;
} else {
if (bid == '84993a1de4031cd8') {
if (leaderboard) {
trace('WARNING: Using testing game ID as board ID');
} else {
trace('WARNING: Using testing game ID');
}
return undefined;
}
}
}
var v1 = 0;
while (v1 < bid.length) {
switch (bid.charAt(v1)) {
if (bid.charAt(v1) !== 'f') {
} else {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'a':
break;
case 'b':
case 'c':
case 'd':
case 'e':
}
default:
trace('WARNING: Board ID contains illegal characters: ' + bid);
return undefined;
}
++v1;
}
};
v1.addLinkEvent = function (url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var v2 = new Object();
v2.mav = mochi.as2.MochiServices.getVersion();
v2.swfv = btn.getSWFVersion() || 6;
v2.swfurl = btn._url;
v2.fv = System.capabilities.version;
v2.os = System.capabilities.os;
v2.lang = System.capabilities.language;
v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY;
var s = '?';
var v3 = 0;
for (var v6 in v2) {
if (v3 != 0) {
s += '&';
}
++v3;
s = s + v6 + '=' + escape(v2[v6]);
}
if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) {
var ping = btn.createEmptyMovieClip('ping', 777);
var v7 = btn.createEmptyMovieClip('nettest', 778);
mochi.as2.MochiServices.netupAttempted = true;
ping.loadMovie('http://x.mochiads.com/linkping.swf?t=' + getTimer());
v7.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 v4 = btn.createEmptyMovieClip('clk', 1001);
v4._alpha = 0;
v4.beginFill(1044735);
v4.moveTo(0, 0);
v4.lineTo(0, btn._height);
v4.lineTo(btn._width, btn._height);
v4.lineTo(btn._width, 0);
v4.lineTo(0, 0);
v4.endFill();
v4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL(url + s, '_blank');
} else {
getURL(burl, '_blank');
}
if (onClick != undefined) {
onClick();
}
};
};
v1.setContainer = function (clip) {};
v1.stayOnTop = function (clip) {};
v1._servURL = 'http://www.mochiads.com/static/lib/services/';
v1._services = 'services.swf';
v1._mochiLC = 'MochiLC.swf';
v1._listenChannelName = '__ms_';
v1._connecting = false;
v1._connected = false;
v1.netup = true;
v1.netupAttempted = false;
v1.servicesSync = new mochi.as2.MochiSync();
v1.addProperty('childClip', v1.__get__childClip, function () {});
v1.addProperty('clip', v1.__get__clip, function () {});
v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName);
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('id', v1.__get__id, function () {});
v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {});
ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1);
}
#endinitclip
}
movieClip 322 __Packages.mochi.as2.MochiEventDispatcher {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEventDispatcher) {
var v1 = function () {
this.eventTable = {};
};
mochi.as2.MochiEventDispatcher = v1;
var v2 = v1.prototype;
v2.buildDelegate = function (thisObject, thatObject) {
var v2 = {'thisObject': thisObject, 'thatObject': thatObject};
if (thatObject != undefined) {
var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject;
v2.delegate = function (args) {
funct.call(thisObject, args);
};
return v2;
}
v2.delegate = thisObject;
return v2;
};
v2.compareDelegate = function (d_A, d_B) {
if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) {
return false;
}
return true;
};
v2.addEventListener = function (event, thisObject, thatObject) {
this.removeEventListener(event, thisObject, thatObject);
this.eventTable[event].push(this.buildDelegate(thisObject, thatObject));
};
v2.removeEventListener = function (event, thisObject, thatObject) {
var v3 = this.buildDelegate(thisObject, thatObject);
if (this.eventTable[event] == undefined) {
this.eventTable[event] = [];
return undefined;
}
for (var v4 in this.eventTable[event]) {
if (!this.compareDelegate(this.eventTable[event][v4], v3)) {
continue;
}
this.eventTable[event].splice(Number(v4), 1);
}
};
v2.triggerEvent = function (event, args) {
if (this.eventTable[event] == undefined) {
return undefined;
}
for (var v4 in this.eventTable[event]) {
this.eventTable[event][v4].delegate(args);
}
};
ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 323 __Packages.mochi.as2.MochiEvents {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEvents) {
var v1 = function () {};
mochi.as2.MochiEvents = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.startSession = function (achievementID) {
mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null);
};
v1.trigger = function (kind, obj) {
if (obj == undefined) {
obj = {};
} else {
if (obj.kind != undefined) {
trace('WARNING: optional arguements package contains key \'id\', it will be overwritten');
obj.kind = kind;
}
}
mochi.as2.MochiServices.send('events_triggerEvent', {'eventObject': obj}, null, null);
};
v1.setNotifications = function (clip, style) {
var v2 = {};
for (var v3 in style) {
v2[v3] = style[v3];
}
v2.clip = clip;
mochi.as2.MochiServices.send('events_setNotifications', v2, null, null);
};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.startGame = function () {
mochi.as2.MochiEvents.gameStart = (new Date()).getTime();
mochi.as2.MochiEvents.trigger('start_game');
};
v1.endGame = function () {
var v1 = (new Date()).getTime() - mochi.as2.MochiEvents.gameStart;
mochi.as2.MochiEvents.trigger('end_game', {'time': v1});
};
v1.startLevel = function () {
mochi.as2.MochiEvents.levelStart = (new Date()).getTime();
mochi.as2.MochiEvents.trigger('start_level');
};
v1.endLevel = function () {
var v1 = (new Date()).getTime() - mochi.as2.MochiEvents.levelStart;
mochi.as2.MochiEvents.trigger('end_level', {'time': v1});
};
v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived';
v1.ALIGN_TOP_LEFT = 'ALIGN_TL';
v1.ALIGN_TOP = 'ALIGN_T';
v1.ALIGN_TOP_RIGHT = 'ALIGN_TR';
v1.ALIGN_LEFT = 'ALIGN_L';
v1.ALIGN_CENTER = 'ALIGN_C';
v1.ALIGN_RIGHT = 'ALIGN_R';
v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL';
v1.ALIGN_BOTTOM = 'ALIGN_B';
v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR';
v1.FORMAT_SHORT = 'ShortForm';
v1.FORMAT_LONG = 'LongForm';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1);
}
#endinitclip
}
movieClip 324 __Packages.mochi.as2.MochiCoins {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiCoins) {
var v1 = function () {};
mochi.as2.MochiCoins = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showStore = function (options) {
mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null);
};
v1.showItem = function (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);
};
v1.showVideo = function (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);
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('coins_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('coins_hideLoginWidget');
};
v1.getStoreItems = function () {
mochi.as2.MochiServices.send('coins_getStoreItems');
};
v1.getUserInfo = function () {
mochi.as2.MochiServices.send('coins_getUserInfo');
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('coins_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.STORE_SHOW = 'StoreShow';
v1.STORE_HIDE = 'StoreHide';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.ITEM_OWNED = 'ItemOwned';
v1.ITEM_NEW = 'ItemNew';
v1.STORE_ITEMS = 'StoreItems';
v1.USER_INFO = 'UserInfo';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1.PROPERTIES_SIZE = 'PropertiesSize';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1);
}
#endinitclip
}
movieClip 325 __Packages.mochi.as2.MochiScores {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiScores) {
var v1 = function () {};
mochi.as2.MochiScores = v1;
var v2 = v1.prototype;
v1.setBoardID = function (boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID});
};
v1.showLeaderboard = function (options) {
options.clip = mochi.as2.MochiServices.clip;
if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) {
mochi.as2.MochiServices.disconnect();
trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!');
trace('make sure MochiServices.connect is called as early in the application runtime as possible.');
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof options.name == 'object') {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else {
if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
}
var v1 = Number(options.score);
if (isNaN(v1)) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\'');
} else {
if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(v1) != v1) {
trace('WARNING: Submitted score \'' + options.score + '\' will be truncated');
}
options.score = v1;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
(mochi.as2.MochiServices.__get__clip()).stop();
}
if (options.onClose != null) {
mochi.as2.MochiScores.onClose = options.onClose;
} else {
mochi.as2.MochiScores.onClose = function () {
(mochi.as2.MochiServices.__get__clip()).play();
};
}
if (options.onError != null) {
mochi.as2.MochiScores.onError = options.onError;
} else {
mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose;
}
if (options.boardID == null) {
if (mochi.as2.MochiScores.boardID != null) {
options.boardID = mochi.as2.MochiScores.boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal');
mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose);
};
v1.closeLeaderboard = function () {
mochi.as2.MochiServices.send('scores_closeLeaderboard');
};
v1.getPlayerInfo = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod);
};
v1.submit = function (score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\'');
} else {
if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(score) != score) {
trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated');
}
score = Number(score);
}
}
mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod);
};
v1.requestList = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod);
};
v1.scoresArrayToObjects = function (scores) {
var v5 = {};
var v1;
var v4;
var v2;
var v6;
for (var v8 in scores) {
if (typeof scores[v8] == 'object') {
if (scores[v8].cols != null && scores[v8].rows != null) {
v5[v8] = [];
v2 = scores[v8];
v4 = 0;
while (v4 < v2.rows.length) {
v6 = {};
v1 = 0;
while (v1 < v2.cols.length) {
v6[v2.cols[v1]] = v2.rows[v4][v1];
++v1;
}
v5[v8].push(v6);
++v4;
}
} else {
v5[v8] = {};
for (var v7 in scores[v8]) {
v5[v8][v7] = scores[v8][v7];
}
}
} else {
v5[v8] = scores[v8];
}
}
return v5;
};
v1.doClose = function (args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = 'IOError';
}
mochi.as2.MochiScores.onError.apply(null, [args.errorCode]);
} else {
mochi.as2.MochiScores.onClose.apply();
}
};
ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1);
}
#endinitclip
}
movieClip 326 __Packages.mochi.as2.MochiDigits {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiDigits) {
var v1 = function (digit, index) {
this.Encoder = 0;
this.setValue(digit, index);
};
mochi.as2.MochiDigits = v1;
var v2 = v1.prototype;
v2.__get__value = function () {
return Number(this.toString());
};
v2.__set__value = function (v) {
this.setValue(v);
return this.__get__value();
};
v2.addValue = function (v) {
this.value += v;
};
v2.setValue = function (digit, index) {
var v3 = digit.toString();
if (index == undefined || isNaN(index)) {
index = 0;
}
this.Fragment = v3.charCodeAt(index++) ^ this.Encoder;
if (index < v3.length) {
this.Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
this.Sibling = null;
}
this.reencode();
};
v2.reencode = function () {
var v2 = int(2147483647 * Math.random());
this.Fragment ^= v2 ^ this.Encoder;
this.Encoder = v2;
};
v2.toString = function () {
var v2 = String.fromCharCode(this.Fragment ^ this.Encoder);
return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2;
};
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
}
// unknown tag 88 length 44
button 9 {
on (release) {
play();
}
}
button 12 {
on (release) {
_root.getURL('http://www.bovus.com/jeux/993/truck-launch-maniac.html', '_blank');
}
}
movieClip 14 {
}
movieClip 17 {
}
movieClip 20 {
}
movieClip 32 {
}
movieClip 35 {
}
movieClip 55 {
frame 1 {
stop();
}
instance of movieClip 14 {
onClipEvent (release) {
getURL('http://www.freegames-1.com', '_blank');
}
}
frame 181 {
stopAllSounds();
_root.nextFrame();
}
instance of movieClip 14 {
onClipEvent (release) {
_root.getURL('http://www.freegames-1.com', '_blank');
}
}
}
frame 3 {
stop();
}
movieClip 57 {
}
movieClip 60 {
}
movieClip 62 {
frame 1 {
x00 = _x;
y00 = _y;
MAAI = 400;
}
frame 2 {
x0 = _x;
y0 = _y;
x = _root._xmouse;
y = _root._ymouse;
a = x - x0;
b = y - y0;
r = Math.sqrt(a * a + b * b);
quer_fugir_x = this._x - (a / r) * MAAI / r;
quer_fugir_y = this._y - (b / r) * MAAI / r;
quer_voltar_x = (x00 - x0) / 2;
quer_voltar_y = (y00 - y0) / 2;
this._x = quer_fugir_x + quer_voltar_x;
this._y = quer_fugir_y + quer_voltar_y;
}
frame 3 {
gotoAndPlay(2);
}
}
button 64 {
on (release) {
nextFrame();
}
}
movieClip 67 {
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.music == 1) {
gotoAndStop(1);
}
if (_root.music == 0) {
gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.music == 1) {
_root.music = 0;
} else {
if (_root.music == 0) {
_root.music = 2;
}
}
}
}
movieClip 70 {
}
instance of movieClip 70 {
onClipEvent (release) {
getURL('http://www.freegames-1.com', '_blank');
}
}
movieClip 74 {
}
instance of movieClip 74 {
onClipEvent (load) {
delay = 60;
}
onClipEvent (enterFrame) {
delay -= 1;
if (delay <= 0) {
game = SharedObject.getLocal('mydata');
game.data.friction = _root.friction;
game.data.speed = _root.speed;
game.data.desc = _root.desc;
game.data.desc2 = _root.desc2;
game.data.ramp = _root.ramp;
game.data.pipe = _root.pipe;
game.data.fire = _root.fire;
game.data.bomb = _root.bomb;
game.data.gravity = _root.gravity;
game.data.ram = _root.ram;
game.data.coins = _root.coins;
game.data.coin = _root.coin;
game.data.moneys = _root.moneys;
game.data.ach1 = _root.ach1;
game.data.ach2 = _root.ach2;
game.data.ach3 = _root.ach3;
game.data.ach4 = _root.ach4;
game.data.ach5 = _root.ach5;
game.data.ach6 = _root.ach6;
game.data.ach7 = _root.ach7;
game.data.ach8 = _root.ach8;
game.data.bombtotal = _root.bombtotal;
game.data.signtotal = _root.signtotal;
game.data.coinstotal = _root.coinstotal;
game.data.disttotal = _root.disttotal;
game.data.free = _root.free;
game.flush();
delay = 60;
}
}
}
movieClip 76 {
}
movieClip 78 {
frame 1 {
stop();
}
instance of movieClip 76 {
onClipEvent (enterFrame) {
if (_root.music == 0) {
stopAllSounds();
_parent.gotoAndStop(1);
}
}
}
frame 2 {
_root.music = 2;
stop();
}
frame 3 {
_root.music = 3;
stop();
}
frame 4 {
_root.music = 4;
stop();
}
frame 5 {
stop();
_root.music = 1;
}
}
instance of movieClip 78 {
onClipEvent (enterFrame) {
if (_root.music !== 1 and _root.music !== 0) {
stopAllSounds();
gotoAndStop(5);
}
}
}
button 80 {
on (release) {
stopAllSounds();
_root.nextFrame();
}
}
// unknown tag 88 length 164
button 85 {
on (release) {
stopAllSounds();
_root.gotoAndStop(9);
}
}
movieClip 87 {
}
instance of movieClip 87 {
onClipEvent (load) {
if (_root.free == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
frame 5 {
_root.border.gametype = 'Long Jump Freeplay';
}
frame 5 {
stop();
_root.coin = 0;
}
movieClip 90 {
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
movieClip 92 {
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
movieClip 94 {
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
movieClip 96 {
}
movieClip 97 {
}
instance of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 640;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
}
}
}
movieClip 99 {
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
_xscale = 50 + Math.random() * 50;
_yscale = _xscale;
_alpha = Math.random() * 100;
_y = -2100 - Math.random() * 5000;
speed = Math.random() * 3;
}
onClipEvent (enterFrame) {
_x = _x + _root.node1.xspeed / (1.2 + speed / 10);
if (_x < _root.cam._x - 350) {
_x = _x + 710;
}
}
}
movieClip 103 {
}
movieClip 104 {
instance of movieClip 103 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
}
movieClip 105 {
frame 1 {
stop();
}
frame 14 {
stop();
readi = 1;
}
}
instance mud of movieClip 105 {
onClipEvent (load) {
ready = 1;
readi = 0;
xspeed = 0;
pipe = 0;
ram = _root.ram;
}
onClipEvent (load) {
_x = _x + (-200 + Math.random() * 400);
}
onClipEvent (enterFrame) {
if (ram < 1) {
_root.ramm._alpha = 0;
}
pipe = Math.round(_x / 20);
_x = _x + xspeed;
if (this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
_root.signtotal = Number(_root.signtotal + 1);
if (ready == 1) {
ready = 0;
xspeed = _root.node1.xspeed;
this.play();
if (ram < 1) {
_root.node1.xspeed *= 0.5;
_root.node1.yspeed *= 0.5;
_root.node2.xspeed *= 0.5;
_root.node2.yspeed *= 0.5;
} else {
ram -= 1;
}
}
}
if (_root.cam._x - 500 > _x or readi == 1) {
ready = 1;
readi = 0;
_x = _x + (2000 + Math.random() * 2000);
gotoAndStop(1);
xspeed = 0;
}
}
}
movieClip 118 {
frame 1 {
stop();
}
frame 2 {
_root.music1.start(0.1, 0);
_root.music1.start(0.1, 0);
}
frame 9 {
yes = 1;
}
frame 10 {
}
}
movieClip 119 {
instance bomb of movieClip 118 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.bombtotal = Number(_root.bombtotal + 1);
this.play();
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
}
instance of movieClip 119 {
onClipEvent (load) {
_x = _x + (-200 + Math.random() * 400);
}
onClipEvent (enterFrame) {
if (_root.cam._x - 500 > _x) {
_x = _x + (2000 + Math.random() * 2000);
}
}
}
movieClip 125 {
frame 4 {
stop();
}
frame 5 {
stop();
}
}
instance linee of movieClip 125 {
onClipEvent (load) {
if (_root.ramp == 0) {
gotoAndStop(1);
}
if (_root.ramp == 1) {
gotoAndStop(2);
}
if (_root.ramp == 2) {
gotoAndStop(3);
}
if (_root.ramp == 3) {
gotoAndStop(4);
}
if (_root.ramp == 4) {
gotoAndStop(5);
}
}
}
instance of movieClip 103 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
movieClip 128 {
}
movieClip 129 {
}
instance m of movieClip 129 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 131 {
}
instance node2 of movieClip 131 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.node2._y - _root.node1._y > 30) {
yspeed -= 2;
_root.node1.yspeed += 2;
}
if (_root.node2._y - _root.node1._y < -30) {
yspeed += 2;
_root.node1.yspeed -= 2;
}
while (_root.node2._y - _root.node1._y > 60) {
_y = _y - 2;
_root.node1._y += 2;
}
while (_root.node2._y - _root.node1._y < -60) {
_y = _y + 2;
_root.node1._y -= 2;
}
if (_root.node1.timer > 0) {
_root.node1.yspeed *= 0.9;
_root.node2.yspeed *= 0.9;
_root.node1.yspeed -= 1;
_root.node2.yspeed -= 1;
}
if (_root.car._x < 500) {
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
}
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
while (_root.linee.hitTest(_x, _y + _height / 2, true) or _root.linee.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee2.hitTest(_x, _y + _height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
yspeed -= 1.5;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 133 {
}
instance node1 of movieClip 133 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
inside._rotation += xspeed;
if (_root.car._x < 500) {
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
}
_x = _x + xspeed;
if (Key.isDown(32) and done == 0 and _root.car._x > 605) {
done = 1;
timer = Number(_root.fire * 100);
}
if (timer > 0) {
_root.node2._y = _y;
timer -= 1;
xspeed += Number(_root.fire / 10);
_root.node2.xspeed += Number(_root.fire / 10);
}
yspeed *= 0.995;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
while (_root.linee.hitTest(_x, _y + _height / 2, true) or _root.linee.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee2.hitTest(_x, _y + _height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
yspeed -= 1.5;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 135 {
}
instance of movieClip 135 {
onClipEvent (enterFrame) {
if (_root.node1._x < 0) {
_root.node1._x = 0;
_root.node2._x = 30;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
}
}
instance linee2 of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 1280;
}
}
}
movieClip 141 {
}
movieClip 142 {
frame 4 {
stop();
}
instance of movieClip 141 {
onClipEvent (load) {
rotspeed = 0;
}
onClipEvent (enterFrame) {
if (rotspeed < _root.node1.xspeed) {
rotspeed += 1;
}
rotspeed *= 0.995;
_rotation = _rotation + rotspeed;
}
}
instance of movieClip 141 {
onClipEvent (load) {
rotspeed = 0;
}
onClipEvent (enterFrame) {
if (rotspeed < _root.node1.xspeed) {
rotspeed += 0.8;
}
rotspeed *= 0.995;
_rotation = _rotation + rotspeed;
}
}
}
instance of movieClip 142 {
onClipEvent (load) {
_rotation = Math.random() * 360;
}
onClipEvent (enterFrame) {
_rotation = _rotation + _root.node2.xspeed * Math.PI;
_x = _root.node2._x + _root.node2.xspeed;
_y = _root.node2._y + _root.node2.yspeed;
if (_root.friction == 0.5) {
gotoAndStop(1);
}
if (_root.friction == 1) {
gotoAndStop(2);
}
if (_root.friction == 1.5) {
gotoAndStop(3);
}
if (_root.friction == 2) {
gotoAndStop(4);
}
}
}
instance of movieClip 142 {
onClipEvent (load) {
_rotation = Math.random() * 360;
}
onClipEvent (enterFrame) {
_rotation = _rotation + _root.node1.xspeed * Math.PI;
_x = _root.node1._x + _root.node1.xspeed;
_y = _root.node1._y + _root.node1.yspeed;
if (_root.friction == 0.5) {
gotoAndStop(1);
}
if (_root.friction == 1) {
gotoAndStop(2);
}
if (_root.friction == 1.5) {
gotoAndStop(3);
}
if (_root.friction == 2) {
gotoAndStop(4);
}
}
}
movieClip 148 {
}
instance ramm of movieClip 148 {
onClipEvent (enterFrame) {
if (_root.ram == 0) {
gotoAndStop(1);
}
if (_root.ram == 1) {
gotoAndStop(2);
}
if (_root.ram == 2) {
gotoAndStop(3);
}
if (_root.ram == 3) {
gotoAndStop(4);
}
}
}
movieClip 152 {
}
movieClip 154 {
frame 1 {
stop();
}
}
instance car of movieClip 154 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
if (_root.speed == 2) {
if (Key.isDown(39)) {
if (_x < 600) {
gotoAndStop(2);
}
} else {
gotoAndStop(1);
}
}
this._x = (_root.node1._x + _root.node2._x) / 2 + _root.node1.xspeed;
this._y = (_root.node1._y + _root.node2._y) / 2 + _root.node1.yspeed;
if (engine == 1) {
_root.engine.gotoAndStop(2);
} else {
_root.engine.gotoAndStop(1);
}
if (_root.node1.xspeed < 0 and Key.isDown(37)) {
if (_x < 600) {
engine = 1;
if (_root.engine._currentframe == 1) {
stopAllSounds();
}
}
} else {
if (_root.node1.xspeed > 0 and Key.isDown(39)) {
if (_x < 600) {
engine = 1;
if (_root.engine._currentframe == 1) {
stopAllSounds();
}
}
} else {
if (_x < 600) {
engine = 0;
if (_root.engine._currentframe == 2) {
stopAllSounds();
}
}
}
}
this._rotation = Math.atan((_root.node2._y - _root.node1._y) / (_root.node2._x - _root.node1._x)) * 180 / Math.PI;
_root.firework._rotation = _rotation - 10;
_root.firework._x = _x;
_root.firework._y = _y;
_root.ramm._rotation = _rotation;
_root.ramm._x = _x;
_root.ramm._y = _y;
if (_y < -2500) {
_root.ach2 = 1;
}
}
}
movieClip 159 {
frame 1 {
stop();
}
}
// unknown tag 88 length 96
button 163 {
on (release) {
stopAllSounds();
_root.gotoAndPlay(_root._currentframe - 1);
}
}
button 166 {
on (release) {
stopAllSounds();
_root.gotoAndStop(3);
}
}
button 170 {
on (release) {
_root.holder.show = 1;
}
}
movieClip 171 {
}
instance border of movieClip 171 {
onClipEvent (enterFrame) {
pipe = Math.round(_x / 20) - 16;
_x = _root.cam._x;
_y = _root.cam._y;
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
movieClip 176 {
}
movieClip 177 {
frame 1 {
stop();
}
}
movieClip 179 {
}
movieClip 181 {
}
movieClip 184 {
}
movieClip 185 {
instance of movieClip 177 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 179 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 181 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 184 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance firework of movieClip 185 {
onClipEvent (enterFrame) {
if (_root.fire == 0) {
gotoAndStop(1);
}
if (_root.fire == 1) {
gotoAndStop(2);
}
if (_root.fire == 2) {
gotoAndStop(3);
}
if (_root.fire == 3) {
gotoAndStop(4);
}
if (_root.fire == 4) {
gotoAndStop(5);
}
}
}
movieClip 188 {
frame 1 {
stop();
}
frame 2 {
_root.coinstotal = Number(_root.coinstotal + 1);
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 1) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 1) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 1) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 1) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 2) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 2) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 2) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 2) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 2) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 2) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
movieClip 191 {
}
movieClip 195 {
}
movieClip 199 {
}
movieClip 202 {
}
movieClip 205 {
}
movieClip 208 {
}
movieClip 211 {
}
movieClip 218 {
}
movieClip 221 {
}
button 223 {
on (release) {
_parent.show = 0;
}
}
movieClip 227 {
frame 1 {
stop();
}
}
movieClip 228 {
instance a1 of movieClip 195 {
onClipEvent (load) {
if (_root.ach1 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a2 of movieClip 199 {
onClipEvent (load) {
if (_root.ach2 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a3 of movieClip 202 {
onClipEvent (load) {
if (_root.ach3 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a4 of movieClip 205 {
onClipEvent (load) {
if (_root.ach4 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a8 of movieClip 208 {
onClipEvent (load) {
if (_root.ach8 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a7 of movieClip 211 {
onClipEvent (load) {
if (_root.ach7 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a6 of movieClip 218 {
onClipEvent (load) {
if (_root.ach6 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a5 of movieClip 221 {
onClipEvent (load) {
if (_root.ach5 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance desco of movieClip 227 {
onClipEvent (enterFrame) {
if (_root.holder.ach.a1.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'FAIL';
_root.desc2 = 'Get less than 100m';
gotoAndStop(2);
} else {
if (_root.holder.ach.a2.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Astronaut';
_root.desc2 = 'Reach outer space';
gotoAndStop(2);
} else {
if (_root.holder.ach.a3.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Fully upgraded';
_root.desc2 = 'Upgrade everything';
gotoAndStop(2);
} else {
if (_root.holder.ach.a4.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Keen';
_root.desc2 = 'Break 20000 points';
gotoAndStop(2);
} else {
if (_root.holder.ach.a5.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Bomberman';
_root.desc2 = 'Hit 50 bombs';
gotoAndStop(2);
} else {
if (_root.holder.ach.a6.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Clumsy';
_root.desc2 = 'Hit 50 signposts';
gotoAndStop(2);
} else {
if (_root.holder.ach.a7.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Globe trotter';
_root.desc2 = 'Travel 100000 meters';
gotoAndStop(2);
} else {
if (_root.holder.ach.a8.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.desc = 'Loaded';
_root.desc2 = 'Collect 50 coins';
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
}
}
}
}
_x = Math.round(_root._xmouse - _parent._x - _parent._parent._x);
_y = Math.round(_root._ymouse - _parent._y - _parent._parent._y);
if (_x > 80) {
_x = 80;
}
desc = _root.desc;
desc2 = _root.desc2;
}
}
}
movieClip 229 {
frame 2 {
if (_root.bombtotal > 49) {
_root.ach5 = 1;
}
if (_root.signtotal > 49) {
_root.ach6 = 1;
}
if (_root.disttotal > 99999) {
_root.ach7 = 1;
}
if (_root.coinstotal > 49) {
_root.ach8 = 1;
}
}
frame 10 {
stop();
}
frame 11 {
prevFrame();
}
}
instance holder of movieClip 229 {
onClipEvent (load) {
show = 0;
}
onClipEvent (enterFrame) {
if (show == 1) {
play();
}
if (show == 0) {
gotoAndStop(1);
}
}
}
movieClip 232 {
frame 1 {
stop();
}
}
instance of movieClip 232 {
onClipEvent (load) {
done = 3;
ready = 0;
}
onClipEvent (enterFrame) {
if (ready == 1) {
done -= 1;
}
if (done == 1) {
gotoAndStop(2);
}
if (_root.car._x > 600 and ready == 0) {
stopAllSounds();
ready = 1;
}
}
}
movieClip 234 {
frame 1 {
stop();
}
frame 25 {
stopAllSounds();
_root.ends = score;
_root.nextFrame();
}
}
instance of movieClip 234 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.node1.xspeed < 2 and _root.node1.yspeed < 2 and _root.node1.yspeed > -2 and _root.node1._x > 500) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance bomb1 of movieClip 118 {
onClipEvent (load) {
if (_root.bomb > 0) {
done = 0;
} else {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (yes == 1) {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (press) {
if (done !== 1) {
play();
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
instance bomb2 of movieClip 118 {
onClipEvent (load) {
returned = 0;
ready = 0;
if (_root.bomb > 1) {
done = 0;
} else {
done = 1;
}
gotoAndStop(20);
}
onClipEvent (enterFrame) {
_root.ready = ready;
_root.done = done;
if (_root.bomb1.done == 1) {
ready = 1;
}
if (ready == 1) {
if (returned == 0) {
gotoAndStop(1);
returned = 1;
}
if (yes == 1) {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
onClipEvent (press) {
if (ready == 1) {
if (done !== 1) {
play();
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
}
instance bomb3 of movieClip 118 {
onClipEvent (load) {
returned = 0;
ready = 0;
if (_root.bomb > 2) {
done = 0;
} else {
done = 1;
}
gotoAndStop(20);
}
onClipEvent (enterFrame) {
_root.ready = ready;
_root.done = done;
if (_root.bomb2.done == 1) {
ready = 1;
}
if (ready == 1) {
if (returned == 0) {
gotoAndStop(1);
returned = 1;
}
if (yes == 1) {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
onClipEvent (press) {
if (ready == 1) {
if (done !== 1) {
play();
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
}
movieClip 236 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
instance cam of movieClip 236 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 600) {
if (ymo > 0) {
ymo -= 5;
}
if (ymo < 0) {
ymo += 5;
}
if (eskimo > -200) {
eskimo -= 5;
}
_y = _y + (_root.car._y - ymo - _y) / 4;
ex += (_root.car._x + 50 - eskimo - _x) / 3;
} else {
ymo = _root.car._y - _y;
}
_x = ex;
if (_y > 350) {
_y = 350;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 6 {
if (_root.coins > 0) {
nextFrame();
} else {
mochi.as2.MochiAd.showClickAwayAd({'clip': _root.adclip, 'id': 'f12de306106a7b20'});
_root.moneys = Number(_root.moneys + _root.ends);
}
_root.disttotal = Number(_root.disttotal + _root.ends);
if (ends < 100) {
ach1 = 1;
}
if (ends > 19999) {
ach4 = 1;
}
}
movieClip 242 {
instance of movieClip 4 {
onClipEvent (enterFrame) {
_rotation = _rotation + 5;
}
}
}
button 244 {
on (release) {
gotoAndStop(8);
}
on (keyPress '<Space>') {
gotoAndStop(8);
}
}
button 246 {
on (release) {
stopAllSounds();
gotoAndStop(3);
}
}
button 248 {
on (release) {
_root.playerscore = _root.ends;
gotoAndStop(11);
}
}
button 249 {
on (release) {
getURL('http://www.freegames-1.com', '_blank');
}
}
frame 7 {
if (ach1 == 1 and ach2 == 1 and ach3 == 1 and ach4 == 1 and ach5 == 1 and ach6 == 1 and ach7 == 1 and ach8 == 1 and free == 0) {
free = 1;
gotoAndStop(8);
}
mochi.as2.MochiAd.showClickAwayAd({'clip': _root.adclip, 'id': 'f12de306106a7b20'});
cointotal = _root.coin + ' x 100';
total = Number(_root.coin * 100 + _root.ends);
_root.moneys = Number(_root.moneys + _root.total);
_root.disttotal = Number(_root.disttotal + _root.ends);
if (ends < 100) {
ach1 = 1;
}
if (total > 19999) {
ach4 = 1;
}
}
button 257 {
on (release) {
_root.playerscore = _root.total;
gotoAndStop(11);
}
}
movieClip 264 {
}
movieClip 266 {
instance of movieClip 141 {
onClipEvent (load) {
rotspeed = 0;
}
onClipEvent (enterFrame) {
if (rotspeed < _root.node1.xspeed) {
rotspeed += 1;
}
rotspeed *= 0.995;
_rotation = _rotation + rotspeed;
}
}
instance of movieClip 141 {
onClipEvent (load) {
rotspeed = 0;
}
onClipEvent (enterFrame) {
if (rotspeed < _root.node1.xspeed) {
rotspeed += 0.8;
}
rotspeed *= 0.995;
_rotation = _rotation + rotspeed;
}
}
}
instance up3 of movieClip 266 {
onClipEvent (load) {
if (_root.friction == 0.5) {
gotoAndStop(1);
}
if (_root.friction == 1) {
gotoAndStop(2);
}
if (_root.friction == 1.5) {
gotoAndStop(3);
}
if (_root.friction == 2) {
gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.friction == 0.5) {
gotoAndStop(1);
}
if (_root.friction == 1) {
gotoAndStop(2);
}
if (_root.friction == 1.5) {
gotoAndStop(3);
}
if (_root.friction == 2) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.friction == 0.5 and _root.moneys > 100) {
_root.friction = 1;
_root.moneys = Number(_root.moneys - 100);
} else {
if (_root.friction == 1 and _root.moneys > 500) {
_root.friction = 1.5;
_root.moneys = Number(_root.moneys - 500);
} else {
if (_root.friction == 1.5 and _root.moneys > 2000) {
_root.friction = 2;
_root.moneys = Number(_root.moneys - 2000);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.friction == 0.5) {
_root.desc = 'Round Wheels - 100 coins';
_root.desc2 = 'Might help a bit';
}
if (_root.friction == 1) {
_root.desc = 'Slick Wheels - 500 coins';
_root.desc2 = 'Decreases friction';
}
if (_root.friction == 1.5) {
_root.desc = 'Spinners - 2000 coins';
_root.desc2 = 'Stylish and fast';
}
if (_root.friction == 2) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
movieClip 271 {
}
movieClip 272 {
}
instance up4 of movieClip 272 {
onClipEvent (load) {
if (_root.ramp == 0) {
gotoAndStop(1);
}
if (_root.ramp == 1) {
gotoAndStop(2);
}
if (_root.ramp == 2) {
gotoAndStop(3);
}
if (_root.ramp == 3) {
gotoAndStop(4);
}
if (_root.ramp == 4) {
gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.ramp == 0) {
gotoAndStop(1);
}
if (_root.ramp == 1) {
gotoAndStop(2);
}
if (_root.ramp == 2) {
gotoAndStop(3);
}
if (_root.ramp == 3) {
gotoAndStop(4);
}
if (_root.ramp == 4) {
gotoAndStop(5);
}
}
onClipEvent (release) {
if (_root.ramp == 0) {
_root.ramp = 1;
} else {
if (_root.ramp == 1 and _root.moneys > 1000) {
_root.ramp = 2;
_root.moneys = Number(_root.moneys - 1000);
} else {
if (_root.ramp == 2 and _root.moneys > 4500) {
_root.ramp = 3;
_root.moneys = Number(_root.moneys - 4500);
} else {
if (_root.ramp == 3 and _root.moneys > 10000) {
_root.ramp = 4;
_root.moneys = Number(_root.moneys - 10000);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.ramp == 0) {
_root.desc = 'Tiny Ramp - 500 coins';
_root.desc2 = '';
}
if (_root.ramp == 1) {
_root.desc = 'Small Ramp - 1000 coins';
_root.desc2 = 'A tiny bit bigger';
}
if (_root.ramp == 2) {
_root.desc = 'Midi Ramp - 4500 coins';
_root.desc2 = 'This one has a run-up';
}
if (_root.ramp == 3) {
_root.desc = 'Huge Ramp - 10000 coins';
_root.desc2 = 'From an old coaster';
}
if (_root.ramp == 4) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
} else {}
}
}
movieClip 277 {
}
movieClip 278 {
}
instance up2 of movieClip 278 {
onClipEvent (load) {
if (_root.speed == 0.5) {
gotoAndStop(1);
}
if (_root.speed == 1) {
gotoAndStop(2);
}
if (_root.speed == 1.5) {
gotoAndStop(3);
}
if (_root.speed == 2) {
gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.speed == 0.5) {
gotoAndStop(1);
}
if (_root.speed == 1) {
gotoAndStop(2);
}
if (_root.speed == 1.5) {
gotoAndStop(3);
}
if (_root.speed == 2) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.speed == 0.5 and _root.moneys > 400) {
_root.speed = 1;
_root.moneys = Number(_root.moneys - 400);
} else {
if (_root.speed == 1 and _root.moneys > 1000) {
_root.speed = 1.5;
_root.moneys = Number(_root.moneys - 1000);
} else {
if (_root.speed == 1.5 and _root.moneys > 5000) {
_root.speed = 2;
_root.moneys = Number(_root.moneys - 5000);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.speed == 0.5) {
_root.desc = 'Speed up - 400 coins';
_root.desc2 = 'Increases acceleration';
}
if (_root.speed == 1) {
_root.desc = 'Double speed - 1000 coins';
_root.desc2 = 'Doubles the max speed';
}
if (_root.speed == 1.5) {
_root.desc = 'Triple speed - 5000 coins';
_root.desc2 = 'Flames included';
}
if (_root.speed == 2) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
movieClip 284 {
}
movieClip 285 {
}
instance up1 of movieClip 285 {
onClipEvent (load) {
if (_root.fire == 0) {
gotoAndStop(1);
}
if (_root.fire == 1) {
gotoAndStop(2);
}
if (_root.fire == 2) {
gotoAndStop(3);
}
if (_root.fire == 3) {
gotoAndStop(4);
}
if (_root.fire == 4) {
gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.fire == 0) {
gotoAndStop(1);
}
if (_root.fire == 1) {
gotoAndStop(2);
}
if (_root.fire == 2) {
gotoAndStop(3);
}
if (_root.fire == 3) {
gotoAndStop(4);
}
if (_root.fire == 4) {
gotoAndStop(5);
}
}
onClipEvent (release) {
if (_root.fire == 0 and _root.moneys > 1200) {
_root.fire = 1;
_root.moneys = Number(_root.moneys - 1200);
} else {
if (_root.fire == 1 and _root.moneys > 5000) {
_root.fire = 2;
_root.moneys = Number(_root.moneys - 5000);
} else {
if (_root.fire == 2 and _root.moneys > 10000) {
_root.fire = 3;
_root.moneys = Number(_root.moneys - 10000);
} else {
if (_root.fire == 3 and _root.moneys > 20000) {
_root.fire = 4;
_root.moneys = Number(_root.moneys - 20000);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.fire == 0) {
_root.desc = 'Firework - 1200 coins';
_root.desc2 = 'Press space to fire';
}
if (_root.fire == 1) {
_root.desc = 'Rocket - 5000 coins';
_root.desc2 = 'Completely safe';
}
if (_root.fire == 2) {
_root.desc = 'Big rocket - 10000 coins';
_root.desc2 = 'Huge rocket boost';
}
if (_root.fire == 3) {
_root.desc = 'Double rocket - 20k coins';
_root.desc2 = 'OH MAH GAWD!!';
}
if (_root.fire == 4) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
movieClip 290 {
}
movieClip 291 {
}
instance up5 of movieClip 291 {
onClipEvent (load) {
if (_root.bomb == 0) {
gotoAndStop(1);
}
if (_root.bomb == 1) {
gotoAndStop(2);
}
if (_root.bomb == 2) {
gotoAndStop(3);
}
if (_root.bomb == 3) {
gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.bomb == 0) {
gotoAndStop(1);
}
if (_root.bomb == 1) {
gotoAndStop(2);
}
if (_root.bomb == 2) {
gotoAndStop(3);
}
if (_root.bomb == 3) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.bomb == 0 and _root.moneys > 1000) {
_root.bomb = 1;
_root.moneys = Number(_root.moneys - 1000);
} else {
if (_root.bomb == 1 and _root.moneys > 5000) {
_root.bomb = 2;
_root.moneys = Number(_root.moneys - 5000);
} else {
if (_root.bomb == 2 and _root.moneys > 10000) {
_root.bomb = 3;
_root.moneys = Number(_root.moneys - 10000);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.bomb == 0) {
_root.desc = 'Bomb - 1000 coins';
_root.desc2 = 'A portable explosive';
}
if (_root.bomb == 1) {
_root.desc = '2 Bombs - 4000 coins';
_root.desc2 = '2 bombs per jump!';
}
if (_root.bomb == 2) {
_root.desc = '3 Bombs - 10000 coins';
_root.desc2 = '3 bombs per jump!!';
}
if (_root.bomb == 3) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
// unknown tag 88 length 36
movieClip 298 {
}
movieClip 299 {
}
instance up6 of movieClip 299 {
onClipEvent (load) {
if (_root.gravity == 1) {
gotoAndStop(1);
}
if (_root.gravity == 0.85) {
gotoAndStop(2);
}
if (_root.gravity == 0.7) {
gotoAndStop(3);
}
if (_root.gravity == 0.5) {
gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.gravity == 1) {
gotoAndStop(1);
}
if (_root.gravity == 0.85) {
gotoAndStop(2);
}
if (_root.gravity == 0.7) {
gotoAndStop(3);
}
if (_root.gravity == 0.5) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.gravity == 1 and _root.moneys > 650) {
_root.gravity = 0.85;
_root.moneys = Number(_root.moneys - 650);
} else {
if (_root.gravity == 0.85 and _root.moneys > 2000) {
_root.gravity = 0.7;
_root.moneys = Number(_root.moneys - 2000);
} else {
if (_root.gravity == 0.7 and _root.moneys > 9000) {
_root.gravity = 0.5;
_root.moneys = Number(_root.moneys - 9000);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gravity == 1) {
_root.desc = 'Weight loss - 650 coins';
_root.desc2 = 'Raises jump distance';
}
if (_root.gravity == 0.85) {
_root.desc = 'More weight loss - 2k coins';
_root.desc2 = 'Increases bounciness';
}
if (_root.gravity == 0.7) {
_root.desc = 'Uber weight loss - 9k coins';
_root.desc2 = '1/2 the original weight';
}
if (_root.gravity == 0.5) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
movieClip 303 {
}
movieClip 304 {
}
instance up7 of movieClip 304 {
onClipEvent (load) {
if (_root.ram == 0) {
gotoAndStop(1);
}
if (_root.ram == 1) {
gotoAndStop(2);
}
if (_root.ram == 2) {
gotoAndStop(3);
}
if (_root.ram == 3) {
gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.ram == 0) {
gotoAndStop(1);
}
if (_root.ram == 1) {
gotoAndStop(2);
}
if (_root.ram == 2) {
gotoAndStop(3);
}
if (_root.ram == 3) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.ram == 0 and _root.moneys > 750) {
_root.ram = 1;
_root.moneys = Number(_root.moneys - 750);
} else {
if (_root.ram == 1 and _root.moneys > 4000) {
_root.ram = 2;
_root.moneys = Number(_root.moneys - 4000);
} else {
if (_root.ram == 2 and _root.moneys > 9000) {
_root.ram = 3;
_root.moneys = Number(_root.moneys - 9000);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.ram == 0) {
_root.desc = 'Twig - 750 coins';
_root.desc2 = 'Smashes 1 signpost';
}
if (_root.ram == 1) {
_root.desc = 'Log - 4000 coins';
_root.desc2 = 'Smashes 2 signposts';
}
if (_root.ram == 2) {
_root.desc = 'Crowbar - 9000 coins';
_root.desc2 = 'Smashes 3 signpost!';
}
if (_root.ram == 3) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
movieClip 306 {
}
movieClip 310 {
}
movieClip 311 {
}
instance up8 of movieClip 311 {
onClipEvent (load) {
if (_root.coins == 0) {
gotoAndStop(1);
}
if (_root.coins == 1) {
gotoAndStop(2);
}
if (_root.coins == 2) {
gotoAndStop(3);
}
if (_root.coins == 3) {
gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.coins == 0) {
gotoAndStop(1);
}
if (_root.coins == 1) {
gotoAndStop(2);
}
if (_root.coins == 2) {
gotoAndStop(3);
}
if (_root.coins == 3) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.coins == 0 and _root.moneys > 200) {
_root.coins = 1;
_root.moneys = Number(_root.moneys - 200);
} else {
if (_root.coins == 1 and _root.moneys > 1000) {
_root.coins = 2;
_root.moneys = Number(_root.moneys - 1000);
} else {
if (_root.coins == 2 and _root.moneys > 4000) {
_root.coins = 3;
_root.moneys = Number(_root.moneys - 4000);
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.coins == 0) {
_root.desc = 'Coins - 200 coins';
_root.desc2 = 'Collect these for points';
}
if (_root.coins == 1) {
_root.desc = 'More coins - 1000 coins';
_root.desc2 = 'Extra coins';
}
if (_root.coins == 2) {
_root.desc = 'Even more coins - 4k coins';
_root.desc2 = 'Lotsa coins!';
}
if (_root.coins == 3) {
_root.desc = 'Max';
_root.desc2 = 'No more upgrades';
}
_root.desco.gotoAndStop(2);
}
}
}
instance desco of movieClip 227 {
onClipEvent (enterFrame) {
if (_root.friction == 2 and _root.speed == 2 and _root.ramp == 4 and _root.fire == 4 and _root.bomb == 3 and _root.gravity == 0.5 and _root.ram == 3 and _root.coins == 3) {
_root.ach3 = 1;
}
if (!_root.up1.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up2.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up3.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up4.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up5.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up6.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up7.hitTest(_root._xmouse, _root._ymouse, true) and !_root.up8.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop(1);
}
_x = Math.round(_root._xmouse);
_y = Math.round(_root._ymouse);
if (_x > 375) {
_x = 375;
}
desc = _root.desc;
desc2 = _root.desc2;
}
}
button 312 {
on (release) {
stopAllSounds();
gotoAndStop(5);
}
on (keyPress '<Space>') {
stopAllSounds();
gotoAndStop(5);
}
}
button 317 {
on (release) {
nextFrame();
}
}
button 318 {
on (release) {
prevFrame();
}
}
frame 10 {
_root.border.gametype = 'Long Jump Freeplay';
}
frame 10 {
stop();
_root.coin = 0;
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.cam._x + 2569.25 < _x) {
_x = _x - 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.2;
}
}
}
instance of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 640;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
if (_root.cam._x - 640 < _x) {
_x = _x - 640;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
if (_root.cam._x + 900 < _x) {
_x = _x - 1800;
}
if (_root.car._x > 600) {
_x = _x + _root.node1.xspeed / 2;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
}
}
}
instance mud of movieClip 105 {
onClipEvent (load) {
ready = 1;
readi = 0;
xspeed = 0;
pipe = 0;
ram = _root.ram;
}
onClipEvent (load) {
_x = _x + (-200 + Math.random() * 400);
}
onClipEvent (enterFrame) {
if (ram < 1) {
_root.ramm._alpha = 0;
}
pipe = Math.round(_x / 20);
_x = _x + xspeed;
if (this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
_root.signtotal = Number(_root.signtotal + 1);
if (ready == 1) {
ready = 0;
xspeed = _root.node1.xspeed;
this.play();
if (ram < 1) {
_root.node1.xspeed *= 0.5;
_root.node1.yspeed *= 0.5;
_root.node2.xspeed *= 0.5;
_root.node2.yspeed *= 0.5;
} else {
ram -= 1;
}
}
}
if (_root.cam._x - 500 > _x or readi == 1) {
ready = 1;
readi = 0;
_x = _x + (2000 + Math.random() * 2000);
gotoAndStop(1);
xspeed = 0;
}
}
}
instance of movieClip 119 {
onClipEvent (load) {
_x = _x + (-200 + Math.random() * 400);
}
onClipEvent (enterFrame) {
if (_root.cam._x - 500 > _x) {
_x = _x + (2000 + Math.random() * 2000);
}
}
}
instance linee of movieClip 125 {
onClipEvent (load) {
if (_root.ramp == 0) {
gotoAndStop(1);
}
if (_root.ramp == 1) {
gotoAndStop(2);
}
if (_root.ramp == 2) {
gotoAndStop(3);
}
if (_root.ramp == 3) {
gotoAndStop(4);
}
if (_root.ramp == 4) {
gotoAndStop(5);
}
}
}
instance of movieClip 103 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance m of movieClip 129 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
instance node2 of movieClip 131 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.node2._y - _root.node1._y > 30) {
yspeed -= 2;
_root.node1.yspeed += 2;
}
if (_root.node2._y - _root.node1._y < -30) {
yspeed += 2;
_root.node1.yspeed -= 2;
}
while (_root.node2._y - _root.node1._y > 60) {
_y = _y - 2;
_root.node1._y += 2;
}
while (_root.node2._y - _root.node1._y < -60) {
_y = _y + 2;
_root.node1._y -= 2;
}
if (_root.node1.timer > 0) {
_root.node1.yspeed *= 0.9;
_root.node2.yspeed *= 0.9;
_root.node1.yspeed -= 1;
_root.node2.yspeed -= 1;
}
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
while (_root.linee.hitTest(_x, _y + _height / 2, true) or _root.linee.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee2.hitTest(_x, _y + _height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
yspeed -= 1.5;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 133 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
_x = _x + xspeed;
if (Key.isDown(32) and done == 0) {
done = 1;
timer = Number(_root.fire * 100);
}
if (timer > 0) {
_root.node2._y = _y;
timer -= 1;
xspeed += Number(_root.fire / 10);
_root.node2.xspeed += Number(_root.fire / 10);
} else {
done = 0;
}
yspeed *= 0.995;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
while (_root.linee.hitTest(_x, _y + _height / 2, true) or _root.linee.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee2.hitTest(_x, _y + _height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
yspeed -= 1.5;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 135 {
onClipEvent (enterFrame) {
if (_root.node1._x < 0) {
_root.node1._x = 0;
_root.node2._x = 30;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
}
}
instance linee2 of movieClip 97 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 1280;
}
if (_root.cam._x + 640 < _x) {
_x = _x - 1280;
}
}
}
instance of movieClip 142 {
onClipEvent (load) {
_rotation = Math.random() * 360;
}
onClipEvent (enterFrame) {
_rotation = _rotation + _root.node2.xspeed * Math.PI;
_x = _root.node2._x + _root.node2.xspeed;
_y = _root.node2._y + _root.node2.yspeed;
if (_root.friction == 0.5) {
gotoAndStop(1);
}
if (_root.friction == 1) {
gotoAndStop(2);
}
if (_root.friction == 1.5) {
gotoAndStop(3);
}
if (_root.friction == 2) {
gotoAndStop(4);
}
}
}
instance of movieClip 142 {
onClipEvent (load) {
_rotation = Math.random() * 360;
}
onClipEvent (enterFrame) {
_rotation = _rotation + _root.node1.xspeed * Math.PI;
_x = _root.node1._x + _root.node1.xspeed;
_y = _root.node1._y + _root.node1.yspeed;
if (_root.friction == 0.5) {
gotoAndStop(1);
}
if (_root.friction == 1) {
gotoAndStop(2);
}
if (_root.friction == 1.5) {
gotoAndStop(3);
}
if (_root.friction == 2) {
gotoAndStop(4);
}
}
}
instance ramm of movieClip 148 {
onClipEvent (enterFrame) {
if (_root.ram == 0) {
gotoAndStop(1);
}
if (_root.ram == 1) {
gotoAndStop(2);
}
if (_root.ram == 2) {
gotoAndStop(3);
}
if (_root.ram == 3) {
gotoAndStop(4);
}
}
}
instance car of movieClip 154 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
if (_root.speed == 2) {
if (Key.isDown(39)) {
if (_x < 600) {
gotoAndStop(2);
}
} else {
gotoAndStop(1);
}
}
this._x = (_root.node1._x + _root.node2._x) / 2 + _root.node1.xspeed;
this._y = (_root.node1._y + _root.node2._y) / 2 + _root.node1.yspeed;
if (engine == 1) {
_root.engine.gotoAndStop(2);
} else {
_root.engine.gotoAndStop(1);
}
if (Key.isDown(37) or Key.isDown(39)) {
if (_x < 600) {
engine = 1;
if (_root.engine._currentframe == 1) {
stopAllSounds();
}
}
} else {
if (_x < 600) {
engine = 0;
if (_root.engine._currentframe == 2) {
stopAllSounds();
}
}
}
this._rotation = Math.atan((_root.node2._y - _root.node1._y) / (_root.node2._x - _root.node1._x)) * 180 / Math.PI;
_root.firework._rotation = _rotation - 10;
_root.firework._x = _x;
_root.firework._y = _y;
_root.ramm._rotation = _rotation;
_root.ramm._x = _x;
_root.ramm._y = _y;
if (_y < -2500) {
_root.ach2 = 1;
}
}
}
instance of movieClip 232 {
onClipEvent (load) {
done = 3;
ready = 0;
}
onClipEvent (enterFrame) {
if (ready == 1) {
done -= 1;
}
if (done == 1) {
gotoAndStop(2);
}
if (_root.car._x > 600 and ready == 0) {
stopAllSounds();
ready = 1;
}
}
}
instance border of movieClip 171 {
onClipEvent (enterFrame) {
pipe = Math.round(_x / 20) - 16;
_x = _root.cam._x;
_y = _root.cam._y;
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance firework of movieClip 185 {
onClipEvent (enterFrame) {
if (_root.fire == 0) {
gotoAndStop(1);
}
if (_root.fire == 1) {
gotoAndStop(2);
}
if (_root.fire == 2) {
gotoAndStop(3);
}
if (_root.fire == 3) {
gotoAndStop(4);
}
if (_root.fire == 4) {
gotoAndStop(5);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 1) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 1) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 1) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 1) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 2) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 2) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 2) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 2) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 2) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 2) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance of movieClip 188 {
onClipEvent (load) {
if (_root.coins < 3) {
_y = 5000;
}
}
onClipEvent (enterFrame) {
if (_root.coins < 3) {
_y = 5000;
}
if (_root.cam._x - 2000 > _x) {
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node2)) {
play();
_x = _x + (4000 + Math.random() * 2000);
_y = -1500 + Math.random() * 2000;
_root.coin = Number(_root.coin + 1);
}
}
}
instance holder of movieClip 229 {
onClipEvent (load) {
show = 0;
}
onClipEvent (enterFrame) {
if (show == 1) {
play();
}
if (show == 0) {
gotoAndStop(1);
}
}
}
instance of movieClip 234 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.node1.xspeed < 2 and _root.node1.yspeed < 2 and _root.node1.yspeed > -2 and _root.node1._x > 500) {
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance bomb1 of movieClip 118 {
onClipEvent (load) {
if (_root.bomb > 0) {
done = 0;
} else {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (yes == 1) {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (press) {
if (done !== 1) {
play();
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
instance bomb2 of movieClip 118 {
onClipEvent (load) {
returned = 0;
ready = 0;
if (_root.bomb > 1) {
done = 0;
} else {
done = 1;
}
gotoAndStop(20);
}
onClipEvent (enterFrame) {
_root.ready = ready;
_root.done = done;
if (_root.bomb1.done == 1) {
ready = 1;
}
if (_root.bomb2.done == 1) {
ready = 1;
done = 0;
yes = 0;
}
if (ready == 1) {
if (returned == 0) {
gotoAndStop(1);
returned = 1;
}
if (yes == 1) {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
onClipEvent (press) {
if (ready == 1) {
if (done !== 1) {
play();
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
}
instance bomb3 of movieClip 118 {
onClipEvent (load) {
returned = 0;
ready = 0;
if (_root.bomb > 2) {
done = 0;
} else {
done = 1;
}
gotoAndStop(20);
}
onClipEvent (enterFrame) {
_root.ready = ready;
_root.done = done;
if (_root.bomb2.done == 1) {
ready = 1;
}
if (ready == 1) {
if (returned == 0) {
gotoAndStop(1);
returned = 1;
}
if (yes == 1) {
done = 1;
}
if (done == 1) {
gotoAndStop(20);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
onClipEvent (press) {
if (ready == 1) {
if (done !== 1) {
play();
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
}
instance cam of movieClip 236 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 600) {
if (ymo > 0) {
ymo -= 5;
}
if (ymo < 0) {
ymo += 5;
}
if (eskimo > -200) {
eskimo -= 5;
}
_y = _y + (_root.car._y - ymo - _y) / 4;
ex += _root.car._x + 50 - eskimo - _x;
} else {
ymo = _root.car._y - _y;
}
_x = ex;
if (_y > 350) {
_y = 350;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 11 {
var o = {'n': [2, 12, 14, 9, 13, 6, 14, 15, 13, 14, 12, 4, 14, 10, 6, 13], 'f': function (i, s) {
if (s.length == 16) {
return s;
}
return this.f(i + 1, s + this.n[i].toString(16));
}};
var boardID = o.f(0, '2ce9d6efdec4ea6d');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': playerscore});
}
frame 12 {
gotoAndStop(7);
}