Combined Code
movieClip 4 ExampleGame {
#initclip
Object.registerClass('ExampleGame', ExampleGame);
#endinitclip
}
movieClip 6 SubmitterProxy {
#initclip
Object.registerClass('SubmitterProxy', SubmitterProxy);
#endinitclip
}
movieClip 11 bounce {
frame 9 {
removeMovieClip(this);
}
}
movieClip 24 {
frame 5 {
stop();
}
}
movieClip 25 ball {
frame 1 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 32 {
}
button 36 {
on (press) {
_root.gotoAndStop(3);
_root.PauseMenu.removeMovieClip();
}
}
movieClip 41 {
frame 1 {
stop();
}
}
movieClip 45 {
frame 1 {
stop();
}
}
movieClip 48 {
frame 1 {
stop();
}
}
movieClip 52 {
frame 1 {
stop();
}
frame 3 {
if (_root.Mute == true) {
trace('a');
var BGNoise = new Sound();
BGNoise.attachSound('White');
BGNoise.start(0, 99999);
_root.Mute = false;
}
}
}
movieClip 56 {
frame 1 {
stop();
}
}
movieClip 57 {
instance high of movieClip 41 {
onClipEvent (press) {
_root._quality = 'high';
this.gotoAndStop(3);
this._parent.med.gotoAndStop(1);
this._parent.low.gotoAndStop(1);
}
onClipEvent (rollOver) {
if (this._currentFrame == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
if (this._currentFrame == 2) {
this.gotoAndStop(1);
}
}
}
instance med of movieClip 45 {
onClipEvent (press) {
_root._quality = 'medium';
this.gotoAndStop(3);
this._parent.high.gotoAndStop(1);
this._parent.low.gotoAndStop(1);
}
onClipEvent (rollOver) {
if (this._currentFrame == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
if (this._currentFrame == 2) {
this.gotoAndStop(1);
}
}
}
instance low of movieClip 48 {
onClipEvent (press) {
_root._quality = 'low';
this.gotoAndStop(3);
this._parent.high.gotoAndStop(1);
this._parent.med.gotoAndStop(1);
}
onClipEvent (rollOver) {
if (this._currentFrame == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
if (this._currentFrame == 2) {
this.gotoAndStop(1);
}
}
}
instance On of movieClip 52 {
onClipEvent (press) {
this.gotoAndStop(3);
this._parent.Off.gotoAndStop(1);
}
onClipEvent (rollOver) {
if (this._currentFrame == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
if (this._currentFrame == 2) {
this.gotoAndStop(1);
}
}
}
instance Off of movieClip 56 {
onClipEvent (press) {
_root.Mute = true;
this.gotoAndStop(3);
this._parent.On.gotoAndStop(1);
}
onClipEvent (rollOver) {
if (this._currentFrame == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
if (this._currentFrame == 2) {
this.gotoAndStop(1);
}
}
}
}
movieClip 58 PauseMenu {
frame 1 {
if (_root.Mute == true) {
be.Off.gotoAndStop(3);
}
if (_root.Mute == false) {
be.On.gotoAndStop(3);
}
if (_root._quality == 'HIGH') {
be.high.gotoAndStop(3);
}
if (_root._quality == 'MEDIUM') {
be.med.gotoAndStop(3);
}
if (_root._quality == 'LOW') {
be.low.gotoAndStop(3);
}
}
frame 15 {
stop();
}
}
frame 1 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$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;
}
function randomArray(ob) {
r = function () {
return random(2) * 2 - 1;
};
ob.sort(r);
}
stop();
__com_mochibot__('25c0fc9b', this, 10301, true);
attachMovie('ExampleGame', 'EG', this.getNextHighestDepth());
attachMovie('SubmitterProxy', 'proxyInstance', this.getNextHighestDepth());
EG.init(proxyInstance);
proxyInstance._visible = false;
proxyInstance.mouseEnabled = false;
var myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
_root.menu = myMenu_cm;
var savefile = SharedObject.getLocal('Blind');
if (savefile.data.Level == undefined) {
savefile.data.Level = 1;
var Easy = [6, 7, 8, 9, 10];
var Medium = [11, 12, 13, 14, 15];
var Hard = [16, 17, 18, 19, 20];
savefile.data.Easy = Easy;
savefile.data.Medium = Medium;
savefile.data.Hard = Hard;
}
var LevelA = [1, 2, 3, 4, 5];
LevelArray = LevelA.concat(savefile.data.Easy, savefile.data.Medium, savefile.data.Hard);
onEnterFrame = function () {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
loadBar.gotoAndStop(Math.round(getPercent * 100));
if (bytes_loaded == bytes_total) {
loadBar.gotoAndStop(101);
}
};
LevelArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
var Easy = [6, 7, 8, 9, 10];
var Medium = [11, 12, 13, 14, 15];
var Hard = [16, 17, 18, 19, 20];
savefile.data.Easy = Easy;
savefile.data.Medium = Medium;
savefile.data.Hard = Hard;
}
movieClip 61 {
}
movieClip 66 {
}
button 67 {
on (press) {
_root.nextFrame();
}
}
movieClip 68 {
frame 10 {
stop();
}
}
movieClip 69 {
frame 100 {
stop();
}
}
movieClip 884 __Packages.SubmitterProxy {
#initclip
if (!_global.SubmitterProxy) {
var v1 = function () {
super();
System.security.allowDomain('*');
this.parentObj = this._parent;
mx.events.EventDispatcher.initialize(this);
};
_global.SubmitterProxy = v1;
_global.SubmitterProxy extends MovieClip;
var v2 = v1.prototype;
v2.setLoader = function (_container, _gameName, _htmlName, _order, _scoreType, _locale, _iconData, _pagesize, _pagenr, _bTest, _serverSelect) {
this.bTestModeOn = _bTest;
this.m_scoreType = _scoreType;
this.m_scoreOrder = _order;
this.gameName = _gameName;
if (_htmlName == '') {
this.htmlName = this.gameName;
} else {
this.htmlName = _htmlName;
}
this.locale = _locale;
this.iconData = _iconData;
this.pagesize = _pagesize;
this.pagenr = _pagenr;
this.serverSelect = _serverSelect;
this.requestStackInvalidUser = new Array();
if (_container != null) {
this.userName = _container.username;
this.userHash = _container.hash;
this.gameid = _container.id;
this.siteid = _container.s;
this.channelid = _container.c;
trace('servicesLoc: ' + _container.servicesLoc);
if (_container.servicesLoc != '' && _container.servicesLoc != undefined) {
this.swfURL = _container.servicesLoc;
} else {
var v3 = new Date();
this.swfURL = 'http://www8.agame.com/games/flash/highscore/SubmitterAS2.swf?nocache=' + v3.getYear() * 12 + v3.getMonth() + 1;
}
this.getSwf();
} else {
this.SubmitterFailedToLoad();
}
};
v2.getSwf = function () {
var v2 = new Object();
this.delegateOnIoError = mx.utils.Delegate.create(this, this.onLoadDone);
v2.onLoadInit = this.delegateOnIoError;
this.delegateOnLoadDone = mx.utils.Delegate.create(this, this.onIoError);
v2.onLoadError = this.delegateOnLoadDone;
var v4 = new MovieClipLoader();
v4.addListener(v2);
var v3 = this.createEmptyMovieClip('loadedComp', this.getNextHighestDepth());
trace('swfURL:' + this.swfURL);
v4.loadClip(this.swfURL, v3);
v3._x = 10;
v3._y = 10;
};
v2.isSWFReady = function () {
return this.content != null;
};
v2.isDomainAllowed = function (value) {
if (this.content) {
return this.content.isDomainValid(value);
}
return false;
};
v2.hasUserData = function () {
return this.userName != null && this.userHash != null;
};
v2.doCommTest = function () {
if (this.content) {
return this.content.m_get_TEST();
}
return 'Error: Failed to communicatie with: ' + this.content;
};
v2.getScoreServerTime = function () {
if (this.content) {
this.content.m_getLatestScoreServerTime();
}
};
v2.submitScore = function (score) {
trace('submitScore: ' + score);
if (this.content) {
if (!this.hasUserData()) {
this.requestStackInvalidUser.push({'type': 'SUBMIT_SCORE', 'value': score});
}
this.content.m_submitScore(score, this.userName, this.userHash, '', 0);
}
};
v2.requestHighscoreList = function () {
if (this.content) {
this.content.m_submitHighscoreListRequest();
}
};
v2.requestUserHighscoreList = function (target_username) {
if (this.content) {
this.content.m_submitUserHighscoreListRequest(target_username);
}
};
v2.submitGrantAward = function (tag) {
trace('submitGrantAward: ' + tag);
if (this.content) {
if (!this.hasUserData()) {
this.requestStackInvalidUser.push({'type': 'SUBMIT_AWARD', 'value': tag});
}
this.content.m_submitAward(tag, this.userName, this.userHash);
}
};
v2.requestAwardList = function () {
if (this.content) {
if (!this.hasUserData()) {
this.requestStackInvalidUser.push({'type': 'REQUEST_AWARDLIST'});
}
this.content.m_getUserAwardList(this.userName, this.userHash);
}
};
v2.requestAwardInfo = function (awardID) {
if (this.content) {
this.content.m_getAwardInfo(awardID);
}
};
v2.SubmitterIsLoaded = function () {
this.delegateHyscoreSubmitterReady = mx.utils.Delegate.create(this, this.onHyScorSubmitterReady);
this.content.addEventListener('HyScorSubmitterLoaded', this.delegateHyscoreSubmitterReady);
this.content.addEventListener('ScoreLoadError', this);
this.content.addEventListener('ScoreLoadTimeComplete', this);
this.content.addEventListener('ScoreLoadSubmitComplete', this);
this.content.addEventListener('ScoreLoadListComplete', this);
this.content.addEventListener('ScoreLoadUserListComplete', this);
this.content.addEventListener('AchievLoadError', this);
this.content.addEventListener('AchievLoadTimeComplete', this);
this.content.addEventListener('AchievLoadListComplete', this);
this.content.addEventListener('AchievLoadInfoComplete', this);
this.content.addEventListener('AchievLoadGrantComplete', this);
};
v2.SubmitterFailedToLoad = function () {
this.dispatchEvent({'target': this, 'type': 'LoadingFailed', 'elapsedTime': getTimer()});
};
v2.onLoadDone = function (target_mc) {
this.content = target_mc.SubmitterInstance;
this.content.gotoAndPlay(1);
if (this.isDomainAllowed(this.bTestModeOn)) {
trace('Submitter component downloaded.');
this.SubmitterIsLoaded();
this.content.init(this.siteid, 1, this.gameid, this.channelid, this.m_scoreOrder, this.locale, this.iconData, this.pagesize, this.pagenr, this.userName, this.userHash, this.serverSelect);
this.initJStoSWFListeners();
} else {
trace('Error: Could not init submitter...played on an invalid domain.');
this.SubmitterFailedToLoad();
}
};
v2.onIoError = function (target_mc, errorCode, httpStatus) {
trace('Error: loadListener.onLoadError() errorCode: ' + errorCode + ' httpStatus: ' + httpStatus);
this.SubmitterFailedToLoad();
};
v2.onHyScorSubmitterReady = function (target_mc) {
if (this.content) {
this.content.removeEventListener('HyScorSubmitterLoaded', this.delegateHyscoreSubmitterReady);
}
this.dispatchEvent({'target': this, 'type': 'SubmitterLoadedSuccesfull', 'elapsedTime': getTimer()});
};
v2.handleEvent = function (e) {
if (e.type == 'ScoreLoadSubmitComplete' || e.type == 'ScoreLoadListComplete' || e.type == 'ScoreLoadUserListComplete') {
this.m_scoreXMLData = this.content.m_getLastestHighscoreData();
} else {
if (e.type == 'ScoreLoadTimeComplete') {
this.m_scoreServerTimeXMLData = this.content.m_getLatestScoreServerTime();
} else {
if (e.type == 'AchievLoadListComplete' || e.type == 'AchievLoadInfoComplete' || e.type == 'AchievLoadGrantComplete') {
this.m_achievXMLData = this.content.m_getLastestAchievementData();
} else {
if (e.type == 'AchievLoadTimeComplete') {
} else {
if (e.type == 'ScoreLoadError') {
this.m_scoreXMLData = this.content.m_getLatestHighscoreError();
} else {
if (e.type == 'AchievLoadError') {
this.m_achievXMLData = this.content.m_getLatestAchievError();
}
}
}
}
}
}
this.dispatchEvent({'target': this, 'type': e.type, 'elapsedTime': getTimer()});
};
v2.initJStoSWFListeners = function () {
if (flash.external.ExternalInterface.available) {
try {
flash.external.ExternalInterface.addCallback('JStoSWF', (com.spilgames.external.JStoSWF.instance()).parse);
(com.spilgames.external.JStoSWF.instance()).addCallFunction('UPDATE_USER', this.updateUser);
(com.spilgames.external.JStoSWF.instance()).addCallFunction('UPDATE_AVATAR', this.updateAvatar);
(com.spilgames.external.JStoSWF.instance()).addCallFunction('UPDATE_GALLERY', this.updateGallery);
}
catch (v0) {
if (Error(v0) != null) {
var e = Error(v0);
trace('Error: Failed init enternal interface.. is the swf played locally?');
} else {
throw v0;
}
}
}
};
v2.updateUser = function (params) {
var v3 = params.username;
var v2 = params.hash;
var v4 = params.id;
this.userName = v3;
this.userHash = v2;
var v6 = 'UPDATE_USER|-|' + v3 + '|-|' + v2 + '|-|' + v4;
this.processInvalidUserList();
};
v2.updateAvatar = function (params) {
var v1 = params.id;
var v2 = params.type;
var v3 = 'UPDATE_AVATAR|-|' + v1 + '|-|' + v2;
};
v2.updateGallery = function (params) {
var v1 = params.id;
var v2 = params.type;
var v3 = 'UPDATE_GALLERY|-|' + v1 + '|-|' + v2;
};
v2.processInvalidUserList = function () {
while (this.requestStackInvalidUser.length > 0) {
var v2 = this.requestStackInvalidUser.pop();
if (v2.type == 'SUBMIT_SCORE') {
this.submitScore(v2.value);
} else {
if (v2.type == 'SUBMIT_AWARD') {
this.submitGrantAward(v2.value);
} else {
if (v2.type == 'REQUEST_AWARDLIST') {
this.requestAwardList();
}
}
}
}
};
v2.destroy = function () {
this.parentObj = null;
this.content.removeMovieClip();
this.content = null;
this.siteid = null;
this.channelid = null;
this.gameid = null;
this.userName = null;
this.userHash = null;
this.m_scoreXMLData = null;
this.m_achievXMLData = null;
};
v2.userName = null;
v2.userHash = null;
v2.serverSelect = 1;
v2.bTestModeOn = false;
ASSetPropFlags(_global.SubmitterProxy.prototype, null, 1);
}
#endinitclip
}
movieClip 885 __Packages.mx.events.EventDispatcher {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.events) {
_global.mx.events = new Object();
}
if (!_global.mx.events.EventDispatcher) {
var v1 = function () {};
mx.events.EventDispatcher = v1;
var v2 = v1.prototype;
v1._removeEventListener = function (queue, event, handler) {
if (queue != undefined) {
var v4 = queue.length;
var v1;
v1 = 0;
while (v1 < v4) {
var v2 = queue[v1];
if (v2 == handler) {
queue.splice(v1, 1);
return undefined;
}
++v1;
}
}
};
v1.initialize = function (object) {
if (mx.events.EventDispatcher._fEventDispatcher == undefined) {
mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener;
object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener;
object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent;
object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue;
};
v2.dispatchQueue = function (queueObj, eventObj) {
var v7 = '__q_' + eventObj.type;
var v4 = queueObj[v7];
if (v4 != undefined) {
var v5;
for (v5 in v4) {
var v1 = v4[v5];
var v3 = typeof v1;
if (v3 == 'object' || v3 == 'movieclip') {
if (v1.handleEvent != undefined) {
v1.handleEvent(eventObj);
}
if (v1[eventObj.type] != undefined) {
if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) {
v1[eventObj.type](eventObj);
}
}
} else {
v1.apply(queueObj, [eventObj]);
}
}
}
};
v2.dispatchEvent = function (eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + 'Handler'](eventObj);
this.dispatchQueue(this, eventObj);
};
v2.addEventListener = function (event, handler) {
var v3 = '__q_' + event;
if (this[v3] == undefined) {
this[v3] = new Array();
}
_global.ASSetPropFlags(this, v3, 1);
mx.events.EventDispatcher._removeEventListener(this[v3], event, handler);
this[v3].push(handler);
};
v2.removeEventListener = function (event, handler) {
var v2 = '__q_' + event;
mx.events.EventDispatcher._removeEventListener(this[v2], event, handler);
};
v1._fEventDispatcher = undefined;
v1.exceptions = {'move': 1, 'draw': 1, 'load': 1};
ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 886 __Packages.mx.utils.Delegate {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.utils) {
_global.mx.utils = new Object();
}
if (!_global.mx.utils.Delegate) {
var v1 = function (f) {
super();
this.func = f;
};
mx.utils.Delegate = v1;
mx.utils.Delegate extends Object;
var v2 = v1.prototype;
v1.create = function (obj, func) {
var v2 = function () {
var v2 = arguments.callee.target;
var v3 = arguments.callee.func;
return v3.apply(v2, arguments);
};
v2.target = obj;
v2.func = func;
return v2;
};
v2.createDelegate = function (obj) {
return mx.utils.Delegate.create(obj, this.func);
};
ASSetPropFlags(mx.utils.Delegate.prototype, null, 1);
}
#endinitclip
}
movieClip 887 __Packages.com.spilgames.external.JStoSWF {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.spilgames) {
_global.com.spilgames = new Object();
}
if (!_global.com.spilgames.external) {
_global.com.spilgames.external = new Object();
}
if (!_global.com.spilgames.external.JStoSWF) {
var v1 = function () {
this.m_oCallFuntions = new Object();
};
com.spilgames.external.JStoSWF = v1;
var v2 = v1.prototype;
v2.addCallFunction = function (p_sName, p_fFunction) {
if (!this.m_oCallFuntions[p_sName]) {
this.m_oCallFuntions[p_sName] = p_fFunction;
}
};
v2.parse = function (p_oCallObject) {
if (p_oCallObject.call) {
switch (p_oCallObject.call) {
case 'MULTI':
var v2 = 0;
while (v2 < p_oCallObject.calls.length) {
(com.spilgames.external.JStoSWF.instance()).parse(p_oCallObject.calls[v2]);
++v2;
}
break;
default:
if (this.m_oCallFuntions[p_oCallObject.call]) {
if (!p_oCallObject.params) {
p_oCallObject.params = {};
}
this.m_oCallFuntions[p_oCallObject.call](p_oCallObject.params);
} else {
trace('call: ' + p_oCallObject.call + ' not found in call functions!');
}
}
} else {
trace('call attribute not found in CallObject!');
}
};
v1.instance = function () {
if (com.spilgames.external.JStoSWF.m_oJStoSWF == null) {
com.spilgames.external.JStoSWF.m_oJStoSWF = new com.spilgames.external.JStoSWF();
}
return com.spilgames.external.JStoSWF.m_oJStoSWF;
};
ASSetPropFlags(com.spilgames.external.JStoSWF.prototype, null, 1);
}
#endinitclip
}
movieClip 888 __Packages.ExampleGame {
#initclip
if (!_global.ExampleGame) {
var v1 = function () {
super();
trace('ExampleGame created');
};
_global.ExampleGame = v1;
_global.ExampleGame extends MovieClip;
var v2 = v1.prototype;
v2.init = function (proxyInstance) {
trace('init ExampleGame with submitterProxy');
this.submitter = proxyInstance;
this.delegateSubmitterFailed = mx.utils.Delegate.create(this, this.SubmitterFailedToLoad);
this.submitter.addEventListener('LoadingFailed', this.delegateSubmitterFailed);
this.delegateSubmitterReady = mx.utils.Delegate.create(this, this.SubmitterIsReady);
this.submitter.addEventListener('SubmitterLoadedSuccesfull', this.delegateSubmitterReady);
this.submitter.setLoader(_root, 'Blind', 'Blind.html', 0, 'normal', '', 0, 0, 1, true, 1);
};
v2.SubmitterIsReady = function (target_mc) {
trace('Submitter component initialised and ready');
this._parent.debug.text += 'Submitter component initialised and ready \n ';
this.submitter.removeEventListener('HyScorSubmitterLoaded', this.delegateSubmitterReady);
this.submitter.removeEventListener('LoadingFailed', this.delegateSubmitterFailed);
};
v2.SubmitterFailedToLoad = function () {
trace('Submitter component failed to load');
this._parent.debug.text += 'Submitter component failed to load \n ';
this.submitter.removeEventListener('HyScorSubmitterLoaded', this.delegateSubmitterReady);
this.submitter.removeEventListener('LoadingFailed', this.delegateSubmitterFailed);
};
v2.processMethods = function () {
trace('>>=================================');
trace('Process Calls on: ' + this.submitter);
this.submitter.submitScore(16);
this.submitter.submitGrantAward('Tag');
};
v2.destroy = function () {
if (this.submitter) {
this.submitter.destroy();
}
this.submitter.removeMovieClip();
this.submitter = null;
};
ASSetPropFlags(_global.ExampleGame.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
gamename = 'Blind';
domain_parts = _url.split('://');
real_domain = domain_parts[1].split('/');
hostingdomain = real_domain[0];
if (hostingdomain == '') {
hostingdomain = 'unknown';
}
savedomain1 = 'gamedev.dev.spilgames.com';
savedomain2 = 'www8.agame.com';
if (hostingdomain == savedomain1 || hostingdomain == savedomain2) {
spilnetwerk = 'internal';
} else {
spilnetwerk = 'external';
}
_root.localization_url1 = 'http://www.a10.com/?utm_medium=brandedgames_' + spilnetwerk + '&utm_campaign=' + gamename + '&utm_source=' + hostingdomain;
_root.localization_language_nr = 1;
_root.localization_branding_nr = 46;
_root.localization_portal = 'teen';
if (_root.localization_portal == 'game_com_cn') {
this.mainscreen_moregames.onRelease = function () {
getURL(_root.localization_url1, '_blank');
};
} else {
this.mainscreen_moregames.onRelease = function () {
getURL(_root.localization_url1 + '&utm_content=button_mainscreen_moregames', '_blank');
};
}
}
movieClip 74 {
}
movieClip 85 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 98 {
}
movieClip 100 {
}
movieClip 102 {
}
movieClip 104 {
}
movieClip 106 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 117 {
}
movieClip 118 {
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 124 {
}
movieClip 126 {
}
movieClip 128 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 146 {
}
movieClip 148 {
}
movieClip 150 {
}
movieClip 152 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 162 {
}
movieClip 164 {
}
movieClip 166 {
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 172 {
}
movieClip 174 {
}
movieClip 175 {
frame 1 {
gotoAndStop(_root.localization_branding_nr);
}
}
movieClip 176 {
}
movieClip 178 {
}
movieClip 180 {
frame 90 {
}
frame 91 {
stop();
}
}
movieClip 182 {
frame 1 {
if (_root.localization_portal == 'game_com_cn') {
this.logo_intro.onRelease = function () {
getURL(_root.localization_url1, '_blank');
};
} else {
this.logo_intro.onRelease = function () {
getURL(_root.localization_url1 + '&utm_content=logo_intro', '_blank');
};
}
}
frame 90 {
stop();
}
}
movieClip 184 {
}
movieClip 186 {
}
movieClip 188 {
frame 89 {
stop();
}
}
movieClip 192 {
}
movieClip 194 {
}
movieClip 196 {
frame 89 {
stop();
}
}
movieClip 199 {
frame 89 {
stop();
}
}
movieClip 202 {
}
// unknown tag 88 length 120
movieClip 206 {
frame 39 {
stop();
}
}
movieClip 207 {
}
movieClip 224 {
frame 131 {
_root.nextFrame();
}
}
movieClip 225 {
frame 91 {
stop();
}
}
movieClip 226 {
frame 1 {
if (_root.localization_portal == 'family') {
gotoAndStop(1);
}
if (_root.localization_portal == 'tweens') {
gotoAndStop(2);
}
if (_root.localization_portal == 'girl') {
gotoAndStop(3);
}
if (_root.localization_portal == 'game_com_cn') {
gotoAndStop(4);
}
if (_root.localization_portal == 'teen') {
gotoAndStop(5);
}
}
}
frame 3 {
var Level = savefile.data.Level;
Levelnow = 0;
_root._x = 0;
_root._y = 0;
if (played != true) {
var BGNoise = new Sound();
BGNoise.attachSound('White');
BGNoise.start(0, 99999);
Mute = false;
}
if (Level < 2) {
two._x = 1000;
}
if (Level < 3) {
three._x = 1000;
}
if (Level < 4) {
four._x = 1000;
}
if (Level < 5) {
five._x = 1000;
}
if (Level < 6) {
six._x = 1000;
}
if (Level < 7) {
seven._x = 1000;
}
if (Level < 8) {
eight._x = 1000;
}
if (Level < 9) {
nine._x = 1000;
}
if (Level < 10) {
ten._x = 1000;
}
if (Level < 11) {
eleven._x = 1000;
}
if (Level < 12) {
twelve._x = 1000;
}
if (Level < 13) {
thirteen._x = 1000;
}
if (Level < 14) {
fourteen._x = 1000;
}
if (Level < 15) {
fifteen._x = 1000;
}
if (Level < 16) {
sixteen._x = 1000;
}
if (Level < 17) {
seventeen._x = 1000;
}
if (Level < 19) {
nineteen._x = 1000;
}
if (Level < 20) {
twenty._x = 1000;
}
if (Level < 21) {
twentyone._x = 1000;
}
if (Level < 18) {
eighteen._x = 1000;
}
if (Level < 22) {
end._x = 1000;
}
if (_root.localization_portal == 'game_com_cn') {
this.menuButton.onRelease = function () {
getURL(_root.localization_url1, '_blank');
};
} else {
this.menuButton.onRelease = function () {
getURL(_root.localization_url1 + '&utm_content=button_mainscreen_moregames', '_blank');
};
}
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 240 {
}
button 243 {
on (press) {
_root.gotoAndStop(5);
_root.got = 5;
}
}
button 246 {
on (press) {
_root.nextFrame();
}
}
movieClip 248 {
}
button 251 {
on (press) {
if (_root.Level >= 2) {
_root.gotoAndStop(5);
_root.got = 6;
Levelnow = 1;
}
}
}
button 254 {
on (press) {
if (_root.Level >= 3) {
_root.gotoAndStop(5);
_root.got = 7;
Levelnow = 2;
}
}
}
button 257 {
on (press) {
if (_root.Level >= 4) {
_root.gotoAndStop(5);
_root.got = 8;
Levelnow = 3;
}
}
}
button 260 {
on (press) {
if (_root.Level >= 5) {
_root.gotoAndStop(5);
_root.got = 9;
Levelnow = 4;
}
}
}
button 263 {
on (press) {
if (_root.Level >= 6) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Easy[0] + 4;
Levelnow = 5;
}
}
}
button 266 {
on (press) {
if (_root.Level >= 7) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Easy[1] + 4;
Levelnow = 6;
}
}
}
button 269 {
on (press) {
if (_root.Level >= 8) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Easy[2] + 4;
Levelnow = 7;
}
}
}
button 272 {
on (press) {
if (_root.Level >= 9) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Easy[3] + 4;
Levelnow = 8;
}
}
}
button 275 {
on (press) {
if (_root.Level >= 10) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Easy[4] + 4;
Levelnow = 9;
}
}
}
button 278 {
on (press) {
if (_root.Level >= 11) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Medium[0] + 4;
Levelnow = 10;
}
}
}
button 281 {
on (press) {
if (_root.Level >= 12) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Medium[1] + 4;
Levelnow = 11;
}
}
}
button 284 {
on (press) {
if (_root.Level >= 13) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Medium[2] + 4;
Levelnow = 12;
}
}
}
button 287 {
on (press) {
if (_root.Level >= 14) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Medium[3] + 4;
Levelnow = 13;
}
}
}
button 290 {
on (press) {
if (_root.Level >= 15) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Medium[4] + 4;
Levelnow = 14;
}
}
}
button 293 {
on (press) {
if (_root.Level >= 16) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Hard[0] + 4;
Levelnow = 15;
}
}
}
button 296 {
on (press) {
if (_root.Level >= 17) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Hard[1] + 4;
Levelnow = 16;
}
}
}
button 299 {
on (press) {
if (_root.Level >= 18) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Hard[2] + 4;
Levelnow = 17;
}
}
}
button 302 {
on (press) {
if (_root.Level >= 19) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Hard[3] + 4;
Levelnow = 18;
}
}
}
button 305 {
on (press) {
if (_root.Level >= 20) {
_root.gotoAndStop(5);
_root.got = _root.savefile.data.Hard[4] + 4;
Levelnow = 19;
}
}
}
button 308 {
on (press) {
if (_root.Level >= 22) {
_root.gotoAndStop(26);
}
}
}
button 312 {
on (press) {
if (_root.Level >= 21) {
_root.gotoAndStop(5);
_root.got = 25;
Levelnow = 20;
}
}
}
movieClip 313 {
frame 30 {
stop();
}
}
movieClip 315 {
}
movieClip 322 {
}
movieClip 323 {
}
movieClip 328 {
}
movieClip 359 {
}
movieClip 365 {
}
movieClip 366 {
}
movieClip 367 {
frame 40 {
stop();
}
}
movieClip 372 {
frame 3 {
stop();
}
}
movieClip 381 {
}
movieClip 382 {
frame 540 {
_root.nextFrame();
}
}
frame 5 {
function StartEnd() {
if (Finish == true) {
black._alpha -= 5;
}
if (black._alpha <= 0) {
Finish = false;
black._alpha = 0;
}
if (black._alpha >= 100) {
Finish = true;
black._alpha = 100;
_root._x = 0;
_root._y = 0;
_root.ladder = false;
++Levelnow;
if (Levelnow + 1 > Level) {
Level = Levelnow + 1;
savefile.data.Level = Level;
}
if (Levelnow < 20) {
_root.gotoAndStop(LevelArray[Levelnow] + 4);
} else {
if (_root._currentframe != 25) {
_root.gotoAndStop(25);
} else {
_root.nextFrame();
}
}
}
}
function Walk() {
if (_root._x == 0) {
through._x = _root._x + 534;
} else {
WNuma = _root._x;
WNuma *= -1;
through._x = WNuma + 534;
}
if (_root._y == 0) {
through._y = _root._y + 444;
} else {
WNumat = _root._y;
WNumat *= -1;
through._y = WNumat + 444;
}
}
function Collisions() {
if (ground.hitTest(player._x, player._y + 55, true)) {
gravity = 0;
jumping = false;
}
if (_root.tele == false) {
a = 0;
while (a < 23) {
if (ground.hitTest(player._x + a, player._y, true)) {
--player._x;
if (jumping == false) {
player.gotoAndStop(1);
}
}
if (ground.hitTest(player._x - a, player._y, true)) {
++player._x;
if (jumping == false) {
player.gotoAndStop(1);
}
}
++a;
}
if (ground.hitTest(player._x + 20, player._y - 50, true)) {
player._x -= 5;
player._y += 5;
}
if (ground.hitTest(player._x - 20, player._y - 50, true)) {
player._x += 5;
player._y += 5;
}
i = 0;
while (i < 54) {
if (ground.hitTest(player._x, player._y + i, true)) {
--player._y;
if (jumping == true) {
if (_root.player._currentFrame == 4) {
_root.player.gotoAndStop(1);
}
jumping = false;
}
}
++i;
}
}
if (ground.hitTest(player._x, player._y - 55, true)) {
gravity = 4;
}
}
function Ladder(ob) {
if (death == false) {
if (ladder == true) {
player.gotoAndStop(5);
}
if (ladder == false && player._currentFrame == 5) {
if (_root.ground.hitTest(player._x, player._y + player._height / 2, true)) {
player.gotoAndStop(1);
} else {
if (death == false) {
player.gotoAndStop(4);
}
jumping = true;
}
}
if (ob.hitTest(_root.player)) {
if (ob._x > _root.player._x - 15 && ob._x < _root.player._x + 15) {
done = false;
if (Key.isDown(38) || Key.isDown(87)) {
player.dis.play();
gravity = -10;
ladder = true;
} else {
if (Key.isDown(40) || Key.isDown(83)) {
player.dis.play();
gravity = 10;
ladder = true;
if (_root.ground.hitTest(player._x, player._y + player._height / 2, true)) {
ladder = false;
}
} else {
if (ladder == true) {
player.dis.stop();
gravity = 0;
}
}
}
} else {
if (done == false) {
_root.ladder = false;
done = true;
}
}
}
}
}
stop();
played = true;
tele = false;
count = 0;
DOWN = false;
count2 = 0;
ladder = false;
gravity = 0;
death = false;
scale = player._xscale;
Pause = false;
Done = false;
EX = player._x;
EY = player._y;
Finish = true;
Pdown = false;
Pause = false;
onEnterFrame = function () {
Walk();
if (_root.Mute == true) {
stopAllSounds();
}
if (Key.isDown(80) && Pdown == false) {
if (Pause == false) {
Pause = true;
_root.attachMovie('PauseMenu', 'PauseMenu', _root.getNextHighestDepth());
if (_root._x == 0) {
PauseMenu._x = _root._x + 350;
} else {
Numa = _root._x;
Numa *= -1;
PauseMenu._x = Numa + 350;
}
if (_root._y == 0) {
PauseMenu._y = _root._y + 250;
} else {
Numat = _root._y;
Numat *= -1;
PauseMenu._y = Numat + 250;
}
} else {
if (Pause == true && PauseMenu._currentFrame == 15) {
Pause = false;
PauseMenu.removeMovieClip();
}
}
Pdown = true;
}
if (!Key.isDown(80)) {
Pdown = false;
}
if (Pause == false) {
if (gravity >= 20) {
gravity = 20;
}
StartEnd();
player.Collide();
++player.Yspeed;
if (player.scal > 0) {
if (player.arm._rotation > 180) {
_root.ball._x += player.Xspeed;
_root.ball._y -= player.Yspeed;
} else {
_root.ball._x -= player.Xspeed;
_root.ball._y += player.Yspeed;
}
} else {
if (player.arm._rotation > 180) {
_root.ball._x -= player.Xspeed;
_root.ball._y -= player.Yspeed;
} else {
_root.ball._x += player.Xspeed;
_root.ball._y += player.Yspeed;
}
}
if (death == true) {
Collisions();
player.gotoAndStop(2);
}
if (ladder == false) {
++gravity;
}
player._y += gravity;
if (player._currentFrame == 6) {
Collisions();
}
if (death == false && player._currentFrame != 6) {
if (Key.isDown(82)) {
player.gotoAndStop(6);
}
onMouseDown = function () {
player.gotoAndStop(7);
};
if (Key.isDown(39) || Key.isDown(68)) {
player._x += 5;
player._xscale = scale;
if (jumping == false && ladder == false) {
player.gotoAndStop(3);
}
}
if (player._currentFrame == 4) {
if (ground.hitTest(player._x, player._y + 55, true)) {
player.gotoAndStop(1);
}
}
if (Key.isDown(37) || Key.isDown(65)) {
player._x -= 5;
player._xscale = -scale;
if (jumping == false && ladder == false) {
player.gotoAndStop(3);
}
}
Collisions();
if (Key.isDown(32) && jumping == false && ladder == false) {
gravity = -17;
if (death == false) {
player.gotoAndStop(4);
}
jumping = true;
}
if (gravity > 4) {
if (ladder == false) {
if (death == false) {
player.gotoAndStop(4);
}
}
jumping = true;
}
}
pulse._x = player._x;
pulse._y = player._y;
}
};
_root.gotoAndStop(_root.got);
}
movieClip 386 {
}
movieClip 387 {
frame 1 {
stop();
}
}
movieClip 389 {
}
instance of movieClip 389 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 392 {
}
movieClip 393 {
}
instance of movieClip 393 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
button 396 {
on (press) {
_root.gotoAndStop(_root.Level.text);
}
}
movieClip 398 {
}
movieClip 400 {
}
movieClip 401 {
}
movieClip 402 {
}
movieClip 403 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 403 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 405 {
}
movieClip 406 {
}
instance of movieClip 406 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 407 {
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 409 {
}
instance of movieClip 409 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
movieClip 413 {
}
movieClip 414 {
}
movieClip 416 {
}
instance of movieClip 416 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && done == false) {
done = true;
}
if (done == true) {
_root.black._alpha += 10;
}
}
}
movieClip 418 {
}
movieClip 419 {
}
movieClip 422 {
}
movieClip 424 {
}
movieClip 426 {
}
movieClip 446 {
}
movieClip 447 {
}
movieClip 451 {
frame 6 {
stop();
_root.pulse._alpha = 0;
this._parent._alpha = 0;
}
}
movieClip 465 {
frame 2 {
var soundy = new Sound(_root.player);
soundy.attachSound('Foot');
soundy.setVolume(100);
if (_root.Mute == false) {
soundy.start(0, 1);
}
}
frame 8 {
var soundy = new Sound(_root.player);
soundy.attachSound('Foot');
soundy.setVolume(100);
if (_root.Mute == false) {
soundy.start(0, 1);
}
}
}
movieClip 477 {
frame 6 {
stop();
onEnterFrame = function () {
if (_root.gravity > 0) {
this.play();
}
};
}
frame 11 {
stop();
onEnterFrame = function () {
if (_root.gravity <= 2 && _root.gravity >= 0) {
this._parent.gotoAndStop(1);
}
};
}
}
movieClip 488 {
}
movieClip 495 {
frame 20 {
_root.player._x = _root.EX;
_root.player._y = _root.EY;
i = 0;
while (i <= 20) {
_root['S' + i].gotoAndStop(1);
++i;
}
_root._x = 0;
_root._y = 0;
_root.box._x = 357;
_root.box._y = 231;
_root.player._xscale = _root.scale;
_root.player.gotoAndStop(1);
}
}
movieClip 497 {
}
movieClip 499 {
}
movieClip 506 {
frame 24 {
_root.player.arm.gotoAndStop(1);
}
}
movieClip 507 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 511 {
}
movieClip 512 {
frame 1 {
stop();
}
}
movieClip 513 {
frame 1 {
stop();
_root.touchy = false;
onEnterFrame = function () {};
}
frame 2 {
stop();
_root.deathy._x = _root.player._x;
_root.deathy._y = _root.player._y;
_root.deathy.play();
++_root.deathhaha;
onEnterFrame = function () {
hena.play();
++_root.count;
i = 0;
while (i <= 20) {
_root['S' + i].gotoAndStop(1);
++i;
}
_root.ground.tsk.tsk2.S4.gotoAndStop(1);
if (_root.count >= 30) {
_root._x = 0;
_root._y = 0;
_root.player._x = _root.EX;
_root.player._y = _root.EY;
_root.player._alpha = 100;
_root.pulse._alpha = 100;
_root.death = false;
_root.gravity = 0;
_root.box._x = 357;
_root.box._y = 231;
_root.player.gotoAndStop(1);
_root.count = 0;
}
};
}
frame 3 {
onEnterFrame = function () {
if (!Key.isDown(39) && !Key.isDown(37) && !Key.isDown(65) && !Key.isDown(68)) {
_root.touchy = false;
this.gotoAndStop(1);
}
};
}
frame 4 {
stop();
onEnterFrame = function () {};
}
frame 5 {
onEnterFrame = function () {};
}
frame 6 {
onEnterFrame = function () {};
}
frame 7 {
function Collide() {
if (_root.ball._currentFrame == 1) {
_root.ball.play();
}
if (Math.round(Xspeed) == 0 && Math.round(Yspeed) < 2 && Math.round(Yspeed) > -2) {
++count;
if (count >= 3) {
removeMovieClip(_root.ball);
Power.gotoAndStop(1);
DEEN1 = true;
DEEN2 = true;
DEEN3 = true;
DEEN4 = true;
}
} else {
count = 0;
}
if (_root.ground.hitTest(_root.ball._x, _root.ball._y + _root.ball._height / 2, true)) {
if (DEEN1 == false) {
if (_root.Mute == false) {
var v2 = new Sound();
v2.attachSound('bbounce');
v2.start(0, 1);
}
_root.attachMovie('bounce', 'bounce' + L, _root.getNextHighestDepth());
_root['bounce' + L]._x = _root.ball._x;
_root['bounce' + L]._y = _root.ball._y;
++L;
DEEN1 = true;
}
if (Yspeed > 0) {
Yspeed *= -0.5;
}
Xspeed *= 0.8;
} else {
DEEN1 = false;
}
if (_root.ground.hitTest(_root.ball._x, _root.ball._y - _root.ball._height / 2, true)) {
if (DEEN2 == false) {
if (_root.Mute == false) {
var v2 = new Sound();
v2.attachSound('bbounce');
v2.start(0, 1);
}
_root.attachMovie('bounce', 'bounce' + L, _root.getNextHighestDepth());
_root['bounce' + L]._x = _root.ball._x;
_root['bounce' + L]._y = _root.ball._y;
++L;
DEEN2 = true;
}
if (Yspeed < 0) {
Yspeed *= -0.5;
}
Xspeed *= 0.8;
} else {
DEEN2 = false;
}
if (_root.ground.hitTest(_root.ball._x + _root.ball._height / 2, _root.ball._y, true)) {
if (DEEN3 == false) {
if (_root.Mute == false) {
var v2 = new Sound();
v2.attachSound('bbounce');
v2.start(0, 1);
}
_root.attachMovie('bounce', 'bounce' + L, _root.getNextHighestDepth());
_root['bounce' + L]._x = _root.ball._x;
_root['bounce' + L]._y = _root.ball._y;
++L;
DEEN3 = true;
}
if (scal > 0) {
if (Xspeed < 0) {
Xspeed *= -0.5;
}
}
if (scal < 0) {
if (Xspeed > 0) {
Xspeed *= -0.5;
}
}
} else {
DEEN3 = false;
}
if (_root.ground.hitTest(_root.ball._x - _root.ball._height / 2, _root.ball._y, true)) {
if (DEEN4 == false) {
if (_root.Mute == false) {
var v2 = new Sound();
v2.attachSound('bbounce');
v2.start(0, 1);
}
_root.attachMovie('bounce', 'bounce' + L, _root.getNextHighestDepth());
_root['bounce' + L]._x = _root.ball._x;
_root['bounce' + L]._y = _root.ball._y;
++L;
DEEN4 = true;
}
if (scal > 0) {
if (Xspeed > 0) {
Xspeed *= -0.5;
}
}
if (scal < 0) {
if (Xspeed < 0) {
Xspeed *= -0.5;
}
}
} else {
DEEN4 = false;
}
}
L = 0;
scal = _root.player._xscale;
power = 0;
which = 1;
count = 0;
onEnterFrame = function () {
if (_root.Pause == false) {
if (Key.isDown(69) && _root.DOWN == false || Key.isDown(17) && _root.DOWN == false) {
_root.player.gotoAndStop(1);
_root.player._xscale *= -1;
_root.DOWN = true;
}
if (arm._rotation + 180 > 90 && arm._rotation + 180 < 280) {
if (_root.player._xscale > 0) {
_root.player._xscale = 100;
} else {
_root.player._xscale = -100;
}
} else {
if (_root.player._xscale > 0) {
_root.player._xscale = -100;
} else {
_root.player._xscale = 100;
}
}
Power.gotoAndStop(power);
X = _xmouse - arm._x;
Y = _ymouse - arm._y;
angle = Math.atan2(Y, X);
arm._rotation = int(angle * 180 / Math.PI);
if (mouse == 'down') {
power += which;
if (power > 30) {
which *= -1;
power = 30;
}
if (power < 0) {
which *= -1;
power = 0;
}
}
}
};
onMouseDown = function () {
if (_root.Pause == false) {
mouse = 'down';
speed = 0;
power = 0;
}
county = 0;
};
onMouseUp = function () {
if (_root.Pause == false) {
mouse = 'up';
if (_root.ball._alpha <= 0 && _root.player._currentFrame == 7) {
speed = power;
power = 0;
_root.attachMovie('ball', 'ball', _root.getNextHighestDepth());
arm.gotoAndStop(2);
_root.ball.gotoAndStop(1);
_root.ball._x = _root.player._x;
_root.ball._y = _root.player._y - 30;
_root.ball._alpha = 100;
scal = _root.player._xscale;
Xspeed = speed * Math.sin(0.0174532925199433 * (arm._rotation - 90));
Yspeed = speed * Math.cos(0.0174532925199433 * (arm._rotation - 90));
}
}
};
}
}
movieClip 519 {
}
movieClip 521 {
}
button 525 {
on (press) {
getURL('http://www.a10.com/blind-walkthrough.html?gamemenu', '_blank');
}
}
frame 6 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 46;
player._y = 322;
EX = player._x;
EY = player._y;
}
movieClip 527 {
}
instance of movieClip 527 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 416 {
onClipEvent (load) {
_root.ddone = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.ddone == false) {
_root.ddone = true;
}
if (_root.ddone == true) {
_root.black._alpha += 10;
}
}
}
movieClip 529 {
}
movieClip 531 {
}
movieClip 532 {
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
}
instance of movieClip 532 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 536 {
}
frame 7 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.deathhaha = 0;
_root.ddone = false;
player._x = 175;
player._y = 382;
EX = player._x;
EY = player._y;
}
movieClip 538 {
}
instance of movieClip 538 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 540 {
}
instance of movieClip 540 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 541 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance ladder of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 406 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 543 {
}
movieClip 544 {
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
}
instance of movieClip 544 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 548 {
}
movieClip 552 {
}
movieClip 554 {
}
movieClip 555 {
frame 1 {
stop();
}
}
instance of movieClip 555 {
onClipEvent (enterFrame) {
if (_root.deathhaha >= 2) {
this.gotoAndStop(2);
}
}
}
frame 8 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 170;
player._y = 410;
EX = player._x;
EY = player._y;
}
movieClip 557 {
}
instance of movieClip 557 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 558 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance ladder of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance S1 of movieClip 403 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 560 {
}
movieClip 567 {
frame 7 {
stop();
}
}
movieClip 568 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 569 {
instance platform1 of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
frame 9 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 30;
player._y = 368;
EX = player._x;
EY = player._y;
}
movieClip 571 {
}
instance of movieClip 571 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S1 of movieClip 403 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 572 {
instance ladder of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 409 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
_root.death = true;
}
}
}
instance of movieClip 416 {
onClipEvent (load) {
_root.ddone = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.ddone == false) {
_root.ddone = true;
}
if (_root.ddone == true) {
_root.black._alpha += 10;
}
}
}
movieClip 574 {
frame 1 {
stop();
}
frame 45 {
stop();
}
}
movieClip 575 {
instance platform1 of movieClip 574 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
if (this.hitTest(_root.player) && this._currentFrame != 1 && this._currentFrame != 45) {
_root.player._x += 8;
}
}
}
}
movieClip 576 {
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
frame 10 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 30;
player._y = 370;
EX = player._x;
EY = player._y;
}
movieClip 577 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 579 {
}
movieClip 580 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 581 {
}
movieClip 582 {
frame 15 {
stop();
}
}
movieClip 583 {
instance platform1 of movieClip 580 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance platform2 of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.S2._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance platform3 of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.S3._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S3._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 544 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 584 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 584 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S2 of movieClip 584 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S3 of movieClip 584 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
frame 11 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 355;
player._y = 300;
EX = player._x;
EY = player._y;
}
instance of movieClip 416 {
onClipEvent (load) {
_root.ddone = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.ddone == false) {
_root.ddone = true;
}
if (_root.ddone == true) {
_root.black._alpha += 10;
}
}
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 586 {
instance platform1 of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 587 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 587 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
frame 12 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 68;
player._y = 386;
EX = player._x;
EY = player._y;
}
movieClip 588 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 590 {
}
movieClip 597 {
}
instance of movieClip 597 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
frame 13 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 143;
player._y = 53;
EX = player._x;
EY = player._y;
}
movieClip 598 {
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance spikes of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
}
movieClip 599 {
}
instance of movieClip 599 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 599 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 601 {
instance platform2 of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
instance S1 of movieClip 587 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 608 {
frame 7 {
stop();
}
}
movieClip 615 {
frame 7 {
stop();
}
}
movieClip 616 {
frame 1 {
stop();
}
frame 111 {
stop();
}
}
instance of movieClip 616 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
frame 14 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 431;
player._y = 130;
EX = player._x;
EY = player._y;
}
movieClip 618 {
}
movieClip 624 {
frame 7 {
stop();
}
}
movieClip 625 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 626 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 627 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 628 {
instance platform1 of movieClip 625 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance platform2 of movieClip 626 {
onClipEvent (enterFrame) {
if (_root.S2._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 627 {
onClipEvent (enterFrame) {
if (_root.S3._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S3._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 629 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 629 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S2 of movieClip 629 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S3 of movieClip 629 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
frame 15 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 62;
player._y = 398;
EX = player._x;
EY = player._y;
EG.submitter.submitGrantAward('award1');
}
movieClip 631 {
}
movieClip 632 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 633 {
instance platform1 of movieClip 632 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 634 {
}
movieClip 636 {
frame 1 {
stop();
}
frame 580 {
stop();
}
}
instance platform1 of movieClip 636 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
movieClip 637 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 637 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 638 {
}
instance of movieClip 638 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
frame 16 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 167;
player._y = 176;
EX = player._x;
EY = player._y;
}
movieClip 640 {
instance platform1 of movieClip 582 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 641 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S2 of movieClip 641 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S3 of movieClip 641 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S1 of movieClip 641 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 642 {
frame 1 {
stop();
}
frame 90 {
stop();
}
}
instance of movieClip 642 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S2._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 642 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S3._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S3._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
frame 17 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 243;
player._y = 417;
EX = player._x;
EY = player._y;
_root._x = 0;
_root._y = 0;
}
movieClip 643 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 416 {
onClipEvent (load) {
_root.ddone = false;
count = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentFrame != 2) {
++count;
}
if (_root.player._currentFrame == 2) {
count = 0;
}
if (count >= 15) {
if (this.hitTest(_root.player) && _root.ddone == false) {
_root.ddone = true;
}
}
if (_root.ddone == true) {
_root.black._alpha += 10;
}
}
}
movieClip 645 {
}
movieClip 646 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 647 {
instance platform1 of movieClip 646 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance platform2 of movieClip 646 {
onClipEvent (enterFrame) {
if (_root.S2._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 648 {
}
instance of movieClip 648 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 649 {
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 650 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 651 {
instance ladder of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance ladder of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 652 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 652 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S2 of movieClip 652 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 653 {
}
instance of movieClip 653 {
onClipEvent (load) {
_root.room = 1;
var playerX;
done = false;
}
onClipEvent (enterFrame) {
if (_root.player._currentFrame == 2 || _root.player._currentFrame == 6) {
_root.room = 1;
}
if (this.hitTest(_root.player)) {
playerX = _root.player._x;
_root.player._y -= 20;
_root._y = 500;
_root.room = 2;
}
if (_root.room == 2) {
_root.Bottom._y = 110;
this._y = -520;
if (done == false) {
_root.player._x = playerX;
++count;
if (count >= 10) {
done = true;
}
}
}
if (_root.room == 1) {
done = false;
count = 0;
_root.Bottom._y = 600;
this._y = -20;
}
}
}
instance Bottom of movieClip 653 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y += 20;
_root._y = 0;
_root.room = 1;
}
}
}
frame 18 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 401;
player._y = 426;
EX = player._x;
EY = player._y;
_root._x = 0;
_root._y = 0;
}
movieClip 654 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 655 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 416 {
onClipEvent (load) {
_root.ddone = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.ddone == false) {
_root.ddone = true;
}
if (_root.ddone == true) {
_root.black._alpha += 10;
}
}
}
movieClip 657 {
}
movieClip 658 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 659 {
instance platform1 of movieClip 658 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 660 {
}
instance of movieClip 660 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 649 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 661 {
}
instance of movieClip 661 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 661 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 660 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 662 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 662 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 669 {
}
instance of movieClip 669 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 653 {
onClipEvent (load) {
_root.room = 1;
var playerX;
done = false;
}
onClipEvent (enterFrame) {
if (_root.player._currentFrame == 2 || _root.player._currentFrame == 6) {
_root.room = 1;
}
if (this.hitTest(_root.player)) {
playerX = _root.player._x;
_root.player._y -= 20;
_root._y = 500;
_root.room = 2;
}
if (_root.room == 2) {
_root.Bottom._y = 100;
this._y = -520;
if (done == false) {
_root.player._x = playerX;
++count;
if (count >= 10) {
done = true;
}
}
}
if (_root.room == 1) {
done = false;
count = 0;
_root.Bottom._y = 600;
this._y = -20;
}
}
}
frame 19 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
player._x = 56;
player._y = 115;
EX = player._x;
EY = player._y;
_root._x = 0;
_root._y = 0;
}
instance of movieClip 416 {
onClipEvent (load) {
ddone = false;
_root.ddone = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
ddone = true;
_root.ddone = true;
}
if (ddone == true) {
_root.black._alpha += 10;
}
}
}
movieClip 671 {
}
movieClip 672 {
frame 1 {
stop();
}
frame 511 {
stop();
}
}
movieClip 674 {
}
movieClip 675 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 676 {
instance platform1 of movieClip 672 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 675 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 677 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 677 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 653 {
onClipEvent (load) {
_root.room = 1;
var playerX;
done = false;
}
onClipEvent (enterFrame) {
if (_root.player._currentFrame == 2 || _root.player._currentFrame == 6) {
_root.room = 1;
}
if (this.hitTest(_root.player)) {
playerX = _root.player._x;
_root.player._y -= 20;
_root._y = 500;
_root.room = 2;
}
if (_root.room == 2) {
_root.Bottom._y = 100;
this._y = -520;
if (done == false) {
_root.player._x = playerX;
++count;
if (count >= 5) {
done = true;
}
}
}
if (_root.room == 1) {
done = false;
count = 0;
_root.Bottom._y = 600;
this._y = -20;
}
}
}
frame 20 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
_root.rooma = 0;
_root._y = 0;
player._x = 123;
player._y = 392;
EX = player._x;
EY = player._y;
box._x = 357;
box._y = 231;
_root._x = 0;
_root._y = 0;
}
instance of movieClip 416 {
onClipEvent (load) {
_root.ddone = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.ddone == false) {
_root.ddone = true;
}
if (_root.ddone == true) {
_root.black._alpha += 10;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 680 {
}
movieClip 682 {
}
movieClip 683 {
}
movieClip 684 {
instance of movieClip 627 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 627 {
onClipEvent (enterFrame) {
if (_root.S2._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 685 {
}
instance of movieClip 685 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 686 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 686 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 531 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 687 {
}
instance of movieClip 687 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
if (_root.death != true) {
Y = _root.player._y;
}
_root.death = true;
_root.player._y = Y;
}
}
}
instance S2 of movieClip 686 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 688 {
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 687 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player)) {
if (_root.death != true) {
Y = _root.player._y;
}
_root.death = true;
_root.player._y = Y;
}
}
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 695 {
}
instance of movieClip 695 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 696 {
}
movieClip 697 {
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false) {
count = 0;
_root.tele = true;
done = true;
}
_root._x -= 700;
_root.player._x += 20;
this._parent._x += 700;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (_root._y != 0) {
if (done == false) {
count = 0;
_root.tele = true;
done = true;
}
_root._y += 500;
_root.player._y -= 20;
this._parent._y -= 500;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
}
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false) {
count = 0;
_root.tele = true;
done = true;
}
_root._y -= 500;
_root.player._y += 20;
this._parent._y += 500;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false) {
count = 0;
_root.tele = true;
done = true;
}
_root._x += 700;
_root.player._x -= 20;
this._parent._x -= 700;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
}
frame 21 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
_root.rooma = 0;
_root._y = 0;
_root._x = 0;
player._x = 534;
player._y = 96;
EX = player._x;
EY = player._y;
box._x = 357;
box._y = 231;
}
movieClip 698 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 700 {
}
movieClip 701 {
}
movieClip 702 {
}
movieClip 703 {
}
movieClip 704 {
}
movieClip 705 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 706 {
}
movieClip 707 {
instance of movieClip 703 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
if (this.hitTest(_root.player)) {
if (this._currentFrame >= 80 && this._currentFrame <= 180) {
_root.player._x += 5;
}
if (this._currentFrame >= 253 && this._currentFrame <= 353) {
_root.player._x -= 5;
}
}
}
}
instance platform1 of movieClip 705 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance platform2 of movieClip 705 {
onClipEvent (enterFrame) {
if (_root.S2._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance platform3 of movieClip 705 {
onClipEvent (enterFrame) {
if (_root.S3._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S3._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 706 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
if (this.hitTest(_root.player)) {
if (this._currentFrame >= 80 && this._currentFrame <= 180) {
_root.player._x -= 5;
}
if (this._currentFrame >= 253 && this._currentFrame <= 353) {
_root.player._x += 5;
}
}
}
}
}
movieClip 708 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S1 of movieClip 708 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S2 of movieClip 708 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S3 of movieClip 708 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
movieClip 709 {
}
instance of movieClip 709 {
onClipEvent (load) {
done = false;
count = 0;
score = 0;
}
onClipEvent (enterFrame) {
_root.counter.gotoAndStop(score);
if (this.hitTest(_root.ball) && done == false) {
++score;
if (score == 1) {
_root.EG.submitter.submitGrantAward('award2');
}
done = true;
}
if (done == true) {
++count;
if (count >= 50) {
done = false;
count = 0;
}
}
}
}
movieClip 714 {
}
movieClip 715 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 22 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
_root.rooma = 0;
_root._y = 0;
_root._x = 0;
player._x = 370;
player._y = 192;
EX = player._x;
EY = player._y;
box._x = 357;
box._y = 231;
}
movieClip 718 {
}
movieClip 719 {
}
instance of movieClip 719 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 720 {
}
instance of movieClip 720 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 721 {
}
instance of movieClip 721 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 722 {
}
instance of movieClip 722 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 723 {
}
instance of movieClip 723 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 724 {
}
instance of movieClip 724 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 725 {
}
instance of movieClip 725 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 726 {
}
instance of movieClip 726 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 727 {
}
instance of movieClip 727 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 728 {
}
instance of movieClip 728 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 729 {
}
instance of movieClip 729 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 730 {
}
instance of movieClip 730 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 731 {
}
instance of movieClip 731 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 732 {
}
instance of movieClip 732 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 733 {
}
instance of movieClip 733 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 734 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 735 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 736 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 737 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 738 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 739 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 740 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 741 {
}
instance of movieClip 741 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._x = 355;
}
}
}
movieClip 742 {
}
instance of movieClip 742 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.player)) {
++_root.player._x;
}
}
}
movieClip 743 {
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false) {
count = 0;
_root.tele = true;
done = true;
}
_root._x -= 700;
_root.player._x += 20;
this._parent._x += 700;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false && !_root.player.hitTest(_root.ground.hehe)) {
count = 0;
_root.tele = true;
done = true;
}
_root._y += 500;
_root.player._y -= 20;
this._parent._y -= 500;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false && !_root.player.hitTest(_root.ground.hehe)) {
count = 0;
_root.tele = true;
X = _root.player._x;
done = true;
}
_root._y -= 500;
_root.player._y += 20;
this._parent._y += 500;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
instance of movieClip 696 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.h)) {
if (done == false) {
count = 0;
_root.tele = true;
done = true;
}
_root._x += 700;
_root.player._x -= 20;
this._parent._x -= 700;
}
if (done == true) {
++count;
if (count >= 5) {
_root.tele = false;
done = false;
}
}
}
}
}
movieClip 750 {
}
instance of movieClip 750 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
frame 23 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
_root.rooma = 0;
_root._y = 0;
_root._x = 0;
player._x = 118;
player._y = 284;
EX = player._x;
EY = player._y;
box._x = 357;
box._y = 231;
}
movieClip 752 {
}
movieClip 753 {
}
movieClip 754 {
}
movieClip 755 {
}
movieClip 756 {
}
movieClip 757 {
}
movieClip 758 {
instance platform1 of movieClip 754 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance platform2 of movieClip 756 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
if (this.hitTest(_root.player)) {
if (this._currentFrame >= 1 && this._currentFrame <= 20) {
_root.player._x += 8;
}
if (this._currentFrame >= 30 && this._currentFrame <= 50) {
_root.player._x -= 8;
}
}
}
}
instance platform1 of movieClip 754 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance platform1 of movieClip 754 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance platform1 of movieClip 754 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 757 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 757 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
while (this.hitTest(_root.player)) {
--_root.player._y;
}
}
}
instance of movieClip 757 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 759 {
}
instance of movieClip 759 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 760 {
}
instance of movieClip 760 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
movieClip 761 {
}
instance of movieClip 761 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
frame 24 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
_root.rooma = 0;
_root._y = 0;
player._x = 175;
player._y = 186;
EX = player._x;
EY = player._y;
box._x = 357;
box._y = 231;
}
movieClip 763 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 764 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance S3 of movieClip 764 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 648 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S2._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this._y = 1000;
}
}
if (_root.S2._currentFrame == 1) {
this._y = 319;
}
}
}
movieClip 767 {
}
movieClip 768 {
}
movieClip 769 {
instance of movieClip 768 {
onClipEvent (enterFrame) {
if (_root.S3._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this._y = 1000;
}
}
if (_root.S3._currentFrame == 1) {
this._y = 43;
}
}
}
}
instance S1 of movieClip 764 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 616 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
if (_root.S1._currentFrame == 2) {
if (_root.Pause == true) {
this.stop();
} else {
if (this._currentFrame != this._totalFrames) {
this.play();
}
}
if (this._currentFrame == 1) {
this.play();
}
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance S2 of movieClip 764 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
frame 25 {
i = 0;
while (i <= 20) {
--black._alpha;
++i;
}
_root.ddone = false;
_root.rooma = 0;
_root._y = 0;
player._x = 354;
player._y = 281;
EX = player._x;
EY = player._y;
box._x = 357;
box._y = 231;
}
movieClip 770 {
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 405 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 772 {
}
movieClip 773 {
}
movieClip 774 {
}
movieClip 775 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 776 {
}
movieClip 777 {
instance of movieClip 776 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
}
movieClip 778 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 779 {
}
movieClip 780 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 781 {
instance of movieClip 779 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance S4 of movieClip 780 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
}
movieClip 782 {
frame 100 {
stop();
}
}
movieClip 783 {
}
movieClip 784 {
frame 1 {
stop();
}
frame 30 {
stop();
}
}
movieClip 785 {
frame 1 {
stop();
}
frame 30 {
stop();
}
}
movieClip 786 {
instance of movieClip 773 {
onClipEvent (enterFrame) {
if (_root.Pause == true) {
this.stop();
} else {
this.play();
}
if (this.hitTest(_root.player)) {
if (this._currentFrame >= 0 && this._currentFrame <= 45) {
_root.player._x += 7;
}
if (this._currentFrame >= 60 && this._currentFrame <= 100) {
_root.player._x -= 7;
}
}
}
}
instance platform2 of movieClip 775 {
onClipEvent (enterFrame) {
if (_root.S2._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S2._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance hehe of movieClip 775 {
onClipEvent (enterFrame) {
if (_root.S1._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S1._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 778 {
onClipEvent (enterFrame) {
if (_root.S3._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S3._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance tsk of movieClip 782 {
onClipEvent (enterFrame) {
if (_root.S3._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.S3._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 784 {
onClipEvent (enterFrame) {
if (_root.ground.tsk.tsk2.S4._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.ground.tsk.tsk2.S4._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 785 {
onClipEvent (enterFrame) {
if (_root.ground.tsk.tsk2.S4._currentFrame == 2) {
if (this._currentFrame == 1) {
this.play();
}
}
if (_root.ground.tsk.tsk2.S4._currentFrame == 1) {
this.gotoAndStop(1);
}
}
}
}
movieClip 787 {
}
instance of movieClip 787 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 788 {
}
instance of movieClip 788 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 789 {
}
instance of movieClip 789 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 790 {
}
instance of movieClip 790 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
movieClip 791 {
}
instance of movieClip 791 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.ball.gotoAndStop(9);
_root.player.Xspeed = 0;
_root.player.Yspeed = 0;
}
if (this.hitTest(_root.player.h)) {
_root.death = true;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance of movieClip 407 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
_root.Ladder(this);
if (!this.hitTest(_root.player) && done == false) {
_root.ladder = false;
done = true;
}
if (this.hitTest(_root.player)) {
done = false;
}
}
}
instance S2 of movieClip 780 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S1 of movieClip 780 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance S3 of movieClip 780 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this._currentFrame == 1) {
done = false;
}
if (Key.isDown(81) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (Key.isDown(16) && this.hitTest(_root.player) && done == false) {
this.play();
done = true;
}
if (this.hitTest(_root.player) || this.hitTest(_root.ball)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
instance of movieClip 416 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && done == false) {
done = true;
}
if (done == true) {
_root.black._alpha += 10;
}
}
}
movieClip 798 {
}
instance of movieClip 798 {
onClipEvent (load) {
done = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
if (this._alpha <= 100) {
this._alpha += 30;
}
} else {
if (this._alpha >= 0) {
this._alpha -= 30;
}
}
}
}
frame 26 {
onEnterFrame = function () {};
played = true;
}
movieClip 800 {
}
movieClip 882 {
}
movieClip 883 {
frame 994 {
_root.EG.submitter.submitGrantAward('award3');
}
frame 1028 {
_root.gotoAndStop(3);
}
}