Combined Code
frame 1 {
_root.smile.gotoAndStop(11);
mochi.as2.MochiAd.showPreGameAd({'id': 'f2c3a2d48f0e39b3', 'res': '640x580'});
}
movieClip 266 __Packages.mochi.as2.MochiAd {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiAd) {
var v1 = function () {};
mochi.as2.MochiAd = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showPreGameAd = function (options) {
var v27 = {'clip': _root, 'ad_timeout': 3000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showPreloaderAd', 'color': 16747008, 'background': 16777161, 'outline': 13994812, 'no_progress_bar': false, 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}, 'ad_progress': function (percent) {}};
options = mochi.as2.MochiAd._parseOptions(options, v27);
if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') {
options.ad_started();
options.ad_finished();
return undefined;
}
var clip = options.clip;
var v24 = 11000;
var v19 = options.ad_timeout;
if (options.skip) {
v19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v15 = mochi.as2.MochiAd._getRes(options);
var v5 = v15[0];
var v14 = v15[1];
mc._x = v5 * 0.5;
mc._y = v14 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk._x = v5 * -0.5;
chk._y = v14 * -0.5;
var v7 = chk.createEmptyMovieClip('_mochiad_bar', 4);
if (options.no_progress_bar) {
v7._visible = false;
delete options.no_progress_bar;
} else {
v7._x = 10;
v7._y = v14 - 20;
}
var v23 = options.color;
delete options.color;
var v21 = options.background;
delete options.background;
var v25 = options.outline;
delete options.outline;
var v6 = v7.createEmptyMovieClip('_outline', 1);
v6.beginFill(v21);
v6.moveTo(0, 0);
v6.lineTo(v5 - 20, 0);
v6.lineTo(v5 - 20, 10);
v6.lineTo(0, 10);
v6.lineTo(0, 0);
v6.endFill();
var v4 = v7.createEmptyMovieClip('_inside', 2);
v4.beginFill(v23);
v4.moveTo(0, 0);
v4.lineTo(v5 - 20, 0);
v4.lineTo(v5 - 20, 10);
v4.lineTo(0, 10);
v4.lineTo(0, 0);
v4.endFill();
v4._xscale = 0;
var v8 = v7.createEmptyMovieClip('_outline', 3);
v8.lineStyle(0, v25, 100);
v8.moveTo(0, 0);
v8.lineTo(v5 - 20, 0);
v8.lineTo(v5 - 20, 10);
v8.lineTo(0, 10);
v8.lineTo(0, 0);
chk.ad_msec = v24;
chk.ad_timeout = v19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v10 = this._parent._parent;
var v3 = v10;
for (;;) {
if (!(!v3.getBytesTotal() && v3)) break;
v3 = v3._parent;
}
if (!v3) {
v3 = _root;
}
var v13 = this._parent._mochiad_ctr;
var v7 = getTimer() - this.started;
var v5 = false;
var v6 = v3.getBytesTotal();
var v9 = v3.getBytesLoaded();
var v4 = 100 * v9 / v6;
var v12 = 100 * v7 / chk.ad_msec;
var v11 = this._mochiad_bar._inside;
var v15 = Math.min(100, Math.min(v4 || 0, v12));
v15 = Math.max(this.last_pcnt, v15);
this.last_pcnt = v15;
v11._xscale = v15;
options.ad_progress(v15);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v4}, clip._mochiad._containerLCName);
if (v4 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var v8 = v13.getBytesTotal();
if (v8 > 0 || typeof v8 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v7 > chk.ad_timeout && v4 == 100) {
options.ad_failed();
v5 = true;
}
}
}
if (v7 > chk.ad_msec) {
v5 = true;
}
if (v6 > 0 && v9 >= v6 && v5) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
};
v1.showClickAwayAd = function (options) {
var v10 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showClickAwayAd', 'res': '300x250', 'no_bg': true, 'ad_started': function () {}, 'ad_finished': function () {}, 'ad_loaded': function (width, height) {}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_skipped': function () {}};
options = mochi.as2.MochiAd._parseOptions(options, v10);
var clip = options.clip;
var v9 = options.ad_timeout;
delete options.ad_timeout;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var v3 = clip._mochiad;
v3.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v11 = v5[0];
var v8 = v5[1];
v3._x = v11 * 0.5;
v3._y = v8 * 0.5;
var chk = v3.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_timeout = v9;
chk.started = getTimer();
chk.showing = false;
v3.lc.adLoaded = options.ad_loaded;
v3.lc.adSkipped = options.ad_skipped;
v3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
v3.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
var v21 = false;
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
v2 = true;
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v2) {
delete this.onEnterFrame;
}
};
};
v1.showInterLevelAd = function (options) {
var v13 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showTimedAd', 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}};
options = mochi.as2.MochiAd._parseOptions(options, v13);
var clip = options.clip;
var v10 = 11000;
var v12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v14 = v5[0];
var v11 = v5[1];
mc._x = v14 * 0.5;
mc._y = v11 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_msec = v10;
chk.ad_timeout = v12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v4 > chk.ad_msec) {
v2 = true;
}
if (v2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
};
v1.showPreloaderAd = function (options) {
trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0');
mochi.as2.MochiAd.showPreGameAd(options);
};
v1.showTimedAd = function (options) {
trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0');
mochi.as2.MochiAd.showInterLevelAd(options);
};
v1._allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.load = function (options) {
var v12 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'};
options = mochi.as2.MochiAd._parseOptions(options, v12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = mochi.as2.MochiAd.getVersion();
var v6 = options.clip;
if (!mochi.as2.MochiAd._isNetworkAvailable()) {
return null;
}
if (v6._mochiad_loaded) {
return null;
}
var v11 = options.depth;
delete options.depth;
var mc = v6.createEmptyMovieClip('_mochiad', v11);
var v10 = mochi.as2.MochiAd._getRes(options);
options.res = v10[0] + 'x' + v10[1];
options.server += options.id;
delete options.id;
v6._mochiad_loaded = true;
if (v6._url.indexOf('http') != 0) {
trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal');
}
var v4 = mc.createEmptyMovieClip('_mochiad_ctr', 1);
for (var v7 in options) {
v4[v7] = options[v7];
}
var v9 = v4.server;
delete v4.server;
var v13 = mochi.as2.MochiAd._allowDomains(v9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var v5 = new Object();
var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_');
v5.mc = mc;
v5.name = v8;
v5.hostname = v13;
v5.allowDomain = function (d) {
return true;
};
v5.allowInsecureDomain = v5.allowDomain;
v5.connect(v8);
mc.lc = v5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
v4.lc = v8;
v4.st = getTimer();
if (!options.skip) {
v4.loadMovie(v9 + '.swf', 'POST');
}
return mc;
};
v1.unload = function (clip) {
if (typeof clip == 'undefined') {
clip = _root;
}
if (clip.clip && clip.clip._mochiad) {
clip = clip.clip;
}
if (!clip._mochiad) {
return false;
}
mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return true;
};
v1._isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1._getRes = function (options) {
var v3 = options.clip.getBounds();
var v2 = 0;
var v1 = 0;
if (typeof options.res != 'undefined') {
var v4 = options.res.split('x');
v2 = parseFloat(v4[0]);
v1 = parseFloat(v4[1]);
} else {
v2 = v3.xMax - v3.xMin;
v1 = v3.yMax - v3.yMin;
}
if (v2 == 0 || v1 == 0) {
v2 = Stage.width;
v1 = Stage.height;
}
return [v2, v1];
};
v1._parseOptions = function (options, defaults) {
var v4 = {};
for (var v8 in defaults) {
v4[v8] = defaults[v8];
}
if (options) {
for (v8 in options) {
v4[v8] = options[v8];
}
}
if (_root.mochiad_options) {
var v5 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v5.length) {
var v3 = v5[v2].split('=');
v4[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
if (v4.id == 'test') {
trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!');
}
return v4;
};
v1.rpc = function (clip, callbackID, arg) {
switch (arg.id) {
case 'setValue':
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case 'getValue':
var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName);
break;
case 'runMethod':
var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName);
break;
default:
trace('[mochiads rpc] unknown rpc id: ' + arg.id);
}
};
v1.setValue = function (base, objectName, value) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
base[v2[v1]] = value;
};
v1.getValue = function (base, objectName) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
return base[v2[v1]];
};
v1.runMethod = function (base, methodName, argsArray) {
var v2 = methodName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
if (typeof base[v2[v1]] == 'function') {
return base[v2[v1]].apply(base, argsArray);
} else {
return undefined;
}
};
v1.containerNotify = function (clip, args, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.notify) {
v1.notify(args);
} else {
(new LocalConnection()).send(lcName, 'notify', args);
}
};
v1.containerRpcResult = function (clip, callbackID, val, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.rpcResult) {
v1.rpcResult(callbackID, val);
} else {
(new LocalConnection()).send(lcName, 'rpcResult', callbackID, val);
}
};
ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1);
}
#endinitclip
}
movieClip 267 __Packages.mochi.as2.MochiEventDispatcher {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEventDispatcher) {
var v1 = function () {
this.eventTable = {};
};
mochi.as2.MochiEventDispatcher = v1;
var v2 = v1.prototype;
v2.buildDelegate = function (thisObject, thatObject) {
var v2 = {'thisObject': thisObject, 'thatObject': thatObject};
if (thatObject != undefined) {
var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject;
v2.delegate = function (args) {
funct.call(thisObject, args);
};
return v2;
}
v2.delegate = thisObject;
return v2;
};
v2.compareDelegate = function (d_A, d_B) {
if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) {
return false;
}
return true;
};
v2.addEventListener = function (event, thisObject, thatObject) {
this.removeEventListener(event, thisObject, thatObject);
this.eventTable[event].push(this.buildDelegate(thisObject, thatObject));
};
v2.removeEventListener = function (event, thisObject, thatObject) {
var v3 = this.buildDelegate(thisObject, thatObject);
if (this.eventTable[event] == undefined) {
this.eventTable[event] = [];
return undefined;
}
for (var v4 in this.eventTable[event]) {
if (!this.compareDelegate(this.eventTable[event][v4], v3)) {
continue;
}
this.eventTable[event].splice(Number(v4), 1);
}
};
v2.triggerEvent = function (event, args) {
if (this.eventTable[event] == undefined) {
return undefined;
}
for (var v4 in this.eventTable[event]) {
this.eventTable[event][v4].delegate(args);
}
};
ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 268 __Packages.mochi.as2.MochiServices {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiServices) {
var v1 = function () {};
mochi.as2.MochiServices = v1;
var v2 = v1.prototype;
v1.__get__id = function () {
return mochi.as2.MochiServices._id;
};
v1.__get__clip = function () {
return mochi.as2.MochiServices._container;
};
v1.__get__childClip = function () {
return mochi.as2.MochiServices._clip;
};
v1.getVersion = function () {
return '3.9.3 as2';
};
v1.allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.__get__isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1.__set__comChannelName = function (val) {
if (val != undefined) {
if (val.length > 3) {
mochi.as2.MochiServices._sendChannelName = val + '_fromgame';
mochi.as2.MochiServices.initComChannels();
}
}
return mochi.as2.MochiServices.__get__comChannelName();
};
v1.__get__connected = function () {
return mochi.as2.MochiServices._connected;
};
v1.connect = function (id, clip, onError) {
mochi.as2.MochiServices.warnID(id, false);
if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) {
trace('MochiServices Connecting...');
mochi.as2.MochiServices._connecting = true;
mochi.as2.MochiServices.init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else {
if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
};
v1.disconnect = function () {
if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected;
mochi.as2.MochiServices.flush(true);
if (mochi.as2.MochiServices._clip != undefined) {
mochi.as2.MochiServices._clip.removeMovieClip();
delete mochi.as2.MochiServices._clip;
}
mochi.as2.MochiServices._listenChannel.close();
}
};
v1.init = function (id, clip) {
mochi.as2.MochiServices._id = id;
if (clip != undefined) {
mochi.as2.MochiServices._container = clip;
} else {
mochi.as2.MochiServices._container = _root;
}
mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container);
};
v1.loadCommunicator = function (id, clip) {
var v6 = '_mochiservices_com_' + id;
var v5 = new MovieClipLoader();
var v3 = {};
if (mochi.as2.MochiServices._clip != null) {
return mochi.as2.MochiServices._clip;
}
if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) {
return null;
}
if ((mochi.as2.MochiServices.urlOptions()).servURL) {
mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL;
}
var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services;
if ((mochi.as2.MochiServices.urlOptions()).servicesURL) {
v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL;
}
mochi.as2.MochiServices.allowDomains(v4);
mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false);
mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999);
mochi.as2.MochiServices.listen();
if (v3.waitInterval != null) {
clearInterval(v3.waitInterval);
}
v3.onLoadError = mochi.as2.MochiServices.loadError;
v3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
v3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
v3.startTime = getTimer();
v3.wait = function () {
if (getTimer() - this.startTime > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
}
clearInterval(this.waitInterval);
}
};
v3.waitInterval = setInterval(v3, 'wait', 1000);
v5.addListener(v3);
v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip);
mochi.as2.MochiServices._sendChannel = new LocalConnection();
mochi.as2.MochiServices._sendChannel._queue = [];
return mochi.as2.MochiServices._clip;
};
v1.loadError = function (target_mc, errorCode, httpStatus) {
trace('MochiServices could not load.');
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
v1.onStatus = function (infoObject) {
if (infoObject.level !== 'error') {
} else {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
}
};
v1.listen = function () {
mochi.as2.MochiServices._listenChannel = new LocalConnection();
mochi.as2.MochiServices._listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
mochi.as2.MochiServices._listenChannel.allowDomain = function (d) {
return true;
};
mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain;
mochi.as2.MochiServices._listenChannel._nextcallbackID = 0;
mochi.as2.MochiServices._listenChannel._callbacks = {};
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
trace('Waiting for MochiAds services to connect...');
};
v1.initComChannels = function () {
if (!mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'});
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()});
mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) {
var v5 = pkg.callbackID;
var v4 = this._callbacks[v5];
if (!v4) {
return undefined;
}
var v2 = v4.callbackMethod;
var v3 = v4.callbackObject;
if (v3 && typeof v2 == 'string') {
v2 = v3[v2];
}
if (v2 != undefined) {
v2.apply(v3, pkg.args);
}
delete this._callbacks[v5];
};
mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case 'services':
mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args);
break;
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case 'social':
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
}
};
mochi.as2.MochiServices._listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
};
trace('[SERVICES_API] connected!');
mochi.as2.MochiServices._connecting = false;
mochi.as2.MochiServices._connected = true;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift());
}
}
};
v1.flush = function (error) {
var v1;
var v2;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
v1 = mochi.as2.MochiServices._sendChannel._queue.shift();
false;
if (v1.callbackID != null) {
v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
}
delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
if (error) {
mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod);
}
}
};
v1.handleError = function (args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ['NotConnected']);
}
if (args.options != null && args.options.onError != null) {
args.options.onError.apply(null, ['NotConnected']);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = 'NotConnected';
if (callbackObject != null && typeof callbackMethod == 'string') {
callbackObject[callbackMethod](args);
} else {
if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
};
v1.send = function (methodName, args, callbackObject, callbackMethod) {
if (mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
} else {
if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) {
trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName);
mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod);
mochi.as2.MochiServices.flush(true);
return undefined;
} else {
mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
}
}
mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod};
++mochi.as2.MochiServices._listenChannel._nextcallbackID;
};
v1.urlOptions = function () {
var v5 = {};
var v6;
if (_root._url.indexOf('mochiad_options') != -1) {
var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1;
v6 = _root._url.substr(v2, _root._url.length);
} else {
if (_root.mochiad_options) {
v6 = _root.mochiad_options;
}
}
if (v6) {
var v4 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v4.length) {
var v3 = v4[v2].split('=');
v5[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
return v5;
};
v1.warnID = function (bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length');
return undefined;
} else {
if (bid == '1e113c7239048b3f') {
if (leaderboard) {
trace('WARNING: Using testing board ID');
} else {
trace('WARNING: Using testing board ID as game ID');
}
return undefined;
} else {
if (bid == '84993a1de4031cd8') {
if (leaderboard) {
trace('WARNING: Using testing game ID as board ID');
} else {
trace('WARNING: Using testing game ID');
}
return undefined;
}
}
}
var v1 = 0;
while (v1 < bid.length) {
switch (bid.charAt(v1)) {
if (bid.charAt(v1) !== 'f') {
} else {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'a':
break;
case 'b':
case 'c':
case 'd':
case 'e':
}
default:
trace('WARNING: Board ID contains illegal characters: ' + bid);
return undefined;
}
++v1;
}
};
v1.addLinkEvent = function (url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var v2 = new Object();
v2.mav = mochi.as2.MochiServices.getVersion();
v2.swfv = btn.getSWFVersion() || 6;
v2.swfurl = btn._url;
v2.fv = System.capabilities.version;
v2.os = System.capabilities.os;
v2.lang = System.capabilities.language;
v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY;
var s = '?';
var v3 = 0;
for (var v6 in v2) {
if (v3 != 0) {
s += '&';
}
++v3;
s = s + v6 + '=' + escape(v2[v6]);
}
if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) {
var ping = btn.createEmptyMovieClip('ping', 777);
var v7 = btn.createEmptyMovieClip('nettest', 778);
mochi.as2.MochiServices.netupAttempted = true;
ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer());
v7.onEnterFrame = function () {
if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) {
delete this.onEnterFrame;
} else {
if (getTimer() - t0 > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
}
};
}
var v4 = btn.createEmptyMovieClip('clk', 1001);
v4._alpha = 0;
v4.beginFill(1044735);
v4.moveTo(0, 0);
v4.lineTo(0, btn._height);
v4.lineTo(btn._width, btn._height);
v4.lineTo(btn._width, 0);
v4.lineTo(0, 0);
v4.endFill();
v4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL(url + s, '_blank');
} else {
getURL(burl, '_blank');
}
if (onClick != undefined) {
onClick();
}
};
};
v1.setContainer = function (clip) {};
v1.stayOnTop = function (clip) {};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.CONNECTED = 'onConnected';
v1._servURL = 'http://www.mochiads.com/static/lib/services/';
v1._services = 'services.swf';
v1._mochiLC = 'MochiLC.swf';
v1._listenChannelName = '__ms_';
v1._connecting = false;
v1._connected = false;
v1.netup = true;
v1.netupAttempted = false;
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
v1.addProperty('childClip', v1.__get__childClip, function () {});
v1.addProperty('clip', v1.__get__clip, function () {});
v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName);
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('id', v1.__get__id, function () {});
v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {});
ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1);
}
#endinitclip
}
movieClip 269 __Packages.mochi.as2.MochiEvents {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEvents) {
var v1 = function () {};
mochi.as2.MochiEvents = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.getAchievements = function (properties) {
mochi.as2.MochiServices.send('events_getAchievements', properties);
};
v1.unlockAchievement = function (properties) {
mochi.as2.MochiServices.send('events_unlockAchievement', properties);
};
v1.startSession = function (achievementID) {
mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null);
};
v1.showAwards = function (options) {
mochi.as2.MochiServices.send('events_showAwards', options, null, null);
};
v1.setNotifications = function (style) {
mochi.as2.MochiServices.send('events_setNotifications', style, null, null);
};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.startPlay = function (tag) {
if (tag == undefined) {
tag = 'gameplay';
}
mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null);
};
v1.endPlay = function () {
mochi.as2.MochiServices.send('events_clearRoundID', null, null, null);
};
v1.trackEvent = function (tag, value) {
mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null);
};
v1.ACHIEVEMENTS_OWNED = 'AchievementOwned';
v1.ACHIEVEMENT_NEW = 'AchievementReceived';
v1.GAME_ACHIEVEMENTS = 'GameAchievements';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.IO_PENDING = 'IOPending';
v1.ALIGN_TOP_LEFT = 'ALIGN_TL';
v1.ALIGN_TOP = 'ALIGN_T';
v1.ALIGN_TOP_RIGHT = 'ALIGN_TR';
v1.ALIGN_LEFT = 'ALIGN_L';
v1.ALIGN_CENTER = 'ALIGN_C';
v1.ALIGN_RIGHT = 'ALIGN_R';
v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL';
v1.ALIGN_BOTTOM = 'ALIGN_B';
v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR';
v1.FORMAT_SHORT = 'ShortForm';
v1.FORMAT_LONG = 'LongForm';
v1.FORMAT_NONE = 'NoForm';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1);
}
#endinitclip
}
movieClip 270 __Packages.mochi.as2.MochiCoins {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiCoins) {
var v1 = function () {};
mochi.as2.MochiCoins = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showStore = function (options) {
mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null);
};
v1.showItem = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showItem call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null);
};
v1.showVideo = function (options) {
if (options == undefined || typeof options.item != 'string') {
trace('ERROR: showVideo call must pass an Object with an item key');
return undefined;
}
mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null);
};
v1.getStoreItems = function () {
mochi.as2.MochiServices.send('coins_getStoreItems');
};
v1.requestFunding = function (properties) {
mochi.as2.MochiServices.send('social_requestFunding', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate);
};
v1.STORE_SHOW = 'StoreShow';
v1.STORE_HIDE = 'StoreHide';
v1.ITEM_OWNED = 'ItemOwned';
v1.ITEM_NEW = 'ItemNew';
v1.STORE_ITEMS = 'StoreItems';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1);
}
#endinitclip
}
movieClip 271 __Packages.mochi.as2.MochiSocial {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSocial) {
var v1 = function () {};
mochi.as2.MochiSocial = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('social_hideLoginWidget');
};
v1.requestLogin = function (properties) {
mochi.as2.MochiServices.send('social_requestLogin', properties);
};
v1.getFriendsList = function (properties) {
mochi.as2.MochiServices.send('social_getFriendsList', properties);
};
v1.showProfile = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('social_showProfile', options);
};
v1.postToStream = function (properties) {
mochi.as2.MochiServices.send('social_postToStream', properties);
};
v1.inviteFriends = function (properties) {
mochi.as2.MochiServices.send('social_inviteFriends', properties);
};
v1.requestFan = function (properties) {
mochi.as2.MochiServices.send('social_requestFan', properties);
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('social_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.LOGIN_SHOWN = 'LoginShown';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.FRIEND_LIST = 'FriendsList';
v1.PROFILE_DATA = 'ProfileData';
v1.GAMEPLAY_DATA = 'GameplayData';
v1.ACTION_CANCELED = 'onCancel';
v1.ACTION_COMPLETE = 'onComplete';
v1.USER_INFO = 'UserInfo';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1.PROPERTIES_SIZE = 'PropertiesSize';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
_focusrect = false;
_root.smile.gotoAndStop(11);
}
movieClip 21 {
}
// unknown tag 88 length 62
movieClip 24 {
}
instance of movieClip 24 {
onClipEvent (enterFrame) {
status = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
gotoAndStop(status);
ki.text = int(status) + ' %';
if (status == 100) {
_root.gotoAndStop(3);
}
}
}
movieClip 26 {
frame 11 {
stop();
}
}
instance smile of movieClip 26 {
onClipEvent (enterFrame) {
if (Key.isDown(9)) {
_root.smile.gotoAndPlay(1);
}
}
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 32 {
instance of movieClip 31 {
onClipEvent (press) {
getURL('http://lombicgames.com', '_blank');
}
}
frame 100 {
_root.gotoAndStop(4);
}
}
movieClip 37 {
frame 1 {
stop();
}
}
movieClip 40 {
frame 1 {
stop();
}
}
movieClip 42 {
}
movieClip 43 {
frame 1 {
stop();
}
}
movieClip 47 {
}
movieClip 50 {
frame 1 {
stop();
}
instance of movieClip 37 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
katt = new Sound();
katt.attachSound('gomb');
katt.start();
_root.menu.gotoAndStop(4);
}
}
instance of movieClip 40 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
katt = new Sound();
katt.attachSound('gomb');
katt.start();
_root.menu.gotoAndStop(3);
}
}
instance of movieClip 43 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
_root.zene.stop('saltarello');
_root.gotoAndStop(11);
}
}
instance of movieClip 42 {
onClipEvent (load) {
_root.zene = new Sound();
_root.zene.attachSound('saltarello');
_root.zene.setVolume(20);
_root.zene.start(0, 100);
}
}
instance of movieClip 47 {
onClipEvent (release) {
_root.menu.gotoAndStop(1);
}
}
instance of movieClip 42 {
onClipEvent (press) {
getURL('http://lombicgames.com', '_blank');
}
}
instance of movieClip 42 {
onClipEvent (press) {
getURL('http://lombicgames.com', '_blank');
}
}
}
movieClip 55 {
}
movieClip 58 {
}
movieClip 61 {
}
movieClip 65 {
}
movieClip 66 {
frame 1 {
stop();
}
frame 77 {
_root.ablak.szöveg.gotoAndStop(1);
}
}
movieClip 75 {
frame 1 {
stop();
}
}
movieClip 92 {
}
movieClip 95 {
}
movieClip 102 {
frame 1 {
stop();
}
}
movieClip 129 {
}
movieClip 132 {
}
movieClip 135 {
}
movieClip 138 {
}
movieClip 141 {
}
movieClip 144 {
}
movieClip 147 {
}
movieClip 150 {
}
movieClip 153 {
}
movieClip 155 {
}
movieClip 157 {
}
movieClip 159 {
}
movieClip 161 {
}
movieClip 163 {
}
movieClip 165 {
}
movieClip 167 {
}
movieClip 169 {
}
movieClip 171 {
}
movieClip 173 {
}
movieClip 174 {
instance of movieClip 129 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 1) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 132 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 2) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 135 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 3) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 138 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 4) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 141 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 5) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 144 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 6) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 147 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 7) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 150 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 8) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 153 {
onClipEvent (load) {
i = 0;
_visible = false;
van = 0;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 9) {
van = 1;
}
++i;
}
if (van == 1) {
_visible = true;
} else {
_visible = false;
}
van = 0;
}
}
instance of movieClip 155 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 1) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 1;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 157 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 2) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 2;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 159 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 3) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 3;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 161 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 4) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 4;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 163 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 5) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 5;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 165 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 6) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 6;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 167 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 7) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 7;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 169 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 8) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 8;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 171 {
onClipEvent (load) {
i = 0;
van = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
if (_root.feladvany[i] == 9) {
van = 1;
}
++i;
}
if (van == 0) {
_root.feladvany[_root.hely] = 9;
++_root.hely;
if (_root.mute == 0) {
_root.stone.start();
}
}
van = 0;
}
}
instance of movieClip 173 {
onClipEvent (load) {
i = 0;
}
onClipEvent (release) {
i = 0;
while (i < 9) {
_root.feladvany[i] = 0;
++i;
}
_root.hely = 0;
_root.ablak.szöveg.ki.text = 'Reset! Yeah!';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.stone.start();
}
}
}
}
movieClip 176 {
}
movieClip 177 {
frame 1 {
stop();
}
instance of movieClip 55 {
onClipEvent (load) {
if (_root.vizesajto_felso == 0) {
_alpha = 1;
} else {
_alpha = 100;
}
}
onClipEvent (release) {
if (_root.talkahasznal == 1 && _root.viz == 1) {
_root.vizesajto_felso = 1;
_alpha = 100;
_root.viz = 0;
_root.ablak.szöveg.ki.text = 'Perfect!';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.fal.start();
}
} else {
_root.ablak.szöveg.ki.text = 'These stones are like sponge.';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 58 {
onClipEvent (load) {
if (_root.vizesajto_also == 0) {
_alpha = 1;
} else {
_alpha = 100;
}
}
onClipEvent (release) {
if (_root.talkahasznal == 1 && _root.viz == 1) {
_root.vizesajto_also = 1;
_alpha = 100;
_root.viz = 0;
_root.ablak.szöveg.ki.text = 'Perfect!';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.fal.start();
}
} else {
_root.ablak.szöveg.ki.text = 'These stones are like sponge.';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'I see some light on the floor that must be a torch or a candle.';
_root.ablak.szöveg.gotoAndPlay(2);
_root.ablak.gotoAndStop(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.vizesajto_felso == 1 && _root.vizesajto_also == 1) {
if (_root.Å‘rhalott == 1) {
_root.ajtonincs = 1;
_root.ablak.szöveg.ki.text = 'Door? Now, only sawdust.';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.ajto.start();
}
_root.ablak.gotoAndStop(15);
} else {
_root.ablak.szöveg.ki.text = 'I am no fool! First I have to arrange the guard!';
_root.ablak.szöveg.gotoAndPlay(2);
}
} else {
_root.ablak.szöveg.ki.text = 'Strong wooden door withe reinforced straps! I wont be able to move them with hands. Unless ...';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.vizesajto_felso == 1 && _root.vizesajto_also == 1) {
if (_root.Å‘rhalott == 1) {
_root.ajtonincs = 1;
_root.ablak.szöveg.ki.text = 'Door? Now, only sawdust.';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.ajto.start();
}
_root.ablak.gotoAndStop(15);
} else {
_root.ablak.szöveg.ki.text = 'I am no fool! First I have to arrange the guard!';
_root.ablak.szöveg.gotoAndPlay(2);
}
} else {
_root.ablak.szöveg.ki.text = 'Strong wooden door withe reinforced straps! I wont be able to move them with hands. Unless ...';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.vizesajto_felso == 1 && _root.vizesajto_also == 1) {
if (_root.Å‘rhalott == 1) {
_root.ajtonincs = 1;
_root.ablak.szöveg.ki.text = 'Door? Now, only sawdust.';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.ajto.start();
}
_root.ablak.gotoAndStop(15);
} else {
_root.ablak.szöveg.ki.text = 'I am no fool! First I have to arrange the guard!';
_root.ablak.szöveg.gotoAndPlay(2);
}
} else {
_root.ablak.szöveg.ki.text = 'Strong wooden door withe reinforced straps! I wont be able to move them with hands. Unless ...';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.vizesajto_felso == 1 && _root.vizesajto_also == 1) {
if (_root.Å‘rhalott == 1) {
_root.ajtonincs = 1;
_root.ablak.szöveg.ki.text = 'Door? Now, only sawdust.';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.ajto.start();
}
_root.ablak.gotoAndStop(15);
} else {
_root.ablak.szöveg.ki.text = 'I am no fool! First I have to arrange the guard!';
_root.ablak.szöveg.gotoAndPlay(2);
}
} else {
_root.ablak.szöveg.ki.text = 'Strong wooden door withe reinforced straps! I wont be able to move them with hands. Unless ...';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.talka_ki == 0) {
_root.ablak.gotoAndStop(11);
} else {
_root.ablak.gotoAndStop(12);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.tegla_ki == 0) {
_root.ablak.gotoAndStop(3);
} else {
_root.ablak.gotoAndStop(4);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop(1);
}
}
instance of movieClip 75 {
onClipEvent (enterFrame) {
if (_root.tu != 0) {
_visible = false;
}
}
onClipEvent (release) {
_root.tu = 1;
if (_root.mute == 0) {
_root.gomb.start();
}
_visible = false;
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.keshasznal == 1) {
_root.tegla_ki = 1;
_root.ablak.szöveg.ki.text = 'It\'s worked!';
if (_root.mute == 0) {
_root.tégla.start();
}
_root.ablak.szöveg.gotoAndPlay(2);
_root.ablak.gotoAndStop(4);
} else {
_root.ablak.szöveg.ki.text = 'As if the binder would be weaker around this stone.';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.ajtonincs == 0) {
_root.ablak.gotoAndStop(1);
} else {
_root.ablak.gotoAndStop(15);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop(5);
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.Å‘rhalott == 0) {
_root.ablak.gotoAndStop(13);
} else {
_root.ablak.gotoAndStop(14);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.csepp_play = 1;
_root.ablak.gotoAndStop(6);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.cellaablak = 5;
_root.rigo_play = 1;
_root.ablak.gotoAndStop(9);
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.tegla_ki == 0) {
_root.ablak.gotoAndStop(3);
} else {
_root.ablak.gotoAndStop(4);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.csont_ki == 0) {
_root.ablak.gotoAndStop(7);
} else {
_root.ablak.gotoAndStop(8);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.talkahasznal == 1) {
_root.viz = 1;
_root.ablak.szöveg.ki.text = 'Maiby I can use it!';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.merites.start();
}
} else {
_root.ablak.szöveg.ki.text = 'Great! A pool! But I\'m not thirsty.';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.csepp_play == 1 && _root.megy == 0 && _root.mute == 0) {
_root.megy = 1;
_root.csepp.start(0, 100);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.csepp_play = 0;
_root.megy = 0;
_root.csepp.stop('water-drops');
_root.ablak.gotoAndStop(5);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.cellaablak = 7;
_root.rigo_play = 1;
_root.ablak.gotoAndStop(9);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Poor boy! But no way to stay here so long like him.';
_root.ablak.szöveg.gotoAndPlay(2);
_root.ablak.gotoAndStop(10);
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop(5);
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.talka_ki == 0) {
_root.ablak.gotoAndStop(11);
} else {
_root.ablak.gotoAndStop(12);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.cellaablak = 8;
_root.rigo_play = 1;
_root.ablak.gotoAndStop(9);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.gotoAndStop(10);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Perfect view from a perfect cell.';
_root.ablak.szöveg.gotoAndPlay(2);
}
onClipEvent (enterFrame) {
if (_root.rigo_play == 1 && _root.mute == 0 && _root.megy == 0) {
_root.megy = 1;
_root.rigo.start(0, 100);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.rigo_play = 0;
_root.megy = 0;
_root.rigo.stop('rigo');
_root.ablak.gotoAndStop(_root.cellaablak);
}
}
instance csont of movieClip 92 {
onClipEvent (load) {
if (_root.csont != 0) {
_visible = false;
}
}
onClipEvent (release) {
_root.csont = 1;
_root.csont_ki = 1;
if (_root.mute == 0) {
_root.gomb.start();
}
_visible = false;
}
}
instance of movieClip 95 {
onClipEvent (load) {
if (_root.papir == 1) {
_visible = false;
}
}
onClipEvent (release) {
_root.papir = 1;
if (_root.mute == 0) {
_root.gomb.start();
}
_visible = false;
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.csont_ki == 0) {
_root.ablak.gotoAndStop(7);
} else {
_root.ablak.gotoAndStop(8);
}
}
}
instance of movieClip 102 {
onClipEvent (load) {
if (_root.pok == 1) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (release) {
_root.pok = 1;
if (_root.mute == 0) {
_root.gomb.start();
}
_visible = false;
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.talka_ki = 1;
_root.talka = 1;
if (_root.mute == 0) {
_root.gomb.start();
}
_root.ablak.gotoAndStop(12);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Dirt dirt dirt and more dirt.';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.ajtonincs == 0) {
_root.ablak.gotoAndStop(1);
} else {
_root.ablak.gotoAndStop(15);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Dirt dirt dirt and more dirt.';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.csonthasznal == 1 && _root.fuvóka == 1) {
_root.Å‘rhalott = 1;
_root.csont = 2;
_root.ablak.csont._visible = false;
_root.ablak.szöveg.ki.text = 'OK. The corridor is safety now.';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.blowgun.start();
}
_root.ablak.gotoAndStop(14);
} else {
_root.ablak.szöveg.ki.text = 'There is a guard!';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.tegla_ki == 0) {
_root.ablak.gotoAndStop(3);
} else {
_root.ablak.gotoAndStop(4);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Puff...';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.gotoAndStop(16);
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.talka_ki == 0) {
_root.ablak.gotoAndStop(11);
} else {
_root.ablak.gotoAndStop(12);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
if (_root.tegla_ki == 0) {
_root.ablak.gotoAndStop(3);
} else {
_root.ablak.gotoAndStop(4);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.ajtonincs == 0) {
_root.ablak.gotoAndStop(1);
} else {
_root.ablak.gotoAndStop(15);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.gotoAndStop(17);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.tűz_play = 1;
if (_root.kulcs == 1) {
_root.ablak.gotoAndStop(19);
} else {
_root.ablak.gotoAndStop(18);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop(16);
}
}
instance of movieClip 42 {
onClipEvent (enterFrame) {
if (_root.tűz_play == 1 && _root.megy == 0 && _root.mute == 0) {
_root.megy = 1;
_root.tűz.start(0, 100);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.keshasznal == 1) {
_root.kulcs = 1;
_root.ablak.szöveg.ki.text = 'Jackpot!';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.gomb.start();
}
_root.ablak.gotoAndStop(19);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'It\'s miracle! He\'s breathing!';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.tűz_play = 0;
_root.megy = 0;
_root.tűz.stop('fire');
_root.ablak.gotoAndStop(17);
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.tűz_play = 0;
_root.megy = 0;
_root.tűz.stop('fire');
_root.ablak.gotoAndStop(20);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'It\'s miracle! He\'s breathing!';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.faajto == 1) {
_root.ablak.gotoAndStop(22);
} else {
_root.ablak.gotoAndStop(21);
}
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.tűz_play = 1;
if (_root.kulcs == 1) {
_root.ablak.gotoAndStop(19);
} else {
_root.ablak.gotoAndStop(18);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.kulcshasznal == 1) {
_root.faajto = 1;
_root.ablak.szöveg.ki.text = 'Open Sesame! Treasure? No, just another room.';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.nyitas.start();
}
_root.ablak.gotoAndStop(22);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Let\'s see what\'s behind the door number one!';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Let\'s see what\'s behind the door number one!';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Let\'s see what\'s behind the door number one!';
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop(20);
}
}
instance of movieClip 42 {
onClipEvent (release) {
_root.ablak.szöveg.ki.text = 'Combination lock? Specific!';
_root.ablak.szöveg.gotoAndPlay(2);
_root.ablak.gotoAndStop(23);
}
}
instance of movieClip 174 {
onClipEvent (load) {
i = 0;
egyezo = 1;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 9) {
if (_root.megoldas[i] != _root.feladvany[i]) {
egyezo = 0;
}
++i;
}
if (egyezo == 1) {
_root.ablak.fekete._visible = true;
}
egyezo = 1;
}
}
instance fekete of movieClip 176 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (release) {
_root.black._visible = true;
_root.gotoAndPlay(40);
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop(22);
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop();
}
}
instance of movieClip 61 {
onClipEvent (release) {
_root.ablak.gotoAndStop();
}
}
}
instance ablak of movieClip 177 {
onClipEvent (load) {
_root.csepp_play = 0;
_root.rigo_play = 0;
_root.tűz_play = 0;
_root.zene_play = 0;
_root.csepp = new Sound();
_root.csepp.attachSound('water-drops');
_root.csepp.setVolume(50);
_root.megy = 0;
_root.mute = 0;
_root.lenyomva = 0;
_root.rigo = new Sound();
_root.rigo.attachSound('rigo');
_root.rigo.setVolume(50);
_root.ajto = new Sound();
_root.ajto.attachSound('ajto');
_root.ajto.setVolume(50);
_root.tégla = new Sound();
_root.tégla.attachSound('tegla');
_root.tégla.setVolume(40);
_root.tűz = new Sound();
_root.tűz.attachSound('fire');
_root.tűz.setVolume(70);
_root.stone = new Sound();
_root.stone.attachSound('stone');
_root.stone.setVolume(50);
_root.blowgun = new Sound();
_root.blowgun.attachSound('fuvoka');
_root.blowgun.setVolume(70);
_root.gomb = new Sound();
_root.gomb.attachSound('gomb');
_root.gomb.setVolume(70);
_root.csuszka = new Sound();
_root.csuszka.attachSound('slide');
_root.csuszka.setVolume(70);
_root.csuszka_back = new Sound();
_root.csuszka_back.attachSound('slide_back');
_root.csuszka_back.setVolume(70);
_root.merites = new Sound();
_root.merites.attachSound('merites');
_root.merites.setVolume(70);
_root.bug = new Sound();
_root.bug.attachSound('bugdead');
_root.bug.setVolume(70);
_root.fal = new Sound();
_root.fal.attachSound('fal');
_root.fal.setVolume(70);
_root.csont_hang = new Sound();
_root.csont_hang.attachSound('csont_cut');
_root.csont_hang.setVolume(70);
_root.nyitas = new Sound();
_root.nyitas.attachSound('door-open');
_root.nyitas.setVolume(50);
_root.gf = new flash.filters.GlowFilter(15127742, 100, 5, 5, 1.5, 3, false, false);
_root.tegla_ki = 0;
_root.csont_ki = 0;
_root.talka_ki = 0;
_root.viz = 0;
_root.vizesajto_felso = 0;
_root.vizesajto_also = 0;
_root.Å‘rhalott = 0;
_root.inventory = 1;
_root.ajtonincs = 0;
_root.faajto = 0;
_root.cellaablak = 0;
_root.kulcs = 0;
_root.talka = 0;
_root.csont = 0;
_root.papir = 0;
_root.pok = 0;
_root.tu = 0;
_root.gyujtó = 1;
_root.kes = 1;
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
_root.csontlevagva = 0;
_root.fuvóka = 0;
_root.pokhalott = 0;
_root.tárgyak_kod = 0;
_root.zene_megy = 0;
_root.feladvany = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.megoldas = new Array(2, 6, 7, 3, 4, 8, 0, 0, 0);
_root.beszed = new Array('I don\'t think so!', 'Why?', 'It is terrible and useless!', 'I don\'t understand!', 'Think! Think! Think! I must think!', 'Use your mind, dude!', 'Why is it so hard?');
_root.hely = 0;
_root.tárgyak.gotoAndStop(14);
_root.gotoAndStop(24);
}
onClipEvent (enterFrame) {
if (_root.mute == 0 && _root.zene_megy == 0) {
_root.zene.start(0, 100);
_root.zene_megy = 1;
}
if (_root.mute == 1) {
_root.zene.stop('saltarello');
_root.zene_megy = 0;
}
}
}
movieClip 232 {
frame 1 {
stop();
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.keshasznal == 1) {
_root.csontlevagva = 1;
_root.ablak.szöveg.ki.text = 'Very well!';
_root.ablak.szöveg.gotoAndPlay(2);
if (_root.mute == 0) {
_root.csont_hang.start();
}
_root.tárgyak_kod = 2;
} else {
a = random(6);
_root.ablak.szöveg.ki.text = _root.beszed[a];
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.tu_mergezett == 1 && _root.tuhasznal == 1) {
_root.fuvóka = 1;
_root.tu = 2;
_root.tárgyak_kod = 3;
_root.ablak.szöveg.ki.text = 'Well done!';
_root.ablak.szöveg.gotoAndPlay(2);
} else {
a = random(6);
_root.ablak.szöveg.ki.text = _root.beszed[a];
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
a = random(6);
_root.ablak.szöveg.ki.text = _root.beszed[a];
_root.ablak.szöveg.gotoAndPlay(2);
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.tuhasznal == 1) {
_root.tu_mergezett = 1;
_root.ablak.szöveg.ki.text = 'Carefuly!';
_root.ablak.szöveg.gotoAndPlay(2);
} else {
a = random(6);
_root.ablak.szöveg.ki.text = _root.beszed[a];
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.keshasznal == 1) {
_root.pokhalott = 1;
if (_root.mute == 0) {
_root.bug.start();
}
_root.tárgyak_kod = 7;
} else {
a = random(6);
_root.ablak.szöveg.ki.text = _root.beszed[a];
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
a = random(6);
_root.ablak.szöveg.ki.text = _root.beszed[a];
_root.ablak.szöveg.gotoAndPlay(2);
}
}
}
instance tárgyak of movieClip 232 {
onClipEvent (enterFrame) {
gotoAndStop(_root.tárgyak_kod);
}
}
movieClip 239 {
frame 1 {
stop();
}
}
movieClip 242 {
}
movieClip 245 {
}
movieClip 248 {
}
movieClip 254 {
frame 1 {
stop();
}
}
movieClip 257 {
}
movieClip 260 {
frame 1 {
stop();
}
}
movieClip 261 {
instance csont of movieClip 239 {
onClipEvent (enterFrame) {
if (_root.csontlevagva == 1) {
if (_root.fuvóka == 1) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
if (_root.csont == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.csonthasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
}
onClipEvent (release) {
if (_root.csont == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 1;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
}
}
}
instance of movieClip 242 {
onClipEvent (enterFrame) {
if (_root.gyujtó == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.gyujtóhasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
}
onClipEvent (release) {
if (_root.gyujtó == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.vizhasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 1;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
}
}
}
instance of movieClip 245 {
onClipEvent (enterFrame) {
if (_root.kes == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.keshasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
}
onClipEvent (release) {
if (_root.kes == 1) {
_root.keshasznal = 1;
_root.talkahasznal = 0;
_root.vizhasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
}
}
}
instance kulcs of movieClip 248 {
onClipEvent (enterFrame) {
if (_root.kulcs == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.kulcshasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
}
onClipEvent (release) {
if (_root.kulcs == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 1;
}
}
}
instance talka of movieClip 254 {
onClipEvent (enterFrame) {
if (_root.talka == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.viz == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
if (_root.talkahasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
}
onClipEvent (release) {
if (_root.talka == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 1;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
}
}
}
instance tu of movieClip 75 {
onClipEvent (enterFrame) {
if (_root.tu == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.tuhasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
if (_root.tu_mergezett == 1) {
gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.tu == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 1;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
}
}
}
instance pok of movieClip 102 {
onClipEvent (enterFrame) {
if (_root.pok == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.pókhasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
if (_root.pokhalott == 1) {
gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.pok == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.pókhasznal = 1;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 0;
_root.kulcshasznal = 0;
}
}
}
instance papir of movieClip 257 {
onClipEvent (enterFrame) {
if (_root.papir == 1) {
_visible = true;
} else {
_visible = false;
}
if (_root.papirhasznal == 1) {
this.filters = [_root.gf];
} else {
this.filters = 0;
}
}
onClipEvent (release) {
if (_root.papir == 1) {
_root.keshasznal = 0;
_root.talkahasznal = 0;
_root.pókhasznal = 0;
_root.gyujtóhasznal = 0;
_root.csonthasznal = 0;
_root.tuhasznal = 0;
_root.papirhasznal = 1;
_root.kulcshasznal = 0;
}
}
}
instance of movieClip 42 {
onClipEvent (release) {
if (_root.inventory == 1) {
_root.inventory = 0;
if (_root.mute == 0) {
_root.csuszka_back.start();
}
_root.gotoAndPlay(24);
}
}
}
instance tu_n of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.tu == 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (release) {
if (_root.inventory == 1) {
if (_root.tu_mergezett == 1) {
_root.tárgyak_kod = 11;
} else {
_root.tárgyak_kod = 12;
}
} else {
if (_root.tu_mergezett == 1) {
_root.tárgyak_kod = 11;
} else {
_root.tárgyak_kod = 12;
}
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance talka_n of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.talka == 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (release) {
if (_root.inventory == 1) {
if (_root.viz == 1) {
_root.tárgyak_kod = 9;
} else {
_root.tárgyak_kod = 10;
}
} else {
if (_root.viz == 1) {
_root.tárgyak_kod = 9;
} else {
_root.tárgyak_kod = 10;
}
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance csont_n of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.csont == 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (release) {
if (_root.inventory == 1) {
if (_root.csontlevagva == 1) {
if (_root.fuvóka == 1) {
_root.tárgyak_kod = 3;
} else {
_root.tárgyak_kod = 2;
}
} else {
_root.tárgyak_kod = 1;
}
} else {
if (_root.csontlevagva == 1) {
if (_root.fuvóka == 1) {
_root.tárgyak_kod = 3;
} else {
_root.tárgyak_kod = 2;
}
} else {
_root.tárgyak_kod = 1;
}
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance pok_n of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.pok == 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (release) {
if (_root.inventory == 1) {
if (_root.pokhalott == 1) {
_root.tárgyak_kod = 7;
} else {
_root.tárgyak_kod = 8;
}
} else {
if (_root.pokhalott == 1) {
_root.tárgyak_kod = 7;
} else {
_root.tárgyak_kod = 8;
}
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance papir_n of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.papir == 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (release) {
if (_root.inventory == 1) {
_root.tárgyak_kod = 6;
} else {
_root.tárgyak_kod = 6;
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance kulcs_n of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.kulcs == 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (release) {
if (_root.inventory == 1) {
_root.tárgyak_kod = 5;
} else {
_root.tárgyak_kod = 5;
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
if (_root.inventory == 1) {
_root.tárgyak_kod = 4;
} else {
_root.tárgyak_kod = 4;
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
instance of movieClip 260 {
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
if (_root.inventory == 1) {
_root.tárgyak_kod = 13;
} else {
_root.tárgyak_kod = 13;
_root.inventory = 1;
if (_root.mute == 0) {
_root.csuszka.start();
}
_root.gotoAndPlay(11);
}
}
}
}
instance tárgyak of movieClip 261 {
onClipEvent (load) {
háttérzaj = new Sound();
háttérzaj.attachSound('háttérzaj');
háttérzaj.setVolume(15);
háttérzaj.start(0, 1000);
a = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && _root.lenyomva == 0) {
if (_root.mute == 0) {
_root.mute = 1;
_root.lenyomva = 1;
háttérzaj.stop('háttérzaj');
_root.csepp.stop('water-drops');
_root.rigo.stop('rigo');
_root.fire.stop('fire');
} else {
_root.mute = 0;
_root.lenyomva = 1;
háttérzaj.start(0, 1000);
_root.csepp_play = 1;
_root.rigo_play = 1;
_root.tűz_play = 1;
_root.megy = 0;
}
}
if (_root.lenyomva == 1) {
++a;
if (a > 15) {
_root.lenyomva = 0;
a = 0;
}
}
}
}
frame 24 {
stop();
}
frame 39 {
_root.gotoAndStop(11);
}
movieClip 263 {
}
frame 100 {
stop();
kongregate.stats.submit('GameCompleted', 1);
}
instance of movieClip 42 {
onClipEvent (press) {
getURL('http://lombicgames.com', '_blank');
}
}
instance of movieClip 42 {
onClipEvent (press) {
getURL('http://lombicgames.com', '_blank');
}
}