Combined Code
frame 1 {
mochi.as2.MochiServices.connect('8eed5b3e52b1b50d');
var NoMenu = new ContextMenu();
NoMenu.hideBuiltInItems();
this.menu = NoMenu;
var CPMStarContentSpotID = '3330QF5B62E3C';
System.security.allowDomain('server.cpmstar.com');
var urlString = _root._url;
if (urlString.indexOf('kongregate.com') == -1) {
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
}
frame 1 {
function Lbar() {
if (getBytesLoaded() >= getBytesTotal() and extra > 49 and _root.loads !== 0) {
_root.loading.gotoAndStop(2);
clearInterval(LoaderInt);
}
_root.loadbar._xscale = (getBytesLoaded() / getBytesTotal()) * 50 + extra;
}
stop();
extra = 0;
LoaderInt = setInterval(Lbar, 10);
}
movieClip 4 {
}
// unknown tag 88 length 22
movieClip 8 {
}
movieClip 9 {
frame 1 {
stop();
}
instance of movieClip 8 {
onClipEvent (keyPress '<Space>') {
_root.gotoAndStop(10);
}
onClipEvent (load) {
this.useHandCursor = false;
}
}
}
instance loading of movieClip 9 {
onClipEvent (load) {
_root.extra = 0;
}
onClipEvent (enterFrame) {
if (_root.extra < 50) {
_root.extra = Number(_root.extra + 0.25);
}
}
}
movieClip 13 {
frame 1 {
stop();
}
}
instance of movieClip 13 {
onClipEvent (release) {
getURL('http://www.wixgames.co.uk', '_blank');
}
onClipEvent (rollOver) {
_alpha = 50;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 16 {
}
movieClip 17 {
frame 1 {
stop();
}
}
instance of movieClip 17 {
onClipEvent (release) {
getURL('http://www.mimogames.com/', '_blank');
}
onClipEvent (rollOver) {
nextFrame();
}
onClipEvent (releaseOutside, rollOut) {
prevFrame();
}
}
movieClip 18 {
}
movieClip 122 __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 123 __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.9.1 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.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
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=' + mochi.as2.MochiServices.getVersion(), 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, '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 'services':
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case 'social':
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
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 = {};
var v6;
if (_root._url.indexOf('mochiad_options') != -1) {
var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1;
v6 = _root._url.substr(v2, _root._url.length);
} else {
if (_root.mochiad_options) {
v6 = _root.mochiad_options;
}
}
if (v6) {
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://link.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.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.CONNECTED = 'onConnected';
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._dispatcher = new mochi.as2.MochiEventDispatcher();
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 124 __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.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.startPlay = function (tag) {
if (tag == undefined) {
tag = 'gameplay';
}
mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null);
};
v1.endPlay = function () {
mochi.as2.MochiServices.send('events_clearRoundID', null, null, null);
};
v1.trackEvent = function (tag, value) {
mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null);
};
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 125 __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.getStoreItems = function () {
mochi.as2.MochiServices.send('coins_getStoreItems');
};
v1.requestFunding = function (properties) {
mochi.as2.MochiServices.send('social_requestFunding', 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.STORE_SHOW = 'StoreShow';
v1.STORE_HIDE = 'StoreHide';
v1.ITEM_OWNED = 'ItemOwned';
v1.ITEM_NEW = 'ItemNew';
v1.STORE_ITEMS = 'StoreItems';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1);
}
#endinitclip
}
movieClip 126 __Packages.mochi.as2.MochiSocial {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSocial) {
var v1 = function () {};
mochi.as2.MochiSocial = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('social_hideLoginWidget');
};
v1.requestLogin = function (properties) {
mochi.as2.MochiServices.send('social_requestLogin', properties);
};
v1.getFriendsList = function (properties) {
mochi.as2.MochiServices.send('social_getFriendsList', properties);
};
v1.postToStream = function (properties) {
mochi.as2.MochiServices.send('social_postToStream', properties);
};
v1.inviteFriends = function (properties) {
mochi.as2.MochiServices.send('social_inviteFriends', properties);
};
v1.requestFan = function (properties) {
mochi.as2.MochiServices.send('social_requestFan', properties);
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('social_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.LOGIN_SHOWN = 'LoginShown';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.FRIEND_LIST = 'FriendsList';
v1.PROFILE_DATA = 'ProfileData';
v1.GAMEPLAY_DATA = 'GameplayData';
v1.ACTION_CANCELED = 'onCancel';
v1.ACTION_COMPLETE = 'onComplete';
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.MochiSocial.prototype, null, 1);
}
#endinitclip
}
movieClip 127 __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 128 __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 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
__com_mochibot__('be92aea4', this, 10301, true);
}
frame 2 {
bscore = 0;
bspeed = 0;
music = 1;
}
frame 2 {
stop();
}
movieClip 22 {
}
movieClip 23 {
frame 1 {
stop();
}
frame 15 {
_root.nextFrame();
}
}
instance of movieClip 23 {
onClipEvent (load) {
this.useHandCursor = false;
}
onClipEvent (keyPress '<Space>') {
this.play();
_root.mute.dis = 1;
}
}
movieClip 27 {
}
instance mute of movieClip 27 {
onClipEvent (enterFrame) {
if (dis == 1) {
_alpha = _alpha - 7;
}
if (_root.music == 1) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.music == 1) {
stopAllSounds();
_root.music = 0;
} else {
_root.music = 1;
_root.gotoAndPlay(1);
}
}
onClipEvent (rollOver) {
_alpha = 75;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 35 {
}
movieClip 38 {
frame 6 {
if (_root.floor.hitTest(_x, _y + 20, true) or _root.ob1.hitTest(_x, _y + 20, true) or _root.ob2.hitTest(_x, _y + 20, true)) {
gotoAndPlay(1);
}
}
frame 7 {
gotoAndPlay(6);
}
}
instance runner of movieClip 38 {
onClipEvent (load) {
yspeed = 0;
_root.speed = 10;
score = 0;
}
onClipEvent (enterFrame) {
while (_root.floor.hitTest(_x, _y + 20, true) or _root.ob1.hitTest(_x, _y + 20, true) or _root.ob2.hitTest(_x, _y + 20, true)) {
_y = _y - 1;
if (yspeed > 2) {
yspeed = 0;
}
}
_y = _y + yspeed;
yspeed += 1;
if (Key.isDown(38)) {
if (_currentframe < 6) {
yspeed = -10;
}
}
}
}
movieClip 43 {
}
movieClip 47 {
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 58 {
instance of movieClip 43 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
instance of movieClip 43 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
instance of movieClip 47 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
instance of movieClip 47 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
instance of movieClip 43 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
instance of movieClip 47 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
instance of movieClip 54 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._y += 1;
}
}
}
instance of movieClip 56 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.hit.play();
}
}
}
instance of movieClip 47 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.runner)) {
_root.runner._x -= 1;
_root.runner._y += 1;
_root.hit.play();
}
}
}
}
instance ob1 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = 0;
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
}
}
}
instance ob2 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = 0;
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
}
}
}
instance of movieClip 13 {
onClipEvent (release) {
getURL('http://www.wixgames.co.uk', '_blank');
}
onClipEvent (rollOver) {
nextFrame();
}
onClipEvent (releaseOutside, rollOut) {
prevFrame();
}
onClipEvent (enterFrame) {
if (_root.mute.dis == 1) {
_alpha = _alpha - 7;
}
}
}
movieClip 61 {
}
movieClip 62 {
frame 1 {
stop();
}
frame 163 {
prevFrame();
}
}
instance of movieClip 62 {
onClipEvent (enterFrame) {
if (_root._currentframe > 2) {
play();
}
}
}
movieClip 65 {
}
movieClip 66 {
frame 1 {
stop();
}
}
instance of movieClip 66 {
onClipEvent (release) {
getURL('http://www.mimogames.com/', '_blank');
}
onClipEvent (rollOver) {
nextFrame();
}
onClipEvent (releaseOutside, rollOut) {
prevFrame();
}
}
frame 3 {
stop();
}
// unknown tag 88 length 563
movieClip 74 {
frame 16 {
stop();
}
}
movieClip 76 {
}
movieClip 77 {
instance of movieClip 76 {
onClipEvent (load) {
_xscale = random(100);
_yscale = _xscale;
}
}
}
movieClip 78 {
frame 1 {
stop();
}
instance of movieClip 77 {
onClipEvent (load) {
numb = Math.round(Math.random() * 100);
}
onClipEvent (enterFrame) {
_parent._y = _root.cam._y;
if (numb == 20 and _root._currentframe == 3) {
_parent.play();
}
numb = Math.round(Math.random() * 100);
}
}
frame 2 {
ball.ball2._xscale = 10 + Math.random() * 90;
ball.ball2._yscale = ball.ball2._xscale;
}
}
instance runner of movieClip 38 {
onClipEvent (load) {
yspeed = 0;
_root.speed = 10;
score = 0;
}
onClipEvent (enterFrame) {
if (_x > 10) {
score += _root.speed / 50;
_root.score2 = Math.round(score);
_root.speed2 = Math.round(_root.speed);
_root.speed = Number(_root.speed + 0.005);
}
if (_x < 0) {
_root.nextFrame();
}
while (_root.floor.hitTest(_x, _y + 20, true) or _root.ob1.hitTest(_x, _y + 20, true) or _root.ob2.hitTest(_x, _y + 20, true)) {
_y = _y - 1;
if (yspeed > 1) {
yspeed = 0;
}
}
_y = _y + yspeed;
yspeed += 1;
if (redo == 1 and Key.isDown(38)) {
yspeed = -10;
redo = 0;
} else {
redo = 0;
}
if (Key.isDown(38)) {
if (_currentframe < 6) {
yspeed = -10;
gotoAndPlay(6);
redo = 1;
}
}
}
}
instance ob1 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = Math.ceil(Math.random() * 10);
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
if (where == 6) {
gotoAndStop(6);
}
if (where == 7) {
gotoAndStop(7);
}
if (where == 8) {
gotoAndStop(8);
}
if (where == 9) {
gotoAndStop(9);
}
if (where == 10) {
gotoAndStop(10);
}
}
}
}
instance ob2 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = Math.ceil(Math.random() * 10);
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
if (where == 6) {
gotoAndStop(6);
}
if (where == 7) {
gotoAndStop(7);
}
if (where == 8) {
gotoAndStop(8);
}
if (where == 9) {
gotoAndStop(9);
}
if (where == 10) {
gotoAndStop(10);
}
}
}
}
movieClip 81 {
frame 1 {
stop();
}
}
instance hit of movieClip 81 {
onClipEvent (enterFrame) {
if (_currentframe > 1) {
_root.splat._x = _root.runner._x;
_root.splat._y = _root.runner._y;
}
}
}
movieClip 85 {
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
frame 4 {
tsco = _root.score2 + 'm';
tspe = _root.speed2 + 'mph';
if (_root.score2 > _root.bscore) {
bscore = score2;
}
if (_root.speed2 > _root.bspeed) {
bspeed = speed2;
}
bsco = bscore + 'm';
bspe = bspeed + 'mph';
}
instance of movieClip 27 {
onClipEvent (enterFrame) {
if (_root.speed > 10) {
_root.speed -= 1;
}
}
}
instance of movieClip 27 {
onClipEvent (enterFrame) {
if (_root.music == 1) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.music == 1) {
stopAllSounds();
_root.music = 0;
} else {
_root.music = 1;
_root.gotoAndPlay(6);
}
}
onClipEvent (rollOver) {
_alpha = 75;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 87 {
}
movieClip 88 {
frame 1 {
stop();
}
}
movieClip 95 {
}
movieClip 96 {
frame 5 {
stop();
}
}
movieClip 97 {
}
movieClip 98 {
frame 5 {
stop();
}
}
button 99 {
on (release) {
gotoAndStop(8);
}
}
movieClip 101 {
}
movieClip 102 {
frame 5 {
stop();
}
}
movieClip 104 {
}
movieClip 105 {
frame 5 {
stop();
}
}
button 106 {
on (release) {
getURL('http://www.mimogames.com/', '_blank');
}
}
movieClip 109 {
frame 1 {
stop();
}
frame 15 {
_root.nextFrame();
}
}
movieClip 112 {
frame 1 {
stop();
}
frame 15 {
_root.nextFrame();
}
}
instance of movieClip 112 {
onClipEvent (keyPress '<Space>') {
play();
_root.cover.play();
_root.gmov.play();
}
}
frame 5 {
gotoAndStop(3);
}
instance ob1 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = Math.ceil(Math.random() * 5);
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
}
}
}
instance ob2 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = Math.ceil(Math.random() * 5);
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
instance of movieClip 85 {
onClipEvent (load) {
xspeed = 2 + Math.random() * 2;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_root._currentframe == 3) {
if (_x < -200) {
_x = _x + 1200;
}
}
}
}
frame 7 {
gotoAndStop(4);
}
frame 8 {
stop();
var o = {'n': [11, 7, 11, 2, 0, 1, 8, 12, 15, 11, 13, 8, 4, 6, 7, 4], '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, 'e4a1ad7fce329c59');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': bscore});
}
instance ob1 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = 0;
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
}
}
}
instance ob2 of movieClip 58 {
onClipEvent (load) {
gotoAndStop(6);
}
onClipEvent (enterFrame) {
_x = _x - (4 + _root.speed);
if (_x < -500) {
_x = _x + 3000;
where = 0;
if (where == 1) {
gotoAndStop(1);
}
if (where == 2) {
gotoAndStop(2);
}
if (where == 3) {
gotoAndStop(3);
}
if (where == 4) {
gotoAndStop(4);
}
if (where == 5) {
gotoAndStop(5);
}
}
}
}
frame 9 {
gotoAndStop(4);
}
movieClip 121 {
frame 255 {
_root.gotoAndStop(2);
}
}
instance of movieClip 121 {
onClipEvent (release) {
getURL('http://www.mimogames.com', '_blank');
}
}