Combined Code
frame 1 {
function Lbar() {
if (getBytesLoaded() >= getBytesTotal()) {
}
_root.spinamount = (getBytesLoaded() / getBytesTotal()) * 100;
txtx.text = Math.ceil((getBytesLoaded() / getBytesTotal()) * 78 + _root.playbutton.delayr / 10) + '%';
txtxtx.text = Math.ceil(getBytesLoaded() / 1000) + 'KB/' + Math.ceil(getBytesTotal() / 1000) + 'KB loaded';
}
var CPMStarContentSpotID = '2948Q7E499780';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
mochi.as2.MochiServices.connect('91d3282773311ee5');
var NoMenu = new ContextMenu();
NoMenu.hideBuiltInItems();
this.menu = NoMenu;
stop();
LoaderInt = setInterval(Lbar, 10);
}
// unknown tag 88 length 106
// unknown tag 88 length 44
movieClip 9 {
}
// unknown tag 88 length 175
movieClip 15 {
}
movieClip 17 {
}
movieClip 20 {
}
movieClip 21 {
}
instance of movieClip 21 {
onClipEvent (load) {
xspeed = 0;
}
onClipEvent (enterFrame) {
this._rotation += _root.spinamount / 2;
}
}
// unknown tag 88 length 563
// unknown tag 88 length 99
movieClip 27 {
}
instance playbutton of movieClip 27 {
onClipEvent (load) {
_visible = false;
delaym = 210;
delayr = 0;
ready = false;
}
onClipEvent (enterFrame) {
if (delayr > delaym) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_visible = true;
ready = true;
}
} else {
delayr += 1;
}
}
onClipEvent (release) {
if (ready == true) {
_root.nextFrame();
}
}
}
button 30 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
movieClip 31 {
}
movieClip 924 __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 925 __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 926 __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 927 __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 928 __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 929 __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 930 __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
}
movieClip 931 __Packages.mx.behaviors.DepthControl {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.behaviors) {
_global.mx.behaviors = new Object();
}
if (!_global.mx.behaviors.DepthControl) {
var v1 = function () {
super();
};
mx.behaviors.DepthControl = v1;
mx.behaviors.DepthControl extends Object;
var v2 = v1.prototype;
v1.sendToBack = function (target) {
var v2 = false;
while (v2 == false) {
mx.behaviors.DepthControl.sendBackward(target);
v2 = target == mx.behaviors.DepthControl.getInstanceAtLowest(target._parent);
}
};
v1.bringToFront = function (target) {
var v2 = false;
while (v2 == false) {
mx.behaviors.DepthControl.bringForward(target);
v2 = target == mx.behaviors.DepthControl.getInstanceAtHighest(target._parent);
}
};
v1.sendBackward = function (target) {
var v2 = mx.behaviors.DepthControl.trackDepths(target._parent);
if (target != mx.behaviors.DepthControl.getInstanceAtLowest(target._parent)) {
target.swapDepths(mx.behaviors.DepthControl.getInstanceLowerThan(target));
}
};
v1.bringForward = function (target) {
if (target != mx.behaviors.DepthControl.getInstanceAtHighest(target._parent)) {
target.swapDepths(mx.behaviors.DepthControl.getInstanceHigherThan(target));
}
};
v1.trackDepths = function (mcParent) {
var v4 = [];
for (var v5 in mcParent) {
if (typeof mcParent[v5] == 'movieclip') {
v4.push({'mc': mcParent[v5], 'depth': mcParent[v5].getDepth()});
}
}
v4.sort(mx.behaviors.DepthControl.orderFunc);
return v4;
};
v1.orderFunc = function (a, b) {
var v2 = Number(a.depth);
var v1 = Number(b.depth);
if (v2 > v1) {
return -1;
} else {
if (v1 > v2) {
return 1;
} else {
return 0;
}
}
};
v1.getInstanceAtLowest = function (targetParent) {
var v1 = mx.behaviors.DepthControl.trackDepths(targetParent);
return v1[v1.length - 1].mc;
};
v1.getInstanceAtHighest = function (targetParent) {
var v1 = mx.behaviors.DepthControl.trackDepths(targetParent);
return v1[0].mc;
};
v1.getInstanceLowerThan = function (target) {
var v2 = mx.behaviors.DepthControl.trackDepths(target._parent);
var v1 = 0;
while (v1 < v2.length) {
if (v2[v1].mc == target) {
break;
}
++v1;
}
return v2[v1 + 1].mc;
};
v1.getInstanceHigherThan = function (target) {
var v2 = mx.behaviors.DepthControl.trackDepths(target._parent);
var v1 = 0;
while (v1 < v2.length) {
if (v2[v1].mc == target) {
break;
}
++v1;
}
return v2[v1 - 1].mc;
};
ASSetPropFlags(mx.behaviors.DepthControl.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__('435e8d12', this, 10301, true);
}
frame 2 {
clearInterval(LoaderInt);
}
movieClip 36 {
}
instance of movieClip 36 {
onClipEvent (release) {
getURL('http://www.wixgames.co.uk', '_blank');
}
onClipEvent (load) {
_root.stop();
delay = 0;
}
onClipEvent (enterFrame) {
delay += 1;
if (delay >= 100) {
_root.gotoAndStop(164);
}
}
}
frame 3 {
game = SharedObject.getLocal('mydata');
if (game.data.level == undefined) {
_root.level = 0;
} else {
_root.level = game.data.level;
}
}
frame 3 {
play();
music = 1;
_quality = 'HIGH';
}
frame 4 {
stop();
}
movieClip 41 {
}
instance of movieClip 41 {
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 41 {
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 43 {
}
movieClip 45 {
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
movieClip 47 {
}
button 50 {
on (release) {
gotoAndStop(102);
}
}
movieClip 53 {
}
movieClip 54 {
}
movieClip 58 {
}
instance of movieClip 58 {
onClipEvent (load) {
if (_root.level > 31) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_root.level > 31) {
_root.gotoAndStop(152);
}
}
}
// unknown tag 88 length 115
movieClip 63 {
}
instance of movieClip 63 {
onClipEvent (release) {
if (_root.music == 1) {
stopAllSounds();
_root.music = 0;
} else {
if (_root.music == 0) {
_root.prevFrame();
}
}
}
}
movieClip 68 {
}
instance of movieClip 68 {
onClipEvent (enterFrame) {
if (_root._quality == 'LOW') {
gotoAndStop(2);
} else {
if (_root._quality == 'HIGH') {
gotoAndStop(1);
}
}
}
onClipEvent (release) {
if (_root._quality == 'LOW') {
_root._quality = 'HIGH';
} else {
if (_root._quality == 'HIGH') {
_root._quality = 'LOW';
}
}
}
}
button 71 {
on (release) {
getURL('http://www.freegames-1.com/game/567/monster-truck-maniac.html?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm1', '_blank');
}
}
button 74 {
on (release) {
getURL('http://www.dwarfgames.com/game/1509/monster-truck-maniac-2.html?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm2', '_blank');
}
}
button 79 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
movieClip 81 {
}
instance of movieClip 81 {
onClipEvent (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
movieClip 83 {
}
instance engine of movieClip 83 {
onClipEvent (load) {
_alpha = 0;
gotoAndStop(3);
delay = 0;
}
onClipEvent (enterFrame) {
gotoAndStop(3);
if (_root.music == 0) {
stopAllSounds();
}
delay += 1;
if (delay >= 150) {
game = SharedObject.getLocal('mydata');
game.data.level = _root.level;
game.flush();
delay = 0;
}
}
}
movieClip 86 {
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 8;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(30);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 9;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(33);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 10;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(36);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 11;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(39);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 12;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(42);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 13;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(45);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 14;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(48);
}
}
}
instance of movieClip 86 {
onClipEvent (load) {
levelreq = 15;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(51);
}
}
}
movieClip 96 {
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 16;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(54);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 17;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(57);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 18;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(60);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 19;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(63);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 20;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(66);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 21;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(69);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 22;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(72);
}
}
}
instance of movieClip 96 {
onClipEvent (load) {
levelreq = 23;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(75);
}
}
}
movieClip 99 {
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 24;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(78);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 25;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(81);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 26;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(84);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 27;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(87);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 28;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(90);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 29;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(93);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 30;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(96);
}
}
}
instance of movieClip 99 {
onClipEvent (load) {
levelreq = 31;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(99);
}
}
}
movieClip 101 {
}
instance of movieClip 101 {
onClipEvent (release) {
_root.nextFrame();
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 1;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(9);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 2;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(12);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 3;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(15);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 4;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(18);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 5;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(21);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 6;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(24);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
levelreq = 7;
if (_root.level >= levelreq) {
_alpha = 100;
} else {
_alpha = 25;
}
}
onClipEvent (release) {
if (_root.level >= levelreq) {
_root.gotoAndStop(27);
}
}
}
button 104 {
on (release) {
prevFrame();
}
}
movieClip 112 {
}
button 115 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
button 117 {
on (release) {
gotoAndStop(4);
}
}
button 121 {
on (release) {
nextFrame();
}
}
frame 7 {
stop();
target = 350;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 0;
gravity = 1;
ram = 0;
coin = 0;
}
frame 7 {
_root.border.gametype = 'Long Jump Freeplay';
}
frame 7 {
_root.coin = 0;
}
movieClip 126 {
}
instance of movieClip 126 {
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 45 {
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 45 {
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 45 {
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 41 {
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 41 {
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 128 {
}
movieClip 129 {
}
instance of movieClip 129 {
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 129 {
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 129 {
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 45 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
}
}
}
// unknown tag 88 length 164
movieClip 134 {
}
movieClip 135 {
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
}
movieClip 136 {
frame 1 {
stop();
}
frame 14 {
stop();
readi = 1;
}
}
instance mud of movieClip 136 {
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 148 {
frame 1 {
stop();
}
frame 2 {
_root.music1.start(0.1, 0);
_root.music1.start(0.1, 0);
}
frame 9 {
yes = 1;
}
frame 10 {
}
}
movieClip 149 {
instance bomb of movieClip 148 {
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 149 {
onClipEvent (load) {
_x = _x + (-200 + Math.random() * 400);
}
onClipEvent (enterFrame) {
if (_root.cam._x - 500 > _x) {
_x = _x + (2000 + Math.random() * 2000);
}
}
}
movieClip 155 {
frame 4 {
stop();
}
frame 5 {
stop();
}
}
instance linee of movieClip 155 {
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 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
movieClip 158 {
}
movieClip 159 {
}
instance m of movieClip 159 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 161 {
}
instance node2 of movieClip 161 {
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 163 {
}
instance node1 of movieClip 163 {
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 165 {
}
instance of movieClip 165 {
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 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 1280;
}
}
}
movieClip 170 {
}
movieClip 171 {
frame 5 {
stop();
}
instance of movieClip 170 {
onClipEvent (load) {
rotspeed = 0;
}
onClipEvent (enterFrame) {
if (rotspeed < _root.node1.xspeed) {
rotspeed += 1;
}
rotspeed *= 0.995;
_rotation = _rotation + rotspeed;
}
}
instance of movieClip 170 {
onClipEvent (load) {
rotspeed = 0;
}
onClipEvent (enterFrame) {
if (rotspeed < _root.node1.xspeed) {
rotspeed += 0.8;
}
rotspeed *= 0.995;
_rotation = _rotation + rotspeed;
}
}
}
instance of movieClip 171 {
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 171 {
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 177 {
}
instance ramm of movieClip 177 {
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 181 {
}
movieClip 183 {
frame 1 {
stop();
}
}
instance car of movieClip 183 {
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;
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;
}
}
}
button 186 {
on (release) {
_root.gotoAndPlay(_root._currentframe - 1);
}
}
button 189 {
on (release) {
_root.gotoAndStop(4);
}
}
button 196 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
movieClip 197 {
}
instance border of movieClip 197 {
onClipEvent (enterFrame) {
target = _root.target;
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 202 {
}
movieClip 203 {
frame 1 {
stop();
}
}
movieClip 205 {
}
movieClip 207 {
}
movieClip 210 {
}
movieClip 211 {
instance of movieClip 203 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 205 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 207 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 210 {
onClipEvent (enterFrame) {
if (_root.node1.timer > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance firework of movieClip 211 {
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 214 {
}
movieClip 218 {
}
movieClip 222 {
}
movieClip 225 {
}
movieClip 228 {
}
movieClip 231 {
}
movieClip 234 {
}
movieClip 241 {
}
movieClip 244 {
}
button 246 {
on (release) {
_parent.show = 0;
}
}
movieClip 250 {
frame 1 {
stop();
}
}
movieClip 251 {
instance a1 of movieClip 218 {
onClipEvent (load) {
if (_root.ach1 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a2 of movieClip 222 {
onClipEvent (load) {
if (_root.ach2 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a3 of movieClip 225 {
onClipEvent (load) {
if (_root.ach3 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a4 of movieClip 228 {
onClipEvent (load) {
if (_root.ach4 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a8 of movieClip 231 {
onClipEvent (load) {
if (_root.ach8 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a7 of movieClip 234 {
onClipEvent (load) {
if (_root.ach7 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a6 of movieClip 241 {
onClipEvent (load) {
if (_root.ach6 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance a5 of movieClip 244 {
onClipEvent (load) {
if (_root.ach5 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance desco of movieClip 250 {
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 252 {
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 252 {
onClipEvent (load) {
show = 0;
}
onClipEvent (enterFrame) {
if (show == 1) {
play();
}
if (show == 0) {
gotoAndStop(1);
}
}
}
movieClip 254 {
frame 1 {
stop();
}
frame 25 {
_root.ends = _root.border.pipe;
_root.nextFrame();
}
}
instance of movieClip 254 {
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();
}
if (_root.border.pipe > 350) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance bomb1 of movieClip 148 {
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();
_root.border.bombs = 2;
}
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 148 {
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();
_root.border.bombs = 1;
}
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 148 {
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();
_root.border.bombs = 0;
}
if (this.hitTest(_root.car)) {
_root.node1.xspeed += 3;
_root.node1.yspeed = -30;
_root.node2.xspeed += 3;
_root.node2.yspeed = -30;
}
}
}
}
movieClip 256 {
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 256 {
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 8 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 1) {
level = 1;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
button 261 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
button 262 {
on (release) {
gotoAndStop(4);
}
}
movieClip 264 {
}
movieClip 269 {
}
movieClip 271 {
frame 1 {
if (_root._currentframe > 102) {
stop();
}
}
instance of movieClip 269 {
onClipEvent (keyPress '<Space>') {
_root.prevFrame();
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
movieClip 276 {
}
movieClip 281 {
instance of movieClip 276 {
onClipEvent (load) {
percent = 0;
}
onClipEvent (enterFrame) {
_rotation = _rotation + 5;
percent += 1.666666666666667;
_parent.percent = Math.round(percent) + '%';
}
}
frame 86 {
stop();
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
movieClip 286 {
}
movieClip 287 {
frame 120 {
stop();
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Highscore mode & Ramp Jump';
}
}
frame 10 {
stop();
target = 300;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 10 {
}
instance of movieClip 41 {
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 41 {
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 cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 291 {
instance bomb of movieClip 148 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
_root.bombtotal = Number(_root.bombtotal + 1);
this.play();
_root.node1.yspeed = -20;
_root.node2.yspeed = -20;
}
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
movieClip 293 {
}
instance cloud1 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -2900) {
_x = _x + 3600;
_y = 200 + random(200);
}
}
}
movieClip 302 {
}
movieClip 303 {
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
button 306 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
movieClip 307 {
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
if (_root.border.pipe > 300) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 11 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 2) {
level = 2;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
stop();
unlock.desc = 'Air bombs (Highscore mode)';
}
}
frame 13 {
stop();
target = 400;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 13 {
stop();
}
movieClip 313 {
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
if (_root.car._x > 120) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
if (_root.car._x > 120) {
_x = _x + _root.node1.xspeed / 2;
}
}
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 80 + random(120);
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
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;
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance p2 of movieClip 158 {
}
movieClip 314 {
}
instance m of movieClip 314 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
// unknown tag 88 length 63
movieClip 319 {
}
instance of movieClip 319 {
onClipEvent (load) {
_x = 2000;
}
onClipEvent (enterFrame) {
pipe = _x / 20;
if (_root.cam._x - 500 > _x) {
_x = _x + 2000;
}
}
}
movieClip 321 {
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
movieClip 323 {
}
movieClip 325 {
}
instance wave1 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance wave2 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
movieClip 326 {
frame 1 {
stop();
}
frame 25 {
_root.ends = _root.border.pipe;
_root.nextFrame();
}
}
instance of movieClip 326 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.node1._y > 480 or _root.border.pipe > 400) {
this.play();
}
score = Math.round(_root.car._x / 20);
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = Math.round(_x / 20) - 16;
}
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 14 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 3) {
level = 3;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
button 327 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Sea bombs (Highscore mode)';
}
}
frame 16 {
stop();
target = 300;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 80 + random(200);
}
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
_x = _x + _root.node1.xspeed / 1.5;
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
_x = _x + _root.node1.xspeed / 2;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
buttonlastpressed = false;
yspeed = 0;
space = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
if (buttonlastpressed == false and Key.isDown(40) and !Key.isDown(38)) {
buttonlastpressed = true;
_root.node1.xspeed += 1.5;
_root.node2.xspeed += 1.5;
}
if (buttonlastpressed == true and Key.isDown(38) and !Key.isDown(40)) {
buttonlastpressed = false;
_root.node1.xspeed += 1.5;
_root.node2.xspeed += 1.5;
}
}
inside._rotation += xspeed;
_x = _x + xspeed;
_root.node2._x += xspeed;
if (_root.car._y > 480) {
xspeed = 0;
_root.node2.xspeed = 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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
}
}
movieClip 334 {
}
movieClip 335 {
instance wave1 of movieClip 325 {
}
}
instance wave1 of movieClip 335 {
onClipEvent (enterFrame) {
if (_x <= _root.cam._x + 320) {
_x = _x + 640;
}
if (_x >= _root.cam._x + 320) {
_x = _x - 640;
}
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
if (_root.border.pipe > 500) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
movieClip 342 {
frame 1 {
stop();
}
frame 8 {
prevFrame();
}
}
instance splash of movieClip 342 {
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_x = _root.car._x + _root.node1.xspeed;
}
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120 and _root.car._y < 480) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
button 343 {
on (release) {
_root.gotoAndStop(3);
}
}
movieClip 347 {
}
button 348 {
on (release) {
getURL('http://www.dwarfgames.com', '_blank');
}
}
movieClip 349 {
instance of movieClip 347 {
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
_visible = true;
} else {
_visible = false;
}
if (_root.node1.buttonlastpressed == true) {
_alpha = 100;
} else {
_alpha = 25;
}
}
}
instance of movieClip 347 {
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
_visible = true;
} else {
_visible = false;
}
if (_root.node1.buttonlastpressed == false) {
_alpha = 100;
} else {
_alpha = 25;
}
}
}
}
instance border of movieClip 349 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = Math.round(_x / 20) - 16;
}
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
frame 17 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 4) {
level = 4;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Truck Launch (Highscore mode)';
}
}
frame 19 {
stop();
target = 1000;
friction = 1.5;
speed = 1;
ramp = 4;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
}
frame 19 {
_root.border.gametype = 'Long Jump Freeplay';
}
frame 19 {
stop();
_root.coin = 0;
}
movieClip 355 {
}
instance of movieClip 355 {
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 45 {
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 45 {
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 45 {
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 41 {
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 41 {
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 129 {
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 129 {
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 129 {
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 45 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
}
}
}
instance mud of movieClip 136 {
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 149 {
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 155 {
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 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance m of movieClip 159 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
instance node2 of movieClip 161 {
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;
}
}
}
instance node1 of movieClip 163 {
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;
}
}
}
instance of movieClip 165 {
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 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 1280;
}
}
}
instance of movieClip 171 {
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 171 {
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 177 {
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 183 {
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;
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 border of movieClip 197 {
onClipEvent (enterFrame) {
target = _root.target;
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 211 {
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 holder of movieClip 252 {
onClipEvent (load) {
show = 0;
}
onClipEvent (enterFrame) {
if (show == 1) {
play();
}
if (show == 0) {
gotoAndStop(1);
}
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.border.pipe > _root.target - 1) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance bomb1 of movieClip 148 {
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();
_root.border.bombs = 2;
}
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 148 {
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();
_root.border.bombs = 1;
}
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 148 {
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();
_root.border.bombs = 0;
}
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 256 {
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 20 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 5) {
level = 5;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance of movieClip 41 {
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 41 {
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 cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 22 {
stop();
target = 600;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 22 {
}
movieClip 362 {
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance cloud1 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -2900) {
_x = _x + 3600;
_y = 200 + random(200);
}
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
if (_root.border.pipe > 600) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 23 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 6) {
level = 6;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 25 {
stop();
target = 500;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 25 {
stop();
}
movieClip 369 {
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
if (_root.car._x > 120) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
if (_root.car._x > 120) {
_x = _x + _root.node1.xspeed / 2;
}
}
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 80 + random(120);
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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;
}
_;
_root.light._x = _root.car._x;
_root.light._y = _root.car._y;
_root.light._rotation = _root.car._rotation;
}
}
instance node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance p2 of movieClip 158 {
}
instance m of movieClip 314 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
movieClip 371 {
}
instance of movieClip 371 {
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 of movieClip 319 {
onClipEvent (load) {
_x = 2000;
}
onClipEvent (enterFrame) {
pipe = _x / 20;
if (_root.cam._x - 500 > _x) {
_x = _x + 2000;
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (_root.cam._x - 500 > _x) {
_x = _x + 1000;
}
if (_root.cam._x + 500 < _x) {
_x = _x - 1000;
}
}
}
instance wave1 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance wave2 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
movieClip 374 {
}
movieClip 375 {
}
instance of movieClip 326 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.node1._y > 500 or _root.border.pipe > _root.target) {
this.play();
}
score = Math.round(_root.car._x / 20);
}
}
instance splash of movieClip 342 {
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_x = _root.car._x + _root.node1.xspeed;
}
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = Math.round(_x / 20) - 16;
}
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120) {
_x = _x + (_root.car._x + 200 - _x);
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 26 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 7) {
level = 7;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 28 {
stop();
target = 300;
friction = 1.5;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 80 + random(200);
}
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
_x = _x + _root.node1.xspeed / 1.5;
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
_x = _x + _root.node1.xspeed / 2;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
buttonlastpressed = 4;
yspeed = 0;
space = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
if (buttonlastpressed == 4 and Key.isDown(39) and !Key.isDown(38)) {
buttonlastpressed = 1;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
if (buttonlastpressed == 1 and Key.isDown(40) and !Key.isDown(39)) {
buttonlastpressed = 2;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
if (buttonlastpressed == 2 and Key.isDown(37) and !Key.isDown(40)) {
buttonlastpressed = 3;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
if (buttonlastpressed == 3 and Key.isDown(38) and !Key.isDown(37)) {
buttonlastpressed = 4;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
}
inside._rotation += xspeed;
_x = _x + xspeed;
_root.node2._x += xspeed;
if (_root.car._y > 480) {
xspeed = 0;
_root.node2.xspeed = 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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
}
}
instance wave1 of movieClip 335 {
onClipEvent (enterFrame) {
if (_x <= _root.cam._x + 320) {
_x = _x + 640;
}
if (_x >= _root.cam._x + 320) {
_x = _x - 640;
}
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
if (_root.border.pipe > 500) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance splash of movieClip 342 {
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_x = _root.car._x + _root.node1.xspeed;
}
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120 and _root.car._y < 480) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
movieClip 384 {
instance of movieClip 347 {
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
_visible = true;
} else {
_visible = false;
}
if (_root.node1.buttonlastpressed == 3) {
_alpha = 100;
} else {
_alpha = 25;
}
}
}
instance of movieClip 347 {
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
_visible = true;
} else {
_visible = false;
}
if (_root.node1.buttonlastpressed == 1) {
_alpha = 100;
} else {
_alpha = 25;
}
}
}
instance of movieClip 347 {
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
_visible = true;
} else {
_visible = false;
}
if (_root.node1.buttonlastpressed == 4) {
_alpha = 100;
} else {
_alpha = 25;
}
}
}
instance of movieClip 347 {
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
_visible = true;
} else {
_visible = false;
}
if (_root.node1.buttonlastpressed == 2) {
_alpha = 100;
} else {
_alpha = 25;
}
}
}
}
instance border of movieClip 384 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = Math.round(_x / 20) - 16;
}
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
frame 29 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 8) {
level = 8;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 31 {
stop();
target = 600;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 31 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
movieClip 390 {
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb1._y;
}
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
if (_root.bomb2._y < 0) {
_y = _root.bomb2._y;
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance bomb2 of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 9) {
stop();
}
if (_root.cam._y + 300 < _y) {
big = Math.ceil(Math.random() * 5);
if (big == 5) {
_xscale = sxs * 1.5;
_yscale = sxs * 1.5;
} else {
_xscale = sxs;
_yscale = sxs;
}
gotoAndStop(1);
xspeed = -(_root.car._y + 345) / 1000;
yes = 0;
_y = _y - 600;
_x = _root.mainx + Math.random() * _root.car._y / 20 - (Math.random() * _root.car._y / 20) * 2;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.mainx = _x;
}
}
}
instance bomb1 of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 9) {
stop();
}
if (_root.cam._y + 300 < _y) {
big = Math.ceil(Math.random() * 5);
if (big == 5) {
_xscale = sxs * 1.5;
_yscale = sxs * 1.5;
} else {
_xscale = sxs;
_yscale = sxs;
}
gotoAndStop(1);
xspeed = -(_root.car._y + 345) / 1000;
yes = 0;
_y = _y - 600;
_x = _root.mainx + Math.random() * _root.car._y / 20 - (Math.random() * _root.car._y / 20) * 2;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.mainx = _x;
}
}
}
movieClip 392 {
}
movieClip 393 {
}
movieClip 394 {
frame 1 {
stop();
}
instance of movieClip 393 {
onClipEvent (load) {
numb = Math.round(Math.random() * 100);
}
onClipEvent (enterFrame) {
_parent._y = _root.cam._y;
if (numb == 20) {
_parent.play();
}
numb = Math.round(Math.random() * 100);
}
}
frame 2 {
ball.ball2._xscale = 10 + Math.random() * 90;
ball.ball2._yscale = ball.ball2._xscale;
}
}
movieClip 396 {
}
movieClip 400 {
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = -Math.round(_y / 20) - 16 + 28;
}
_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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250) {
this.play();
}
if (_root.border.pipe > 600) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._y < 120 and _y > _root.car._y) {
_y = _y + (_root.car._y - _y) / 2;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._y = _y;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 32 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 9) {
level = 9;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Bomb Flying (Highscore mode)';
}
}
frame 34 {
stop();
target = 1000;
friction = 1;
speed = 1.5;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 34 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
movieClip 407 {
frame 1198 {
stop();
}
}
instance linee of movieClip 407 {
onClipEvent (load) {
rotchange = 10;
timetarget = 60;
timer = 60;
}
onClipEvent (enterFrame) {
rotchange += 0.1;
if (rotchange > 30) {
rotchange = 30;
}
if (timer == timetarget) {
if (timetarget > 20) {
timetarget -= 1;
}
target = rotchange - Math.random() * (rotchange * 2);
timer = 0;
}
timer += 1;
_rotation = _rotation + (target - _rotation) / 50;
_root.top._rotation = _rotation;
}
}
movieClip 410 {
frame 1198 {
stop();
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
xspeed += _root.linee._rotation / 17.5;
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance wave2 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
_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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
if (_root.border.pipe > 1000) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 35 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 10) {
level = 10;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Iceberg Riding (HS mode)';
}
}
frame 37 {
stop();
target = 1000;
friction = 1;
speed = 0;
speed2 = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 37 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
if (_root.node1._y > _y and _root.node2._y > _y) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (yspeed > 20) {
yspeed = 20;
}
if (yspeed < -20) {
yspeed = -20;
}
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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee4.hitTest(_x, _y + _height / 2, true) or _root.linee4.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee5.hitTest(_x, _y + _height / 2, true) or _root.linee5.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee6.hitTest(_x, _y + _height / 2, true) or _root.linee6.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee4.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee5.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee6.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee4.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee5.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee6.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
xspeed += _root.linee._rotation / 17.5;
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
if (yspeed > 20) {
yspeed = 20;
}
if (yspeed < -20) {
yspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed2;
}
if (Key.isDown(37)) {
xspeed -= _root.speed2;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee4.hitTest(_x, _y + _height / 2, true) or _root.linee4.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee5.hitTest(_x, _y + _height / 2, true) or _root.linee5.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee6.hitTest(_x, _y + _height / 2, true) or _root.linee6.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee4.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee5.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee6.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee4.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee5.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee6.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 419 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
instance linee of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
_root.speed = Number(_root.speed) + 0.0025;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee2 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee3 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee4 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee5 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
if (_y < _root.car._y) {
_y = _y + (_root.car._y - _y) / 4;
}
_root.border._y = _y;
}
}
instance linee6 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
movieClip 421 {
}
instance of movieClip 421 {
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;
}
_y = _root.car._y;
}
}
instance of movieClip 421 {
onClipEvent (enterFrame) {
if (_root.node2._x > 640) {
_root.node1._x = 600;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
_y = _root.car._y;
}
}
instance border of movieClip 400 {
onClipEvent (load) {
addd = 0;
}
onClipEvent (enterFrame) {
target = _root.target;
addd += _root.speed;
pipe = Math.round((addd + _root.cam._y + 350 - 775) / 5);
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y < _root.cam._y - 250) {
this.play();
}
if (_root.border.pipe > 1000) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 38 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 11) {
level = 11;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Descent (Highscore mode)';
}
}
frame 40 {
stop();
target = 1000;
friction = 1;
speed = 1.5;
speed2 = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
mfall = 10;
gravity = 1;
ram = 0;
coin = 0;
}
frame 40 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
if (_y < _root.car._y + 200) {
_y = _y + (_root.car._y + 200 - _y) / 4;
}
_root.border._y = _y;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 421 {
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;
}
_y = _root.car._y;
}
}
instance of movieClip 421 {
onClipEvent (enterFrame) {
if (_root.node2._x > 640) {
_root.node1._x = 600;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
_y = _root.car._y;
}
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb1._y;
}
}
instance bar2 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb2._y;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (yspeed > _root.mfall) {
yspeed = _root.mfall;
}
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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
if (yspeed > _root.mfall) {
yspeed = _root.mfall;
}
_root.mfall += 0.05;
if (_root.mfall > 25) {
_root.mfall = 25;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 426 {
}
movieClip 427 {
frame 1 {
stop();
}
frame 2 {
_root.music1.start(0.1, 0);
_root.music1.start(0.1, 0);
}
frame 10 {
}
frame 11 {
yes = 1;
}
}
instance bomb2 of movieClip 427 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 11) {
stop();
}
if (_root.cam._y - 300 > _y) {
gotoAndStop(1);
xspeed = 0;
yes = 0;
_y = _y + 1000;
_x = 100 + Math.random() * 440;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.warn2._x = _x;
_root.mainx = _x;
}
}
}
instance bomb1 of movieClip 427 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 11) {
stop();
}
if (_root.cam._y - 300 > _y) {
gotoAndStop(1);
xspeed = 0;
yes = 0;
_y = _y + 1000;
_x = 100 + Math.random() * 440;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.warn2._x = _x;
_root.mainx = _x;
}
}
}
movieClip 429 {
}
instance warn of movieClip 429 {
}
instance warn2 of movieClip 429 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb2._y - 20 < _y)) {
_x = 1000;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round((_root.cam._y + 350 - 775) / 10 - 10);
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y < _root.cam._y - 250) {
this.play();
}
if (_root.border.pipe > 1000) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 41 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 12) {
level = 12;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'The Fall (Highscore mode)';
}
}
frame 43 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 43 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb1._y;
}
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
if (_root.bomb2._y < 0) {
_y = _root.bomb2._y;
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance bomb2 of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 9) {
stop();
}
if (_root.cam._y + 300 < _y) {
big = Math.ceil(Math.random() * 5);
if (big == 5) {
_xscale = sxs * 1.5;
_yscale = sxs * 1.5;
} else {
_xscale = sxs;
_yscale = sxs;
}
gotoAndStop(1);
xspeed = -(_root.car._y + 345) / 1000;
yes = 0;
_y = _y - 600;
_x = _root.mainx + Math.random() * _root.car._y / 20 - (Math.random() * _root.car._y / 20) * 2;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.mainx = _x;
}
}
}
instance bomb1 of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 9) {
stop();
}
if (_root.cam._y + 300 < _y) {
big = Math.ceil(Math.random() * 5);
if (big == 5) {
_xscale = sxs * 1.5;
_yscale = sxs * 1.5;
} else {
_xscale = sxs;
_yscale = sxs;
}
gotoAndStop(1);
xspeed = -(_root.car._y + 345) / 1000;
yes = 0;
_y = _y - 600;
_x = _root.mainx + Math.random() * _root.car._y / 20 - (Math.random() * _root.car._y / 20) * 2;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.mainx = _x;
}
}
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = -Math.round(_y / 20) - 16 + 28;
}
_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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250) {
this.play();
}
if (_root.border.pipe > 1000) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._y < 120 and _y > _root.car._y) {
_y = _y + (_root.car._y - _y) / 2;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._y = _y;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 44 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 13) {
level = 13;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 46 {
stop();
target = 750;
friction = 1;
speed = 1.5;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 46 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance linee of movieClip 407 {
onClipEvent (load) {
rotchange = 10;
timetarget = 60;
timer = 60;
}
onClipEvent (enterFrame) {
rotchange += 0.1;
if (rotchange > 30) {
rotchange = 30;
}
if (timer == timetarget) {
if (timetarget > 20) {
timetarget -= 1;
}
target = rotchange - Math.random() * (rotchange * 2);
timer = 0;
}
timer += 1;
_rotation = _rotation + (target - _rotation) / 50;
_root.top._rotation = _rotation;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
xspeed += _root.linee._rotation / 17.5;
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance wave2 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
_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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480 or _root.car._y < 0) {
this.play();
}
if (_root.border.pipe > 750) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
movieClip 444 {
frame 1 {
stop();
}
frame 2 {
_root.music1.start(0.1, 0);
_root.music1.start(0.1, 0);
}
frame 10 {
}
frame 11 {
stop();
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = 200 + Math.random() * 240;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
frame 47 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 14) {
level = 14;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 49 {
stop();
target = 2500;
friction = 1;
speed = 0;
speed2 = 1.5;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 49 {
_root.linee.gotoAndStop(3);
_root.linee2.gotoAndStop(3);
_root.linee3.gotoAndStop(3);
_root.linee4.gotoAndStop(3);
_root.linee5.gotoAndStop(3);
_root.linee6.gotoAndStop(3);
}
frame 49 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
if (_root.node1._y > _y and _root.node2._y > _y) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (yspeed > 20) {
yspeed = 20;
}
if (yspeed < -10) {
yspeed = -10;
}
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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee4.hitTest(_x, _y + _height / 2, true) or _root.linee4.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee5.hitTest(_x, _y + _height / 2, true) or _root.linee5.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee6.hitTest(_x, _y + _height / 2, true) or _root.linee6.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee4.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee5.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee6.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee4.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee5.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee6.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
xspeed += _root.linee._rotation / 17.5;
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
if (yspeed > 20) {
yspeed = 20;
}
if (yspeed < -10) {
yspeed = -10;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed2;
}
if (Key.isDown(37)) {
xspeed -= _root.speed2;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee4.hitTest(_x, _y + _height / 2, true) or _root.linee4.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee5.hitTest(_x, _y + _height / 2, true) or _root.linee5.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee6.hitTest(_x, _y + _height / 2, true) or _root.linee6.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee4.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee5.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee6.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee4.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee5.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee6.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance linee of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
_root.speed = Number(_root.speed) + 0.005;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee2 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee3 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee4 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee5 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
if (_y < _root.car._y) {
_y = _y + (_root.car._y - _y) / 4;
}
_root.border._y = _y;
}
}
instance linee6 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance of movieClip 421 {
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;
}
_y = _root.car._y;
}
}
instance of movieClip 421 {
onClipEvent (enterFrame) {
if (_root.node2._x > 640) {
_root.node1._x = 600;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
_y = _root.car._y;
}
}
instance border of movieClip 400 {
onClipEvent (load) {
addd = 0;
}
onClipEvent (enterFrame) {
target = _root.target;
addd += _root.speed;
pipe = Math.round((addd + _root.cam._y + 350 - 775) / 5);
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y < _root.cam._y - 250) {
this.play();
}
if (_root.border.pipe > 2500) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 50 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 15) {
level = 15;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 52 {
stop();
target = 1500;
friction = 1;
speed = 1.5;
speed2 = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
mfall = 10;
gravity = 1;
ram = 0;
coin = 0;
}
frame 52 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
if (_y < _root.car._y + 200) {
_y = _y + (_root.car._y + 200 - _y) / 4;
}
_root.border._y = _y;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 421 {
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;
}
_y = _root.car._y;
}
}
instance of movieClip 421 {
onClipEvent (enterFrame) {
if (_root.node2._x > 640) {
_root.node1._x = 600;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
_y = _root.car._y;
}
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb1._y;
}
}
instance bar2 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb2._y;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (yspeed > _root.mfall) {
yspeed = _root.mfall;
}
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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
if (yspeed > _root.mfall) {
yspeed = _root.mfall;
}
_root.mfall += 0.05;
if (_root.mfall > 25) {
_root.mfall = 25;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance bomb2 of movieClip 427 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 11) {
stop();
}
if (_root.cam._y - 300 > _y) {
gotoAndStop(1);
xspeed = 0;
yes = 0;
_y = _y + 1000;
_x = 100 + Math.random() * 440;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.warn2._x = _x;
_root.mainx = _x;
}
}
}
instance bomb1 of movieClip 427 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 11) {
stop();
}
if (_root.cam._y - 300 > _y) {
gotoAndStop(1);
xspeed = 0;
yes = 0;
_y = _y + 1000;
_x = 100 + Math.random() * 440;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.warn2._x = _x;
_root.mainx = _x;
}
}
}
instance warn of movieClip 429 {
}
instance warn2 of movieClip 429 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb2._y - 20 < _y)) {
_x = 1000;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round((_root.cam._y + 350 - 775) / 10 - 10);
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y < _root.cam._y - 250) {
this.play();
}
if (_root.border.pipe > 1500) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 53 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 16) {
level = 16;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 55 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 55 {
}
movieClip 459 {
}
movieClip 460 {
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
}
movieClip 461 {
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
}
movieClip 465 {
}
movieClip 467 {
}
movieClip 468 {
instance cog of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 465 {
onClipEvent (enterFrame) {
_rotation = _rotation - 4;
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance cog2 of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 459 {
onClipEvent (enterFrame) {
_rotation = _rotation - 1;
}
}
instance of movieClip 467 {
onClipEvent (enterFrame) {
_x = _x - 1.5;
if (_x < _parent.cog._x) {
_x = _parent.cog2._x;
}
}
}
}
movieClip 470 {
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 472 {
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9) {
gotoAndStop(1);
}
}
}
frame 56 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 17) {
level = 17;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 58 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 58 {
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
movieClip 477 {
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 59 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 18) {
level = 18;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 61 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 61 {
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
movieClip 482 {
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 62 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 19) {
level = 19;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 64 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 64 {
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
yspeed = -5;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
if (_y < -20) {
_y = _y + 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 5;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
movieClip 487 {
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 65 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 20) {
level = 20;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 67 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 67 {
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (_x > 2950) {
_x = _x - 750;
}
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (_x > 2950) {
_x = _x - 750;
}
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (_x > 2950) {
_x = _x - 750;
}
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
movieClip 495 {
}
movieClip 498 {
}
movieClip 499 {
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 68 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 21) {
level = 21;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 70 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 70 {
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 505 {
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
}
movieClip 507 {
instance of movieClip 505 {
onClipEvent (enterFrame) {
_rotation = _rotation + 0.5;
}
}
instance of movieClip 505 {
onClipEvent (enterFrame) {
_rotation = _rotation + 0.5;
}
}
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 71 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 22) {
level = 22;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 73 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 512 {
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -10;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -10;
}
}
if (_currentframe == 11) {
stop();
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true) or this.hitTest(_root.car)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
yspeed = 0;
}
if (_y > 520) {
_y = _y - 600;
}
}
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 74 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 23) {
level = 23;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 76 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
frame 76 {
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 3035) {
_x = 3035;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 50) {
_x = 50;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 15) {
xspeed = 15;
}
if (xspeed < -15) {
xspeed = -15;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
movieClip 517 {
}
instance border of movieClip 472 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.node1._x > 3400) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 77 {
if (win == 1) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 24) {
level = 24;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 79 {
stop();
target = 750;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
movieClip 523 {
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
movieClip 527 {
}
movieClip 528 {
}
movieClip 529 {
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.5 + 200;
}
}
movieClip 531 {
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 960) {
_x = 960;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._x = _x;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 20) {
_x = 20;
xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
if (_x > 1230) {
_x = 1230;
xspeed = 0;
_root.node2._x = 1260;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 533 {
}
movieClip 535 {
}
movieClip 537 {
frame 9 {
}
frame 10 {
stop();
}
}
movieClip 538 {
frame 1 {
stop();
}
instance of movieClip 535 {
onClipEvent (enterFrame) {
_rotation = _rotation + 5;
}
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
frame 80 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 25) {
level = 25;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Eruption (Highscore mode)';
}
}
frame 82 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.5 + 200;
}
}
instance wheel2 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance wheel1 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 20) {
_x = 20;
xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
if (_x > 1230) {
_x = 1230;
xspeed = 0;
_root.node2._x = 1260;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
movieClip 550 {
frame 1 {
stop();
}
}
instance linee of movieClip 550 {
onClipEvent (enterFrame) {
_x = _x - 10;
if (_x < -640) {
_x = _x + 2560;
section = Math.ceil(Math.random() * 5);
if (section == 1) {
gotoAndStop(1);
}
if (section == 2) {
gotoAndStop(2);
}
if (section == 3) {
gotoAndStop(3);
}
if (section == 4) {
gotoAndStop(4);
}
if (section == 5) {
gotoAndStop(5);
}
}
}
}
instance linee2 of movieClip 550 {
onClipEvent (enterFrame) {
_x = _x - 10;
if (_x < -640) {
_x = _x + 2560;
section = Math.ceil(Math.random() * 5);
if (section == 1) {
gotoAndStop(1);
}
if (section == 2) {
gotoAndStop(2);
}
if (section == 3) {
gotoAndStop(3);
}
if (section == 4) {
gotoAndStop(4);
}
if (section == 5) {
gotoAndStop(5);
}
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 960) {
_x = 960;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._x = _x;
}
}
movieClip 552 {
}
movieClip 555 {
}
movieClip 557 {
}
movieClip 560 {
}
movieClip 563 {
}
movieClip 565 {
}
movieClip 567 {
}
movieClip 570 {
}
movieClip 571 {
frame 1 {
stop();
}
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
_x = _x - 10;
if (_x < -640) {
_x = _x + 2560;
}
if (this.hitTest(_root.node1._x, _root.node1._y + 15, true) or this.hitTest(_root.node2._x, _root.node2._y + 15, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
}
if (_root.linee2._currentframe == 1) {
gotoAndStop(1);
}
if (_root.linee2._currentframe == 2) {
gotoAndStop(2);
}
if (_root.linee2._currentframe == 3) {
gotoAndStop(3);
}
if (_root.linee2._currentframe == 4) {
gotoAndStop(4);
}
if (_root.linee2._currentframe == 5) {
gotoAndStop(5);
}
}
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
_x = _x - 10;
if (_x < -640) {
_x = _x + 2560;
}
if (this.hitTest(_root.node1._x, _root.node1._y + 15, true) or this.hitTest(_root.node2._x, _root.node2._y + 15, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
}
if (_root.linee._currentframe == 1) {
gotoAndStop(1);
}
if (_root.linee._currentframe == 2) {
gotoAndStop(2);
}
if (_root.linee._currentframe == 3) {
gotoAndStop(3);
}
if (_root.linee._currentframe == 4) {
gotoAndStop(4);
}
if (_root.linee._currentframe == 5) {
gotoAndStop(5);
}
}
}
movieClip 572 {
frame 1 {
stop();
}
frame 10 {
}
frame 11 {
stop();
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (follow == 1) {
_x = _root.car._x;
_y = _root.car._y - 10;
} else {
_x = _x - 10;
}
}
}
instance bomb1 of movieClip 148 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (press) {
if (done !== 1) {
play();
_root.border.bombs = 2;
}
if (this.hitTest(_root.car)) {
_root.node1.yspeed = -20;
_root.node2.yspeed = -20;
}
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
frame 83 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 26) {
level = 26;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Lava Jumping (HS mode)';
}
}
frame 85 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_y = _y + (_root.car._y + 200 - _y) / 4;
_x = _x + (_root.car._x - _x) / 4;
_root.border._y = _y;
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._y = _y;
_root.sky._x = _x;
}
}
movieClip 580 {
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part1._x;
_y = _root.part1._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part2._x;
_y = _root.part2._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part3._x;
_y = _root.part3._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part4._x;
_y = _root.part4._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part5._x;
_y = _root.part5._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part6._x;
_y = _root.part6._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part7._x;
_y = _root.part7._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part8._x;
_y = _root.part8._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part9._x;
_y = _root.part9._y;
_xscale = _root.part1._xscale;
}
}
instance wheel2 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance wheel1 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
max = 20;
}
onClipEvent (enterFrame) {
max += 0.05;
if (max > 25) {
max = 25;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
if (yspeed > max) {
yspeed = max;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
max = 20;
}
onClipEvent (enterFrame) {
max += 0.05;
if (max > 25) {
max = 25;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
if (yspeed > max) {
yspeed = max;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (follow == 1) {
_x = _root.car._x;
_y = _root.car._y - 10;
}
}
}
movieClip 582 {
}
movieClip 584 {
}
movieClip 585 {
}
instance part1 of movieClip 585 {
onClipEvent (load) {
_x = _root.part9._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part9._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part2 of movieClip 585 {
onClipEvent (load) {
_x = _root.part1._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part1._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part3 of movieClip 585 {
onClipEvent (load) {
_x = _root.part2._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part2._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part4 of movieClip 585 {
onClipEvent (load) {
_x = _root.part3._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part3._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part5 of movieClip 585 {
onClipEvent (load) {
_x = _root.part4._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part4._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part6 of movieClip 585 {
onClipEvent (load) {
_x = _root.part5._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part5._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part7 of movieClip 585 {
onClipEvent (load) {
_x = _root.part6._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part6._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part8 of movieClip 585 {
onClipEvent (load) {
_x = _root.part7._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part7._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part9 of movieClip 585 {
onClipEvent (load) {
_x = _root.part8._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part8._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 86 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 27) {
level = 27;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Into the volcano (HS mode)';
}
}
frame 88 {
stop();
target = 750;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
_root.border._y = _y;
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._y = _y;
_root.sky._x = _x;
}
}
movieClip 592 {
}
instance car of movieClip 592 {
onClipEvent (load) {
xspeed = 0;
alive = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed -= 1.5;
}
if (Key.isDown(39)) {
xspeed += 1.5;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
_x = _x + xspeed;
_rotation = xspeed;
if (alive == 1) {
_y = _y + 10;
while (_root.lava.hitTest(_x, _y, true)) {
_y = _y - 1;
}
while (_root.lava2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
while (_root.lava3.hitTest(_x, _y, true)) {
_y = _y - 1;
}
} else {
_y = 1900;
xspeed = 0;
_root.explosion.play();
_root.explosion.yspeed = _root.part1.speed;
}
}
}
movieClip 594 {
}
instance lava of movieClip 594 {
onClipEvent (enterFrame) {
if (_x + 640 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x + 640 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance lava of movieClip 594 {
onClipEvent (enterFrame) {
if (_x - 640 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x - 640 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance lava3 of movieClip 594 {
onClipEvent (enterFrame) {
if (_x + 1920 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x + 1920 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
movieClip 596 {
}
instance part1 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
_x = _root.part3._x - 250 + Math.random() * 500;
}
}
}
instance part2 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
x = _root.part1._x - 250 + Math.random() * 500;
}
}
}
instance part3 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.car._x += xspeed;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
x = _root.part2._x - 250 + Math.random() * 500;
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _y + yspeed;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._x > _root.cam._x + 250 or _root.car._x < 0) {
this.play();
}
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 89 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 28) {
level = 28;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Lava Riding (Highscore mode)';
}
}
frame 91 {
stop();
target = 500;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.5 + 200;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 960) {
_x = 960;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._x = _x;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 20) {
_x = 20;
xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
if (_x > 1230) {
_x = 1230;
xspeed = 0;
_root.node2._x = 1260;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
frame 92 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 29) {
level = 29;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 94 {
stop();
target = 1000;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.5 + 200;
}
}
instance wheel2 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance wheel1 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 20) {
_x = 20;
xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
if (_x > 1230) {
_x = 1230;
xspeed = 0;
_root.node2._x = 1260;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance linee of movieClip 550 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
section = Math.ceil(Math.random() * 5);
if (section == 1) {
gotoAndStop(1);
}
if (section == 2) {
gotoAndStop(2);
}
if (section == 3) {
gotoAndStop(3);
}
if (section == 4) {
gotoAndStop(4);
}
if (section == 5) {
gotoAndStop(5);
}
}
}
}
instance linee2 of movieClip 550 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
section = Math.ceil(Math.random() * 5);
if (section == 1) {
gotoAndStop(1);
}
if (section == 2) {
gotoAndStop(2);
}
if (section == 3) {
gotoAndStop(3);
}
if (section == 4) {
gotoAndStop(4);
}
if (section == 5) {
gotoAndStop(5);
}
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 960) {
_x = 960;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._x = _x;
}
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
}
if (this.hitTest(_root.node1._x, _root.node1._y + 15, true) or this.hitTest(_root.node2._x, _root.node2._y + 15, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
}
if (_root.linee2._currentframe == 1) {
gotoAndStop(1);
}
if (_root.linee2._currentframe == 2) {
gotoAndStop(2);
}
if (_root.linee2._currentframe == 3) {
gotoAndStop(3);
}
if (_root.linee2._currentframe == 4) {
gotoAndStop(4);
}
if (_root.linee2._currentframe == 5) {
gotoAndStop(5);
}
}
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
}
if (this.hitTest(_root.node1._x, _root.node1._y + 15, true) or this.hitTest(_root.node2._x, _root.node2._y + 15, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
}
if (_root.linee._currentframe == 1) {
gotoAndStop(1);
}
if (_root.linee._currentframe == 2) {
gotoAndStop(2);
}
if (_root.linee._currentframe == 3) {
gotoAndStop(3);
}
if (_root.linee._currentframe == 4) {
gotoAndStop(4);
}
if (_root.linee._currentframe == 5) {
gotoAndStop(5);
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (follow == 1) {
_x = _root.car._x;
_y = _root.car._y - 10;
} else {
_x = _x - 10;
}
}
}
instance bomb1 of movieClip 148 {
onClipEvent (enterFrame) {
if (this._currentframe == 19) {
gotoAndStop(1);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (press) {
if (done !== 1) {
play();
_root.border.bombs = 2;
}
if (this.hitTest(_root.car)) {
_root.node1.yspeed = -10;
_root.node2.yspeed = -10;
}
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
frame 95 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 30) {
level = 30;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 97 {
stop();
target = 1250;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_y = _y + (_root.car._y + 200 - _y) / 4;
_x = _x + (_root.car._x - _x) / 4;
_root.border._y = _y;
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._y = _y;
_root.sky._x = _x;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part1._x;
_y = _root.part1._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part2._x;
_y = _root.part2._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part3._x;
_y = _root.part3._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part4._x;
_y = _root.part4._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part5._x;
_y = _root.part5._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part6._x;
_y = _root.part6._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part7._x;
_y = _root.part7._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part8._x;
_y = _root.part8._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part9._x;
_y = _root.part9._y;
_xscale = _root.part1._xscale;
}
}
instance wheel2 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance wheel1 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
max = 20;
}
onClipEvent (enterFrame) {
max += 0.05;
if (max > 25) {
max = 25;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
if (yspeed > max) {
yspeed = max;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
max = 20;
}
onClipEvent (enterFrame) {
max += 0.05;
if (max > 25) {
max = 25;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
if (yspeed > max) {
yspeed = max;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (follow == 1) {
_x = _root.car._x;
_y = _root.car._y - 10;
}
}
}
instance part1 of movieClip 585 {
onClipEvent (load) {
_x = _root.part9._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part9._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part2 of movieClip 585 {
onClipEvent (load) {
_x = _root.part1._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part1._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part3 of movieClip 585 {
onClipEvent (load) {
_x = _root.part2._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part2._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part4 of movieClip 585 {
onClipEvent (load) {
_x = _root.part3._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part3._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part5 of movieClip 585 {
onClipEvent (load) {
_x = _root.part4._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part4._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part6 of movieClip 585 {
onClipEvent (load) {
_x = _root.part5._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part5._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part7 of movieClip 585 {
onClipEvent (load) {
_x = _root.part6._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part6._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part8 of movieClip 585 {
onClipEvent (load) {
_x = _root.part7._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part7._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part9 of movieClip 585 {
onClipEvent (load) {
_x = _root.part8._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part8._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 98 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 31) {
level = 31;
}
} else {
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 100 {
stop();
target = 1500;
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
_root.border._y = _y;
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._y = _y;
_root.sky._x = _x;
}
}
instance car of movieClip 592 {
onClipEvent (load) {
xspeed = 0;
alive = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed -= 1.5;
}
if (Key.isDown(39)) {
xspeed += 1.5;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
_x = _x + xspeed;
_rotation = xspeed;
if (alive == 1) {
_y = _y + 10;
while (_root.lava.hitTest(_x, _y, true)) {
_y = _y - 1;
}
while (_root.lava2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
while (_root.lava3.hitTest(_x, _y, true)) {
_y = _y - 1;
}
} else {
_y = 1900;
xspeed = 0;
_root.explosion.play();
_root.explosion.yspeed = _root.part1.speed;
}
}
}
instance lava of movieClip 594 {
onClipEvent (enterFrame) {
if (_x + 640 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x + 640 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance lava of movieClip 594 {
onClipEvent (enterFrame) {
if (_x - 640 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x - 640 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance lava3 of movieClip 594 {
onClipEvent (enterFrame) {
if (_x + 1920 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x + 1920 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance part1 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
_x = _root.part3._x - 250 + Math.random() * 500;
}
}
}
instance part2 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
x = _root.part1._x - 250 + Math.random() * 500;
}
}
}
instance part3 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.car._x += xspeed;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
x = _root.part2._x - 250 + Math.random() * 500;
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _y + yspeed;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._x > _root.cam._x + 250 or _root.car._x < 0) {
this.play();
}
if (_root.border.pipe > _root.target) {
_root.win = 1;
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 101 {
if (ends >= target) {
result = 'You Win!';
retrynext.gotoAndStop(2);
if (level < 32) {
level = 32;
_root.unlock.play();
}
} else {
_root.unlock.stop();
result = 'You Lose!';
retrynext.gotoAndStop(1);
}
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
instance unlock of movieClip 287 {
onClipEvent (load) {
unlock.desc = 'Super Mystery Box';
}
}
frame 102 {
stop();
}
movieClip 622 {
}
instance of movieClip 622 {
onClipEvent (load) {
if (_root.level > 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (release) {
if (_root.level > 0) {
_root.nextFrame();
}
}
}
button 625 {
on (release) {
gotoAndStop(5);
}
}
button 626 {
on (release) {
getURL('http://www.dwarfgames.com/?utm_source=ingame&utm_medium=sponsoredgames&utm_campaign=mtm3', '_blank');
}
}
frame 103 {
stop();
}
movieClip 630 {
}
instance of movieClip 630 {
onClipEvent (load) {
if (_root.level > 0) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(104);
}
}
}
movieClip 632 {
}
instance of movieClip 632 {
onClipEvent (load) {
if (_root.level > 1) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(106);
}
}
}
movieClip 634 {
}
instance of movieClip 634 {
onClipEvent (load) {
if (_root.level > 2) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(108);
}
}
}
movieClip 636 {
}
instance of movieClip 636 {
onClipEvent (load) {
if (_root.level > 3) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(110);
}
}
}
movieClip 638 {
}
instance of movieClip 638 {
onClipEvent (load) {
if (_root.level > 8) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(112);
}
}
}
movieClip 640 {
}
instance of movieClip 640 {
onClipEvent (load) {
if (_root.level > 9) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(114);
}
}
}
movieClip 642 {
}
instance of movieClip 642 {
onClipEvent (load) {
if (_root.level > 10) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(116);
}
}
}
movieClip 644 {
}
instance of movieClip 644 {
onClipEvent (load) {
if (_root.level > 11) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(118);
}
}
}
movieClip 646 {
}
instance of movieClip 646 {
onClipEvent (load) {
if (_root.level > 24) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(120);
}
}
}
movieClip 648 {
}
instance of movieClip 648 {
onClipEvent (load) {
if (_root.level > 25) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(122);
}
}
}
movieClip 650 {
}
instance of movieClip 650 {
onClipEvent (load) {
if (_root.level > 26) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(124);
}
}
}
movieClip 652 {
}
instance of movieClip 652 {
onClipEvent (load) {
if (_root.level > 27) {
gotoAndStop(2);
} else {
stop();
}
}
onClipEvent (release) {
if (_currentframe == 2) {
_root.gotoAndStop(126);
}
}
}
frame 104 {
stop();
target = '∞';
friction = 1.5;
speed = 1;
ramp = 4;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
}
frame 104 {
_root.border.gametype = 'Long Jump Freeplay';
}
frame 104 {
stop();
_root.coin = 0;
}
instance of movieClip 355 {
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 45 {
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 45 {
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 45 {
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 41 {
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 41 {
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 129 {
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 129 {
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 129 {
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 45 {
onClipEvent (enterFrame) {
if (_root.cam._x - 2569.25 > _x) {
_x = _x + 5138.5;
}
if (_root.car._x > 600) {
}
}
}
instance mud of movieClip 136 {
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 149 {
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 155 {
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 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance m of movieClip 159 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
instance node2 of movieClip 161 {
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;
}
}
}
instance node1 of movieClip 163 {
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;
}
}
}
instance of movieClip 165 {
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 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 640 > _x) {
_x = _x + 1280;
}
}
}
instance of movieClip 171 {
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 171 {
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 177 {
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 183 {
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;
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 border of movieClip 197 {
onClipEvent (enterFrame) {
target = _root.target;
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 211 {
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 holder of movieClip 252 {
onClipEvent (load) {
show = 0;
}
onClipEvent (enterFrame) {
if (show == 1) {
play();
}
if (show == 0) {
gotoAndStop(1);
}
}
}
instance of movieClip 254 {
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 148 {
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();
_root.border.bombs = 2;
}
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 148 {
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();
_root.border.bombs = 1;
}
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 148 {
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();
_root.border.bombs = 0;
}
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 256 {
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 105 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance of movieClip 41 {
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 41 {
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 cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 657 {
on (release) {
_root.gotoAndStop(128);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 106 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 106 {
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance of movieClip 291 {
onClipEvent (load) {
_y = 200 + random(200);
}
onClipEvent (enterFrame) {
if (bomb._currentframe > 10) {
bomb.stop();
}
if (_x - _root.cam._x < -450) {
_x = _x + (1260 + random(_root.border.pipe));
_y = 200 + random(200);
bomb.gotoAndStop(1);
}
}
}
instance cloud1 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -2900) {
_x = _x + 3600;
_y = 200 + random(200);
}
}
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 107 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 659 {
on (release) {
_root.gotoAndStop(130);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 108 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 108 {
stop();
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
if (_root.car._x > 120) {
_x = _x + _root.node1.xspeed / 1.5;
}
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
if (_root.car._x > 120) {
_x = _x + _root.node1.xspeed / 2;
}
}
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 80 + random(120);
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance p2 of movieClip 158 {
}
instance m of movieClip 314 {
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
instance of movieClip 371 {
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 of movieClip 319 {
onClipEvent (load) {
_x = 2000;
}
onClipEvent (enterFrame) {
pipe = _x / 20;
if (_root.cam._x - 500 > _x) {
_x = _x + 2000;
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_y = _y + 4;
while (_root.wave1.hitTest(_x, _y, true) or _y > 450 or _root.wave2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
if (this.hitTest(_root.car)) {
this.play();
_root.node1.yspeed = -15;
_root.node2.yspeed = -15;
}
if (_root.cam._x - 500 > _x or _currentframe > 10) {
gotoAndStop(1);
_x = _x + (800 + Math.random() * (_root.car._x / 10));
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (_root.cam._x - 500 > _x) {
_x = _x + 1000;
}
if (_root.cam._x + 500 < _x) {
_x = _x - 1000;
}
}
}
instance wave1 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance wave2 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance of movieClip 326 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.node1._y > 480) {
this.play();
}
score = Math.round(_root.car._x / 20);
}
}
instance splash of movieClip 342 {
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_x = _root.car._x + _root.node1.xspeed;
}
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = Math.round(_x / 20) - 16;
}
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 109 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 663 {
on (release) {
_root.gotoAndStop(132);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 110 {
stop();
target = '∞';
friction = 1.5;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 80 + random(200);
}
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x + 640 > _x) {
_x = _x + 640;
}
_x = _x + _root.node1.xspeed / 1.5;
}
}
instance of movieClip 129 {
onClipEvent (enterFrame) {
if (_root.cam._x - 900 > _x) {
_x = _x + 1800;
}
_x = _x + _root.node1.xspeed / 2;
}
}
instance of movieClip 134 {
onClipEvent (enterFrame) {
_parent.pipef = _parent._parent.pipe;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.wave1.hitTest(_x, _y, true) and yspeed > 0 or _root.wave2.hitTest(_x, _y, true) and yspeed > 5) {
yspeed *= 0.8;
xspeed *= 0.9;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
buttonlastpressed = 4;
yspeed = 0;
space = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_root.car._x < 3140) {
if (buttonlastpressed == 4 and Key.isDown(39) and !Key.isDown(38)) {
buttonlastpressed = 1;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
if (buttonlastpressed == 1 and Key.isDown(40) and !Key.isDown(39)) {
buttonlastpressed = 2;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
if (buttonlastpressed == 2 and Key.isDown(37) and !Key.isDown(40)) {
buttonlastpressed = 3;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
if (buttonlastpressed == 3 and Key.isDown(38) and !Key.isDown(37)) {
buttonlastpressed = 4;
_root.node1.xspeed += 2;
_root.node2.xspeed += 2;
}
}
inside._rotation += xspeed;
_x = _x + xspeed;
_root.node2._x += xspeed;
if (_root.car._y > 480) {
xspeed = 0;
_root.node2.xspeed = 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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
}
}
instance wave1 of movieClip 335 {
onClipEvent (enterFrame) {
if (_x <= _root.cam._x + 320) {
_x = _x + 640;
}
if (_x >= _root.cam._x + 320) {
_x = _x - 640;
}
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 480) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance splash of movieClip 342 {
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_x = _root.car._x + _root.node1.xspeed;
}
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120 and _root.car._y < 480) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
instance border of movieClip 384 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = Math.round(_x / 20) - 16;
}
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
frame 111 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 666 {
on (release) {
_root.gotoAndStop(134);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 112 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 112 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb1._y;
}
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
if (_root.bomb2._y < 0) {
_y = _root.bomb2._y;
}
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance bomb2 of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 9) {
stop();
}
if (_root.cam._y + 300 < _y) {
big = Math.ceil(Math.random() * 5);
if (big == 5) {
_xscale = sxs * 1.5;
_yscale = sxs * 1.5;
} else {
_xscale = sxs;
_yscale = sxs;
}
gotoAndStop(1);
xspeed = -(_root.car._y + 345) / 1000;
yes = 0;
_y = _y - 600;
_x = _root.mainx + Math.random() * _root.car._y / 20 - (Math.random() * _root.car._y / 20) * 2;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.mainx = _x;
}
}
}
instance bomb1 of movieClip 148 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car) or this.hitTest(_root.node1) or this.hitTest(_root.node2)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 9) {
stop();
}
if (_root.cam._y + 300 < _y) {
big = Math.ceil(Math.random() * 5);
if (big == 5) {
_xscale = sxs * 1.5;
_yscale = sxs * 1.5;
} else {
_xscale = sxs;
_yscale = sxs;
}
gotoAndStop(1);
xspeed = -(_root.car._y + 345) / 1000;
yes = 0;
_y = _y - 600;
_x = _root.mainx + Math.random() * _root.car._y / 20 - (Math.random() * _root.car._y / 20) * 2;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.mainx = _x;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
if (_root.car._y < 480) {
pipe = -Math.round(_y / 20) - 16 + 28;
}
_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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._y < 120 and _y > _root.car._y) {
_y = _y + (_root.car._y - _y) / 2;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._y = _y;
}
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 113 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 669 {
on (release) {
_root.gotoAndStop(136);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 114 {
stop();
target = '∞';
friction = 1;
speed = 1.5;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
frame 114 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance linee of movieClip 407 {
onClipEvent (load) {
rotchange = 10;
timetarget = 60;
timer = 60;
}
onClipEvent (enterFrame) {
rotchange += 0.1;
if (rotchange > 30) {
rotchange = 30;
}
if (timer == timetarget) {
if (timetarget > 20) {
timetarget -= 1;
}
target = rotchange - Math.random() * (rotchange * 2);
timer = 0;
}
timer += 1;
_rotation = _rotation + (target - _rotation) / 50;
_root.top._rotation = _rotation;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
xspeed += _root.linee._rotation / 17.5;
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance wave2 of movieClip 325 {
onClipEvent (enterFrame) {
if (_x < _root.cam._x - 960) {
_x = _x + 1280;
}
if (_x > _root.cam._x + 320) {
_x = _x - 1280;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round(Number(pipe + 1));
_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 of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > 400 or _root.car._y < 0) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance of movieClip 444 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 650) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = 200 + Math.random() * 240;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
}
}
frame 115 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 671 {
on (release) {
_root.gotoAndStop(138);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 116 {
stop();
target = '∞';
friction = 1;
speed = 0;
speed2 = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
if (_root.node1._y > _y and _root.node2._y > _y) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (yspeed > 20) {
yspeed = 20;
}
if (yspeed < -20) {
yspeed = -20;
}
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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee4.hitTest(_x, _y + _height / 2, true) or _root.linee4.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee5.hitTest(_x, _y + _height / 2, true) or _root.linee5.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee6.hitTest(_x, _y + _height / 2, true) or _root.linee6.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee4.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee5.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee6.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee4.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee5.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee6.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
xspeed += _root.linee._rotation / 17.5;
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
if (yspeed > 20) {
yspeed = 20;
}
if (yspeed < -20) {
yspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed2;
}
if (Key.isDown(37)) {
xspeed -= _root.speed2;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee4.hitTest(_x, _y + _height / 2, true) or _root.linee4.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee5.hitTest(_x, _y + _height / 2, true) or _root.linee5.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee6.hitTest(_x, _y + _height / 2, true) or _root.linee6.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee4.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee5.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee6.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee4.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee5.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee6.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance linee of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
_root.speed = Number(_root.speed) + 0.0025;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee2 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee3 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee4 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance linee5 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
if (_y < _root.car._y) {
_y = _y + (_root.car._y - _y) / 4;
}
_root.border._y = _y;
}
}
instance linee6 of movieClip 419 {
onClipEvent (load) {
_x = 100 + Math.random() * 500;
_root.speed = 1;
}
onClipEvent (enterFrame) {
_y = _y - _root.speed;
if (_y < _root.car._y - 400) {
_y = _y + 1000;
_x = 100 + Math.random() * 500;
}
}
}
instance of movieClip 421 {
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;
}
_y = _root.car._y;
}
}
instance of movieClip 421 {
onClipEvent (enterFrame) {
if (_root.node2._x > 640) {
_root.node1._x = 600;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
_y = _root.car._y;
}
}
instance border of movieClip 400 {
onClipEvent (load) {
addd = 0;
}
onClipEvent (enterFrame) {
target = _root.target;
addd += _root.speed;
pipe = Math.round((addd + _root.cam._y + 350 - 775) / 5);
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y < _root.cam._y - 250) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 117 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 673 {
on (release) {
_root.gotoAndStop(140);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 118 {
stop();
target = '∞';
friction = 1;
speed = 1.5;
speed2 = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
mfall = 10;
gravity = 1;
ram = 0;
coin = 0;
}
frame 118 {
}
instance of movieClip 45 {
onClipEvent (enterFrame) {
if (_y - _root.cam._y > 450) {
_y = _y - 1000;
_x = random(640);
}
}
}
instance of movieClip 129 {
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_x = _x - 5;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
if (_y < _root.car._y + 200) {
_y = _y + (_root.car._y + 200 - _y) / 4;
}
_root.border._y = _y;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
}
}
instance of movieClip 421 {
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;
}
_y = _root.car._y;
}
}
instance of movieClip 421 {
onClipEvent (enterFrame) {
if (_root.node2._x > 640) {
_root.node1._x = 600;
_root.node1.xspeed = -_root.node1.xspeed / 2;
_root.node2.xspeed = -_root.node2.xspeed / 2;
}
_y = _root.car._y;
}
}
instance bar1 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb1._y;
}
}
instance bar2 of movieClip 390 {
onClipEvent (enterFrame) {
_y = _root.bomb2._y;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x > 600) {
_x = 600;
xspeed = 0;
_root.node1._x = 560;
_root.node1.xspeed = 0;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (yspeed > _root.mfall) {
yspeed = _root.mfall;
}
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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_x < 40) {
_x = 40;
xspeed = 0;
_root.node2._x = 80;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
if (yspeed > _root.mfall) {
yspeed = _root.mfall;
}
_root.mfall += 0.05;
if (_root.mfall > 25) {
_root.mfall = 25;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance bomb2 of movieClip 427 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 11) {
stop();
}
if (_root.cam._y - 300 > _y) {
gotoAndStop(1);
xspeed = 0;
yes = 0;
_y = _y + 1000;
_x = 100 + Math.random() * 440;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.warn2._x = _x;
_root.mainx = _x;
}
}
}
instance bomb1 of movieClip 427 {
onClipEvent (load) {
xspeed = 0;
yes = 0;
_root.mainx = _x;
sxs = _xscale;
}
onClipEvent (enterFrame) {
_x = _x - xspeed;
if (_x < 45) {
xspeed = -xspeed;
}
if (_x > 595) {
xspeed = -xspeed;
}
if (this.hitTest(_root.car)) {
this.play();
if (_root.node1.yspeed > -30) {
_root.node1.yspeed = -30;
}
if (_root.node2.yspeed > -30) {
_root.node2.yspeed = -30;
}
if (big == 5) {
root.node1.yspeed = -70;
_root.node2.yspeed = -70;
}
}
if (_currentframe == 11) {
stop();
}
if (_root.cam._y - 300 > _y) {
gotoAndStop(1);
xspeed = 0;
yes = 0;
_y = _y + 1000;
_x = 100 + Math.random() * 440;
if (_x > 590) {
_x = 590 - Math.random() * 150;
}
if (_x < 50) {
_x = 50;
}
_root.warn2._x = _x;
_root.mainx = _x;
}
}
}
instance warn of movieClip 429 {
}
instance warn2 of movieClip 429 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb2._y - 20 < _y)) {
_x = 1000;
}
}
}
instance border of movieClip 400 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Math.round((_root.cam._y + 350 - 775) / 10 - 10);
this.speed = Math.round(_root.node1.xspeed * 3);
if (this.speed < 0) {
this.speed = -(this.speed * 2);
}
this.distance = _root.car._x;
}
}
instance of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y < _root.cam._y - 250) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 119 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 675 {
on (release) {
_root.gotoAndStop(142);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 120 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.5 + 200;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 960) {
_x = 960;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._x = _x;
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 20) {
_x = 20;
xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
if (_x > 1230) {
_x = 1230;
xspeed = 0;
_root.node2._x = 1260;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance of movieClip 538 {
onClipEvent (load) {
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
score = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
yspeed += 0.5;
score += 1.5;
_root.score = Math.round(score);
_x = _x - _root.node1.xspeed / 2;
if (this.hitTest(_root.node1._x, _root.node1._y, true) or this.hitTest(_root.node2._x, _root.node2._y, true)) {
this.play();
_root.ender.play();
_root.node1.yspeed = -100;
_root.node2.yspeed = -100;
}
if (_root.linee.hitTest(_x, _y + 25, true)) {
this.play();
yspeed = 0;
xspeed = 0;
}
if (_currentframe == 9 or _y > 480) {
gotoAndStop(1);
_y = -50 - Math.random() * 200;
_x = -400 + _root.car._x + Math.random() * 800;
xspeed = Math.random() * 10 - 5;
yspeed = 0;
yes = 0;
}
angle = Math.atan(yspeed / xspeed) / 0.0174532925199433;
if (xspeed < 0) {
angle += 180;
}
if (xspeed >= 0 && yspeed < 0) {
angle += 360;
}
_rotation = angle - 90;
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
frame 121 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 679 {
on (release) {
_root.gotoAndStop(144);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 122 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.5 + 200;
}
}
instance wheel2 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance wheel1 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
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;
}
xspeed = _root.node1.xspeed;
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < -100) {
_y = -110;
}
if (_x < 20) {
_x = 20;
xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
if (_x > 1230) {
_x = 1230;
xspeed = 0;
_root.node2._x = 1260;
_root.node2.xspeed = 0;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance linee of movieClip 550 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
section = Math.ceil(Math.random() * 5);
if (section == 1) {
gotoAndStop(1);
}
if (section == 2) {
gotoAndStop(2);
}
if (section == 3) {
gotoAndStop(3);
}
if (section == 4) {
gotoAndStop(4);
}
if (section == 5) {
gotoAndStop(5);
}
}
}
}
instance linee2 of movieClip 550 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
section = Math.ceil(Math.random() * 5);
if (section == 1) {
gotoAndStop(1);
}
if (section == 2) {
gotoAndStop(2);
}
if (section == 3) {
gotoAndStop(3);
}
if (section == 4) {
gotoAndStop(4);
}
if (section == 5) {
gotoAndStop(5);
}
}
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
if (_x < 320) {
_x = 320;
}
if (_x > 960) {
_x = 960;
}
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._x = _x;
}
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
}
if (this.hitTest(_root.node1._x, _root.node1._y + 15, true) or this.hitTest(_root.node2._x, _root.node2._y + 15, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
}
if (_root.linee2._currentframe == 1) {
gotoAndStop(1);
}
if (_root.linee2._currentframe == 2) {
gotoAndStop(2);
}
if (_root.linee2._currentframe == 3) {
gotoAndStop(3);
}
if (_root.linee2._currentframe == 4) {
gotoAndStop(4);
}
if (_root.linee2._currentframe == 5) {
gotoAndStop(5);
}
}
}
instance of movieClip 571 {
onClipEvent (enterFrame) {
_x = _x - 20;
if (_x < -640) {
_x = _x + 2560;
}
if (this.hitTest(_root.node1._x, _root.node1._y + 15, true) or this.hitTest(_root.node2._x, _root.node2._y + 15, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
}
if (_root.linee._currentframe == 1) {
gotoAndStop(1);
}
if (_root.linee._currentframe == 2) {
gotoAndStop(2);
}
if (_root.linee._currentframe == 3) {
gotoAndStop(3);
}
if (_root.linee._currentframe == 4) {
gotoAndStop(4);
}
if (_root.linee._currentframe == 5) {
gotoAndStop(5);
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (follow == 1) {
_x = _root.car._x;
_y = _root.car._y - 10;
} else {
_x = _x - 10;
}
}
}
instance bomb1 of movieClip 148 {
onClipEvent (enterFrame) {
if (this._currentframe == 19) {
gotoAndStop(1);
}
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (press) {
if (done !== 1) {
play();
_root.border.bombs = 2;
}
if (this.hitTest(_root.car)) {
_root.node1.yspeed = -10;
_root.node2.yspeed = -10;
}
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._y > _root.cam._y + 250 or _root.car._y < 0) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
frame 123 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 682 {
on (release) {
_root.gotoAndStop(146);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 124 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
_x = _root.cam._x / 1.25 + 200;
}
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_y = _y + (_root.car._y + 200 - _y) / 4;
_x = _x + (_root.car._x - _x) / 4;
_root.border._y = _y;
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._y = _y;
_root.sky._x = _x;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part1._x;
_y = _root.part1._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part2._x;
_y = _root.part2._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part3._x;
_y = _root.part3._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part4._x;
_y = _root.part4._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part5._x;
_y = _root.part5._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part6._x;
_y = _root.part6._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part7._x;
_y = _root.part7._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part8._x;
_y = _root.part8._y;
_xscale = _root.part1._xscale;
}
}
instance of movieClip 580 {
onClipEvent (enterFrame) {
_x = _root.part9._x;
_y = _root.part9._y;
_xscale = _root.part1._xscale;
}
}
instance wheel2 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance wheel1 of movieClip 171 {
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;
gotoAndStop(2);
}
}
instance car of movieClip 183 {
onClipEvent (load) {
engine = 0;
}
onClipEvent (enterFrame) {
while (_root.linee.hitTest(_x, _y - 30, true) or _root.linee2.hitTest(_x, _y - 30, true) or _root.linee3.hitTest(_x, _y - 30, true) or _root.linee4.hitTest(_x, _y - 30, true) or _root.linee5.hitTest(_x, _y - 30, true) or _root.linee6.hitTest(_x, _y - 30, true)) {
++_root.node1._y;
++_root.node2._y;
_y = _y + 1;
}
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;
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 node2 of movieClip 161 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
max = 20;
}
onClipEvent (enterFrame) {
max += 0.05;
if (max > 25) {
max = 25;
}
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;
}
xspeed = _root.node1.xspeed;
_x = _x + xspeed;
yspeed *= 0.995;
_x = _root.node1._x + 40;
py = _y;
if (yspeed > max) {
yspeed = max;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
++_root.node1._x;
++_root.node1.xspeed;
_x = _x + 1;
++xspeed;
}
while (_root.linee.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee2.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
while (_root.linee3.hitTest(_x + _width / 1.5, _y, true)) {
--_root.node1._x;
--_root.node1.xspeed;
_x = _x - 1;
--xspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance node1 of movieClip 163 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
max = 20;
}
onClipEvent (enterFrame) {
max += 0.05;
if (max > 25) {
max = 25;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
inside._rotation += xspeed;
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(4);
}
_x = _x + xspeed;
_root.node2._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;
if (yspeed > max) {
yspeed = max;
}
_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;
}
while (_root.linee3.hitTest(_x, _y + _height / 2, true) or _root.linee3.hitTest(_x, _y - 10, true)) {
_y = _y - 1;
--yspeed;
}
while (_root.linee.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x - _width / 2, _y, true)) {
_x = _x + 1;
++xspeed;
--yspeed;
}
while (_root.linee.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee2.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
while (_root.linee3.hitTest(_x + _width / 2, _y, true)) {
_x = _x - 1;
--xspeed;
--yspeed;
}
if (_y > 450) {
xspeed *= 0.975 + _root.friction / 100;
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (follow == 1) {
_x = _root.car._x;
_y = _root.car._y - 10;
}
}
}
instance part1 of movieClip 585 {
onClipEvent (load) {
_x = _root.part9._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part9._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part2 of movieClip 585 {
onClipEvent (load) {
_x = _root.part1._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part1._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part3 of movieClip 585 {
onClipEvent (load) {
_x = _root.part2._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part2._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part4 of movieClip 585 {
onClipEvent (load) {
_x = _root.part3._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part3._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part5 of movieClip 585 {
onClipEvent (load) {
_x = _root.part4._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part4._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part6 of movieClip 585 {
onClipEvent (load) {
_x = _root.part5._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part5._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part7 of movieClip 585 {
onClipEvent (load) {
_x = _root.part6._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part6._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part8 of movieClip 585 {
onClipEvent (load) {
_x = _root.part7._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part7._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance part9 of movieClip 585 {
onClipEvent (load) {
_x = _root.part8._x - 25 + Math.random() * 50;
}
onClipEvent (enterFrame) {
if (_xscale > 50) {
_xscale = _xscale - 0.05;
}
if (_y < _root.car._y - 200) {
_y = _y + 600;
_x = _root.part8._x - 25 + Math.random() * 50;
}
if (this.hitTest(_root.node1._x - 15, _root.node1._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
if (this.hitTest(_root.node2._x + 15, _root.node2._y, true)) {
_root.ender.play();
_root.explosion.play();
_root.explosion.follow = 0;
_root.car._alpha = 0;
_root.wheel1._alpha = 0;
_root.wheel2._alpha = 0;
_root.node1.xspeed = 0;
}
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._x > _root.cam._x + 250 or _root.car._x < 0) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 125 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 685 {
on (release) {
_root.gotoAndStop(148);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 126 {
stop();
target = '∞';
friction = 1;
speed = 1;
ramp = 2;
pipe = 0;
fire = 0;
bomb = 3;
gravity = 1;
ram = 0;
coin = 0;
win = 0;
}
instance cam of movieClip 256 {
onClipEvent (enterFrame) {
_x = _x + (_root.car._x - _x) / 4;
_root.border._y = _y;
_root.border._x = _x;
_root.warn._y = _y + 180;
_root.warn2._y = _y + 180;
_root.sky._y = _y;
_root.sky._x = _x;
}
}
instance car of movieClip 592 {
onClipEvent (load) {
xspeed = 0;
alive = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed -= 1.5;
}
if (Key.isDown(39)) {
xspeed += 1.5;
}
if (xspeed > 20) {
xspeed = 20;
}
if (xspeed < -20) {
xspeed = -20;
}
_x = _x + xspeed;
_rotation = xspeed;
if (alive == 1) {
_y = _y + 10;
while (_root.lava.hitTest(_x, _y, true)) {
_y = _y - 1;
}
while (_root.lava2.hitTest(_x, _y, true)) {
_y = _y - 1;
}
while (_root.lava3.hitTest(_x, _y, true)) {
_y = _y - 1;
}
} else {
_y = 1900;
xspeed = 0;
_root.explosion.play();
_root.explosion.yspeed = _root.part1.speed;
}
}
}
instance lava of movieClip 594 {
onClipEvent (enterFrame) {
if (_x + 640 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x + 640 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance lava of movieClip 594 {
onClipEvent (enterFrame) {
if (_x - 640 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x - 640 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance lava3 of movieClip 594 {
onClipEvent (enterFrame) {
if (_x + 1920 < _root.car._x - 640) {
_x = _x + 640;
}
if (_x + 1920 > _root.car._x + 640) {
_x = _x - 640;
}
}
}
instance part1 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
_x = _root.part3._x - 250 + Math.random() * 500;
}
}
}
instance part2 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
x = _root.part1._x - 250 + Math.random() * 500;
}
}
}
instance part3 of movieClip 596 {
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
while (this.hitTest(_root.car._x - 45, _root.car._y, true)) {
++_root.car._x;
_root.car.xspeed = 0;
}
while (this.hitTest(_root.car._x + 45, _root.car._y, true)) {
--_root.car._x;
_root.car.xspeed = 0;
}
if (this.hitTest(_root.car._x, _root.car._y - 65, true)) {
_root.car.alive = 0;
_root.car._x += xspeed;
_root.ender.play();
}
speed += 0.05;
if (speed > 20) {
speed = 20;
}
_y = _y + speed;
if (_y > 650) {
_y = _y - 800;
x = _root.part2._x - 250 + Math.random() * 500;
}
}
}
instance explosion of movieClip 572 {
onClipEvent (load) {
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _y + yspeed;
}
}
instance border of movieClip 307 {
onClipEvent (enterFrame) {
target = _root.target;
pipe = Number(pipe + 1);
}
}
instance ender of movieClip 254 {
onClipEvent (load) {
score = 0;
}
onClipEvent (enterFrame) {
_x = _root.car._x;
_y = _root.car._y;
if (_root.car._x > _root.cam._x + 250 or _root.car._x < 0) {
this.play();
}
score = Math.round(_root.car._x / 20) - 4;
}
}
frame 127 {
var CPMStarContentSpotID = '2949Q4A7A0AA1';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
instance cloud2 of movieClip 45 {
onClipEvent (enterFrame) {
if (_x - _root.cam._x < -450) {
_x = _x + 1000;
_y = 200 + random(200);
}
}
}
instance retrynext of movieClip 271 {
onClipEvent (release) {
if (_currentframe == 1) {
_root.prevFrame();
} else {
_root.nextFrame();
}
}
}
button 688 {
on (release) {
_root.gotoAndStop(150);
}
}
instance of movieClip 281 {
onClipEvent (load) {
_y = 240;
}
}
frame 128 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'cc5fa8fea9095870');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 129 {
gotoAndStop(103);
}
frame 130 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, '40ce5a322e3a9957');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 131 {
gotoAndStop(103);
}
frame 132 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'c92de769eb600fe6');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 133 {
gotoAndStop(103);
}
frame 134 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'ee1c4b9b96730591');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 135 {
gotoAndStop(103);
}
frame 136 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'afb3cc549496bdd6 ');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 137 {
gotoAndStop(103);
}
frame 138 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, '1113728f4245f1a4');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 139 {
gotoAndStop(103);
}
frame 140 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'f7498fa7f3def30b');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 141 {
gotoAndStop(103);
}
frame 142 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'ed87d626d5fa86e3');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 143 {
gotoAndStop(103);
}
frame 144 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, '4b3bdbc8009de903');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 145 {
gotoAndStop(103);
}
frame 146 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, '57eba1cdbe2cf27b');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 147 {
gotoAndStop(103);
}
frame 148 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'd26d6b9b2c3960a0');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 149 {
gotoAndStop(103);
}
frame 150 {
var o = {'n': [12, 12, 5, 15, 10, 8, 15, 14, 10, 9, 0, 9, 5, 8, 7, 0], '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, 'f95eec5737eaa548');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': ends});
}
frame 151 {
gotoAndStop(103);
}
movieClip 692 {
}
movieClip 697 {
}
// unknown tag 88 length 564
// unknown tag 88 length 70
movieClip 704 {
}
instance of movieClip 704 {
onClipEvent (press) {
_root.nextFrame();
}
}
movieClip 714 {
}
movieClip 715 {
frame 1 {
stop();
}
instance of movieClip 714 {
onClipEvent (release) {
_root.gotoAndStop(4);
_root.level = 0;
}
onClipEvent (releaseOutside) {
_parent.gotoAndStop(1);
}
}
}
instance of movieClip 715 {
onClipEvent (press) {
nextFrame();
}
onClipEvent (release) {
if (_currentframe == 4) {
_root.level = 0;
_root.gotoAndStop(4);
}
}
}
movieClip 720 {
}
movieClip 721 {
frame 1 {
stop();
}
instance of movieClip 720 {
onClipEvent (rollOver) {
_alpha = 50;
}
}
}
instance of movieClip 721 {
onClipEvent (press) {
_root.gotoAndStop(165);
}
}
frame 153 {
sspeed = 6;
money = 0;
autocash = 1;
coins = 0;
plat = 0;
mob = 0;
music = 2;
skips = 0;
}
frame 154 {
stop();
}
movieClip 726 {
}
instance of movieClip 726 {
onClipEvent (enterFrame) {
_x = _x - _root.xspeed / 8;
if (_x < -100) {
_x = _x + 950;
}
}
}
instance of movieClip 726 {
onClipEvent (enterFrame) {
_x = _x - _root.xspeed / 8;
if (_x < -100) {
_x = _x + 950;
}
}
}
movieClip 728 {
}
instance of movieClip 728 {
onClipEvent (enterFrame) {
_x = _x - _root.xspeed / 4;
if (_x < -375) {
_x = _x + 375;
}
}
}
movieClip 731 {
}
movieClip 732 {
instance linee of movieClip 731 {
onClipEvent (load) {
if (_root.plat == 0) {
_width = 325;
}
if (_root.plat == 1) {
_width = 380;
}
if (_root.plat == 2) {
_width = 440;
}
if (_root.plat == 3) {
_width = 500;
}
}
}
instance linee2 of movieClip 731 {
onClipEvent (load) {
if (_root.plat == 0) {
_width = 325;
}
if (_root.plat == 1) {
_width = 380;
}
if (_root.plat == 2) {
_width = 440;
}
if (_root.plat == 3) {
_width = 500;
}
}
}
}
movieClip 733 {
}
movieClip 734 {
frame 25 {
_root.nextFrame();
}
}
movieClip 740 {
}
movieClip 742 {
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);
}
}
movieClip 743 {
}
instance cam of movieClip 256 {
onClipEvent (load) {
ex = _x;
eskimo = 300;
}
onClipEvent (enterFrame) {
if (_root.car._x > 120 and _root.car._y < 480) {
_x = _x + (_root.car._x + 200 - _x) / 3;
_root.cloud1._x -= (_root.car._x + 200 - _x) / 4;
_root.cloud2._x += (_root.car._x + 200 - _x) / 4;
_root.sky._x = _x;
}
_root.border._x = _x;
_root.border._y = _y;
_root.holder._x = _x;
_root.holder._y = _y;
}
}
frame 155 {
stop();
dead = 0;
gravity = 0.2;
speed = 0;
friction = 0.5;
free = 1;
car = 1;
score = '';
score1 = 0;
xspeed = 0;
}
movieClip 746 {
}
instance node2 of movieClip 746 {
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
}
onClipEvent (enterFrame) {
if (_y < 10 and yspeed < 0) {
yspeed *= 0.75;
}
if (_root.node2._y - _root.node1._y > 60) {
_y = _root.node1._y + 60;
_root.node1._y = _y - 60;
}
if (_root.node2._y - _root.node1._y < -60) {
_root.node1._y = _y + 60;
_y = _root.node1._y - 60;
}
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;
}
if (_x > 740) {
_x = 740;
_xspeed = 0;
_root.node1._x = 700;
_root.node1.xspeed = 0;
}
_x = _x + xspeed;
_x = _root.node1._x + 40;
py = _y;
if (yspeed > 10) {
yspeed = 10;
}
if (yspeed < -10) {
yspeed = -10;
}
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (_root.linee.hitTest(_x, _y + 7 + _height / 2, true) and !_root.linee.hitTest(_root.node1._x, _root.node1._y + 7 + _root.node1._height / 2, true) and _root.node1._y > _y + 50) {
_root.score = Number(_root.score + Math.round(0.5 + xspeed / 4 + _root.xspeed / 4));
_root.score1 = Number(_root.score1 + Math.round(0.5 + xspeed / 4 + _root.xspeed / 4));
_root.bonusbubble._alpha = 100;
_root.bonusbubble._x = _root.carp._x;
_root.bonusbubble._y = _root.carp._y;
_root.bonusbubble.follow = 1;
} else {
if (_root.linee2.hitTest(_x, _y + 7 + _height / 2, true) and !_root.linee2.hitTest(_root.node1._x, _root.node1._y + 7 + _root.node1._height / 2, true) and _root.node1._y > _y + 50) {
_root.score = Number(_root.score + Math.round(0.5 + xspeed / 4 + _root.xspeed / 4));
_root.score1 = Number(_root.score1 + Math.round(0.5 + xspeed / 4 + _root.xspeed / 4));
_root.bonusbubble._alpha = 100;
_root.bonusbubble._x = _root.carp._x;
_root.bonusbubble._y = _root.carp._y;
_root.bonusbubble.follow = 1;
} else {
_root.bonusbubble._alpha -= 5;
_root.bonusbubble.follow = 0;
_root.bonusbubble._x -= _root.xspeed;
}
}
while (_root.linee.hitTest(_x, _y + _height / 2, true)) {
_y = _y - 1;
yspeed -= 0.2;
}
while (_root.linee2.hitTest(_x, _y + _height / 2, true)) {
_y = _y - 1;
yspeed -= 0.2;
}
if (_y > 450) {
_root.dead = 1;
}
}
}
movieClip 747 {
}
instance node1 of movieClip 747 {
onClipEvent (load) {
yspeed = 0;
done = 0;
timer = 0;
xspeed = 0;
jump2 = 0;
jumping = 0;
timer = 0;
}
onClipEvent (enterFrame) {
if (_y < 10 and yspeed < 0) {
yspeed *= 0.75;
}
inside._rotation += xspeed;
if (Key.isDown(38)) {
if (_root.linee.hitTest(_x, _y + 5 + _height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true) or _root.linee2.hitTest(_x, _y + 5 + _height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true) or _root.linee.hitTest(_root.node2._x, _root.node2._y + 5 + _root.node2._height / 2, true) or _root.linee2.hitTest(_x, _y - 10, true) or _root.linee2.hitTest(_root.node2._x, _root.node2._y + 5 + _root.node2._height / 2, true) or _root.linee2.hitTest(_root.node2._x, _root.node2._y - 10, true)) {
if (jumping == 0) {
jumping = 1;
}
timer2 = 45;
} else {
if (jump2 == 0 and jumping == 0) {
yspeed = -5;
_root.node2.yspeed = -5;
jump2 = 1;
}
}
}
if (jumping == 1) {
yspeed = -((_y + 50) / 16);
_root.node2.yspeed = -((_root.node2._y + 50) / 16);
timer2 -= 1;
}
if (timer2 == 0) {
jumping = 0;
}
if (!Key.isDown(38)) {
jumping = 0;
pressed = 0;
}
if (Key.isDown(39)) {
xspeed += _root.speed;
}
if (Key.isDown(37)) {
xspeed -= _root.speed;
}
if (_x < 10) {
_x = 10;
_xspeed = 0;
_root.node2._x = 50;
_root.node2.xspeed = 0;
}
_x = _x + xspeed;
py = _y;
if (yspeed > 10) {
yspeed = 10;
}
if (yspeed < -10) {
yspeed = -10;
}
_y = _y + yspeed;
yspeed += Number(_root.gravity);
ny = _y;
if (_root.linee.hitTest(_x, _y + 7 + _height / 2, true) and !_root.linee.hitTest(_root.node2._x, _root.node2._y + 7 + _root.node2._height / 2, true) and _root.node2._y > _y + 50) {
_root.score = Number(_root.score + Math.round(0.5 + xspeed / 2 + _root.xspeed / 2));
_root.score1 = Number(_root.score1 + Math.round(0.5 + xspeed / 2 + _root.xspeed / 2));
_root.bonusbubble._alpha = 100;
_root.bonusbubble._x = _root.carp._x;
_root.bonusbubble._y = _root.carp._y;
_root.bonusbubble.follow = 1;
} else {
if (_root.linee2.hitTest(_x, _y + 7 + _height / 2, true) and !_root.linee2.hitTest(_root.node2._x, _root.node2._y + 7 + _root.node2._height / 2, true) and _root.node2._y > _y + 50) {
_root.score = Number(_root.score + Math.round(0.5 + xspeed / 2 + _root.xspeed / 2));
_root.score1 = Number(_root.score1 + Math.round(0.5 + xspeed / 2 + _root.xspeed / 2));
_root.bonusbubble._alpha = 100;
_root.bonusbubble._x = _root.carp._x;
_root.bonusbubble._y = _root.carp._y;
_root.bonusbubble.follow = 1;
} else {
_root.bonusbubble._alpha -= 5;
_root.bonusbubble.follow = 0;
_root.bonusbubble._x -= _root.xspeed;
}
}
while (_root.linee.hitTest(_x, _y + _height / 2, true)) {
_y = _y - 1;
yspeed -= 0.2;
jump2 = 0;
}
while (_root.linee2.hitTest(_x, _y + _height / 2, true)) {
_y = _y - 1;
yspeed -= 0.2;
jump2 = 0;
}
if (_y > 450) {
_root.dead = 1;
}
}
}
movieClip 749 {
}
movieClip 750 {
frame 25 {
_root.gotoAndStop(157);
}
frame 26 {
prevFrame();
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
_x = _root.linee._x;
if (_root.dead == 1) {
play();
if (_root.xspeed > 0) {
_root.xspeed *= 0.9;
}
} else {
gotoAndStop(1);
_y = _root.linee._y;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
_x = _root.linee2._x;
if (_root.dead == 1) {
play();
} else {
gotoAndStop(1);
_y = _root.linee2._y;
}
}
}
instance linee of movieClip 731 {
onClipEvent (load) {
yspeed = 0;
if (_root.plat == 0) {
_width = 325;
}
if (_root.plat == 1) {
_width = 380;
}
if (_root.plat == 2) {
_width = 440;
}
if (_root.plat == 3) {
_width = 500;
}
timer = 0;
}
onClipEvent (enterFrame) {
_x = _x - _root.xspeed;
if (timer > 50) {
timer = 0;
_root.score = Number(_root.score + _root.autocash);
}
if (_x < -200) {
_x = _x + 1150;
_rotation = -30 + Math.random() * 60;
_y = 100 + Math.random() * 250;
}
if (_root.dead == 1) {
yspeed -= 2;
_y = _y + yspeed;
} else {
timer += 1;
}
}
}
instance linee2 of movieClip 731 {
onClipEvent (load) {
yspeed = 0;
if (_root.plat == 0) {
_width = 325;
}
if (_root.plat == 1) {
_width = 380;
}
if (_root.plat == 2) {
_width = 440;
}
if (_root.plat == 3) {
_width = 500;
}
}
onClipEvent (enterFrame) {
_x = _x - _root.xspeed;
if (_x < -200) {
_x = _x + 1150;
_rotation = -30 + Math.random() * 60;
_y = 100 + Math.random() * 250;
}
if (_root.dead == 1) {
yspeed -= 2;
_y = _y + yspeed;
}
}
}
movieClip 755 {
frame 1 {
stop();
}
}
instance bonusbubble of movieClip 755 {
onClipEvent (load) {
follow = 1;
}
onClipEvent (enterFrame) {
if (_x > 635) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
if (_alpha <= 5) {
_root.score1 = 0;
}
if (follow == 1) {
_x = _root.carp._x;
_y = _root.carp._y;
}
bonus = '+' + _root.score1;
}
}
movieClip 758 {
}
movieClip 764 {
frame 6 {
stop();
}
}
// unknown tag 88 length 62
movieClip 767 {
frame 1 {
stop();
}
frame 6 {
prevFrame();
}
}
instance carp of movieClip 767 {
onClipEvent (enterFrame) {
if (_root.node1.jump2 == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
this._x = _root.node1._x;
this._y = _root.node1._y;
if (_rotation < 0) {
_y = _y + _rotation / 2;
_x = _x - _rotation / 3.5;
}
this._rotation = Math.atan((_root.node2._y - _root.node1._y) / (_root.node2._x - _root.node1._x)) * 180 / Math.PI;
}
}
movieClip 770 {
}
instance of movieClip 770 {
onClipEvent (load) {
numb = Math.round(Math.random() * Number(_root.coins));
if (numb == 0) {
gotoAndStop(1);
} else {
if (numb == 5) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
_x = _x - _root.xspeed;
_y = _root.linee._y - 20;
if (this.hitTest(_root.carp)) {
gotoAndStop(1);
_root.beep.play();
if (numb == 5) {
_root.score = Number(_root.score + 200);
} else {
_root.score = Number(_root.score + 50);
}
}
if (_x < -200) {
_x = _x + 1150;
numb = Math.round(Math.random() * Number(_root.coins));
if (numb == 0) {
gotoAndStop(1);
} else {
if (numb == 5) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
}
}
}
instance of movieClip 770 {
onClipEvent (load) {
numb = Math.round(Math.random() * Number(_root.coins));
if (numb == 0) {
gotoAndStop(1);
} else {
if (numb == 5) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
_x = _x - _root.xspeed;
_y = _root.linee2._y - 20;
if (this.hitTest(_root.carp)) {
gotoAndStop(1);
_root.beep.play();
if (numb == 5) {
_root.score = Number(_root.score + 200);
} else {
_root.score = Number(_root.score + 50);
}
}
if (_x < -200) {
_x = _x + 1150;
numb = Math.round(Math.random() * Number(_root.coins));
if (numb == 0) {
gotoAndStop(1);
} else {
if (numb == 5) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
}
}
}
button 775 {
on (release) {
nextFrame();
}
on (keyPress '<Space>') {
nextFrame();
}
}
button 778 {
on (release) {
gotoAndStop(158);
}
}
button 780 {
on (release) {
gotoAndStop(159);
}
}
button 782 {
on (release) {
gotoAndStop(160);
}
}
frame 156 {
gravity = 0.5;
speed = mob;
friction = 0.5;
free = 1;
car = 1;
score = '';
score1 = 0;
xspeed = sspeed;
}
movieClip 785 {
}
movieClip 786 {
frame 27 {
_root.score = 0;
stop();
}
}
movieClip 789 {
frame 1 {
if (_root.score < 4) {
resultt = 'you can jump you know';
} else {
if (_root.score < 50) {
resultt = 'keep trying';
} else {
if (_root.score < 500) {
resultt = 'nice try';
} else {
if (_root.score < 1000) {
resultt = 'pretty average';
} else {
if (_root.score < 2000) {
resultt = 'good run';
} else {
if (_root.score < 3500) {
resultt = 'great run';
} else {
if (_root.score < 5000) {
resultt = 'wow amazing runI';
} else {
if (_root.score < 10000) {
resultt = 'what an incredible scoreI';
} else {
if (_root.score > 10000) {
resultt = 'you broke 10000 pointsI';
}
}
}
}
}
}
}
}
}
}
}
button 795 {
on (release) {
_parent.play();
}
on (keyPress '<Space>') {
_parent.play();
}
}
button 799 {
on (release) {
_root.gotoAndStop(153);
}
}
button 802 {
on (release) {
getURL('http://www.dwarfgames.com', '_blank');
}
}
movieClip 803 {
frame 1 {
score = _root.score;
}
}
movieClip 805 {
}
button 808 {
on (release) {
_parent.play();
}
on (keyPress '<Space>') {
_parent.play();
}
}
movieClip 819 {
frame 1 {
stop();
}
}
movieClip 830 {
}
movieClip 837 {
}
// unknown tag 88 length 12
movieClip 846 {
}
movieClip 850 {
}
movieClip 852 {
}
movieClip 855 {
instance of movieClip 819 {
onClipEvent (rollOver) {
_parent.desc = 'Your starting speed. You get more points as you go faster.';
}
onClipEvent (rollOut, dragOut) {
_parent.desc = '';
}
onClipEvent (enterFrame) {
_parent.money = '£' + _root.money;
if (_root.sspeed == 6) {
gotoAndStop(1);
}
if (_root.sspeed == 7) {
gotoAndStop(2);
}
if (_root.sspeed == 8) {
gotoAndStop(3);
}
if (_root.sspeed == 9) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.sspeed == 6) {
if (_root.money >= 50) {
_root.sspeed = 7;
_root.money = Number(_root.money - 50);
}
} else {
if (_root.sspeed == 7) {
if (_root.money >= 200) {
_root.sspeed = 8;
_root.money = Number(_root.money - 200);
}
} else {
if (_root.sspeed == 8) {
if (_root.money >= 800) {
_root.sspeed = 9;
_root.money = Number(_root.money - 800);
}
}
}
}
}
}
instance of movieClip 830 {
onClipEvent (rollOver) {
_parent.desc = 'Adds coins to the game which give you points when collected.';
}
onClipEvent (rollOut, dragOut) {
_parent.desc = '';
}
onClipEvent (enterFrame) {
_parent.money = '£' + _root.money;
if (_root.coins == 0) {
gotoAndStop(1);
}
if (_root.coins == 1) {
gotoAndStop(2);
}
if (_root.coins == 4) {
gotoAndStop(3);
}
if (_root.coins == 5) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.coins == 0) {
if (_root.money >= 100) {
_root.coins = 1;
_root.money = Number(_root.money - 100);
}
} else {
if (_root.coins == 1) {
if (_root.money >= 1000) {
_root.coins = 4;
_root.money = Number(_root.money - 1000);
}
} else {
if (_root.coins == 4) {
if (_root.money >= 4000) {
_root.coins = 5;
_root.money = Number(_root.money - 4000);
}
}
}
}
}
}
instance of movieClip 837 {
onClipEvent (rollOver) {
_parent.desc = 'Makes the platforms wider for longer grinds.';
}
onClipEvent (rollOut, dragOut) {
_parent.desc = '';
}
onClipEvent (enterFrame) {
_parent.money = '£' + _root.money;
if (_root.plat == 0) {
gotoAndStop(1);
}
if (_root.plat == 1) {
gotoAndStop(2);
}
if (_root.plat == 2) {
gotoAndStop(3);
}
if (_root.plat == 3) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.plat == 0) {
if (_root.money >= 200) {
_root.plat = 1;
_root.money = Number(_root.money - 200);
}
} else {
if (_root.plat == 1) {
if (_root.money >= 1100) {
_root.plat = 2;
_root.money = Number(_root.money - 1100);
}
} else {
if (_root.plat == 2) {
if (_root.money >= 4500) {
_root.plat = 3;
_root.money = Number(_root.money - 4500);
}
}
}
}
}
}
instance of movieClip 846 {
onClipEvent (rollOver) {
_parent.desc = 'Increases the amount of money earned per second.';
}
onClipEvent (rollOut, dragOut) {
_parent.desc = '';
}
onClipEvent (enterFrame) {
_parent.money = '£' + _root.money;
if (_root.autocash == 1) {
gotoAndStop(1);
}
if (_root.autocash == 2) {
gotoAndStop(2);
}
if (_root.autocash == 5) {
gotoAndStop(3);
}
if (_root.autocash == 10) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.autocash == 1) {
if (_root.money >= 300) {
_root.autocash = 2;
_root.money = Number(_root.money - 300);
}
} else {
if (_root.autocash == 2) {
if (_root.money >= 2000) {
_root.autocash = 5;
_root.money = Number(_root.money - 2000);
}
} else {
if (_root.autocash == 5) {
if (_root.money >= 7500) {
_root.autocash = 10;
_root.money = Number(_root.money - 7500);
}
}
}
}
}
}
instance of movieClip 852 {
onClipEvent (rollOver) {
_parent.desc = 'Lets your truck move left and right as well as jump.';
}
onClipEvent (rollOut, dragOut) {
_parent.desc = '';
}
onClipEvent (enterFrame) {
_parent.money = '£' + _root.money;
if (_root.mob == 0) {
gotoAndStop(1);
}
if (_root.mob == 0.1) {
gotoAndStop(2);
}
if (_root.mob == 0.15) {
gotoAndStop(3);
}
if (_root.mob == 0.2) {
gotoAndStop(4);
}
}
onClipEvent (release) {
if (_root.mob == 0) {
if (_root.money >= 500) {
_root.mob = 0.1;
_root.money = Number(_root.money - 500);
}
} else {
if (_root.mob == 0.1) {
if (_root.money >= 4000) {
_root.mob = 0.15;
_root.money = Number(_root.money - 4000);
}
} else {
if (_root.mob == 0.15) {
if (_root.money >= 10000) {
_root.mob = 0.2;
_root.money = Number(_root.money - 10000);
}
}
}
}
}
}
}
movieClip 858 {
}
movieClip 859 {
}
movieClip 860 {
frame 25 {
_root.money = Number(_root.money + _root.score);
stop();
}
frame 69 {
stop();
}
frame 111 {
dead = 0;
gravity = 0.2;
speed = 0;
friction = 0.5;
free = 1;
car = 1;
score = '';
score1 = 0;
xspeed = 0;
_root.gotoAndStop(154);
}
frame 159 {
_root.gotoAndStop(154);
}
}
frame 158 {
stop();
dead = 0;
gravity = 0.2;
speed = 0;
friction = 0.5;
free = 1;
car = 1;
score = '';
score1 = 0;
xspeed = 0;
}
movieClip 865 {
}
movieClip 866 {
frame 40 {
stop();
}
frame 80 {
_root.gotoAndStop(155);
}
}
movieClip 873 {
}
movieClip 877 {
}
movieClip 881 {
}
movieClip 885 {
}
movieClip 887 {
}
movieClip 889 {
}
movieClip 891 {
instance of movieClip 873 {
onClipEvent (press) {
_root._quality = 'HIGH';
}
onClipEvent (enterFrame) {
if (_root._quality == 'HIGH') {
_alpha = 100;
} else {
_alpha = 50;
}
}
onClipEvent (load) {
if (_root._quality == 'HIGH') {
_alpha = 100;
} else {
_alpha = 50;
}
}
}
instance of movieClip 877 {
onClipEvent (press) {
_root._quality = 'MEDIUM';
}
onClipEvent (enterFrame) {
if (_root._quality == 'MEDIUM') {
_alpha = 100;
} else {
_alpha = 50;
}
}
onClipEvent (load) {
if (_root._quality == 'MEDIUM') {
_alpha = 100;
} else {
_alpha = 50;
}
}
}
instance of movieClip 881 {
onClipEvent (press) {
_root._quality = 'LOW';
}
onClipEvent (enterFrame) {
if (_root._quality == 'LOW') {
_alpha = 100;
} else {
_alpha = 50;
}
}
onClipEvent (load) {
if (_root._quality == 'LOW') {
_alpha = 100;
} else {
_alpha = 50;
}
}
}
instance of movieClip 885 {
onClipEvent (press) {
if (_root.music !== 2) {
_root.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.music == 2) {
_alpha = 100;
} else {
_alpha = 50;
}
}
}
instance of movieClip 887 {
onClipEvent (press) {
_root.music = 0;
}
onClipEvent (enterFrame) {
if (_root.music == 0) {
_alpha = 100;
} else {
_alpha = 50;
}
}
}
instance of movieClip 889 {
onClipEvent (release) {
game = SharedObject.getLocal('mydata');
game.data.stalvl = 0;
game.data.runlvl = 0;
game.data.flylvl = 0;
game.data.swilvl = 0;
game.data.seed = 5;
game.data.skill = 0;
game.data.money = 0;
game.data.colour = 0;
game.data.hat = 0;
game.data.hat2 = 0;
game.data.hat3 = 0;
game.data.hat4 = 0;
game.data.hat5 = 0;
game.data.colour2 = 0;
game.data.colour3 = 0;
game.data.colour4 = 0;
game.data.colour5 = 0;
game.data.colour6 = 0;
game.data.colour7 = 0;
game.data.colour8 = 0;
game.data.colour9 = 0;
game.data.colour10 = 0;
game.flush();
_root.hat2 = 0;
_root.hat3 = 0;
_root.hat4 = 0;
_root.hat5 = 0;
_root.colour2 = 0;
_root.colour3 = 0;
_root.colour4 = 0;
_root.colour5 = 0;
_root.colour6 = 0;
_root.colour7 = 0;
_root.colour8 = 0;
_root.colour9 = 0;
_root.colour10 = 0;
_root.stalvl = 0;
_root.runlvl = 0;
_root.flylvl = 0;
_root.swilvl = 0;
_root.seed = 5;
_root.skill = 0;
_root.money = 0;
_root.colour = 0;
_root.hat = 0;
}
}
}
movieClip 892 {
frame 40 {
stop();
}
frame 80 {
_root.gotoAndStop(155);
}
}
instance of movieClip 892 {
onClipEvent (load) {
if (_root.skips == 1) {
gotoAndStop(40);
_root.skips = 0;
}
}
}
button 896 {
on (release) {
getURL('http://www.kongregate.com/games/sims5000/monster-truck-maniac', '_blank');
}
}
button 899 {
on (release) {
getURL('http://www.kongregate.com/games/sims5000/monster-truck-maniac-2', '_blank');
}
}
button 902 {
on (release) {
getURL('http://www.kongregate.com/games/sims5000/truck-launch-maniac', '_blank');
}
}
movieClip 903 {
}
movieClip 904 {
frame 40 {
stop();
}
frame 80 {
_root.gotoAndStop(155);
}
}
frame 161 {
music = 2;
gotoAndStop(159);
skips = 1;
}
frame 162 {
var o = {'n': [14, 5, 6, 1, 9, 1, 1, 7, 12, 7, 4, 4, 14, 0, 0, 6], '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, 'e5619117c744e006');
mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': score});
}
frame 163 {
gotoAndStop(154);
}
movieClip 919 {
}
movieClip 922 {
frame 1 {
this.onRelease = function () {
_root.getURL('http://www.dwarfgames.com/');
};
}
frame 232 {
_root.gotoAndPlay(3);
}
}
instance of movieClip 704 {
onClipEvent (press) {
_root.nextFrame();
}
}
instance of movieClip 715 {
onClipEvent (press) {
nextFrame();
mx.behaviors.DepthControl.bringToFront(this);
}
onClipEvent (mouseDown) {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop(1);
}
}
onClipEvent (release) {
if (_currentframe == 4) {
_root.level = 0;
_root.gotoAndStop(4);
}
}
}
movieClip 923 {
instance of movieClip 720 {
onClipEvent (rollOver) {
_alpha = 50;
}
}
}
instance of movieClip 923 {
onClipEvent (mouseDown) {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.gotoAndStop(152);
}
}
onClipEvent (release) {
getURL('http://www.megaupload.com/?d=H327L6ZC', '_blank');
}
}