Frame 1
mochi.as2.MochiAd.showPreGameAd({id:"a121bd19f3cd279c", res:"600x600", background:8421497, color:16777215, outline:15129810, no_bg:true});
Frame 2
_focusrect = false;
soundmute = false;
var sound_loop1 = new Sound(this);
sound_loop1.attachSound("loop1");
var sound_loop2 = new Sound(this);
sound_loop2.attachSound("loop2");
var sound_ok = new Sound(this);
sound_ok.attachSound("ok2");
var sound_pop = new Sound(this);
sound_pop.attachSound("pop_final");
var sound_key = new Sound(this);
sound_key.attachSound("coin");
var sound_drop = new Sound(this);
sound_drop.attachSound("drop");
var sound_schuif = new Sound(this);
sound_schuif.attachSound("schuif");
var sound_pong1 = new Sound(this);
sound_pong1.attachSound("pong1");
var sound_pong3 = new Sound(this);
sound_pong3.attachSound("pong3");
var sound_laser = new Sound(this);
sound_laser.attachSound("laser");
var sound_glas = new Sound(this);
sound_glas.attachSound("glas");
Frame 3
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) ? (getVersion()) : (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);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("e1a9236d", this, 10301, true);
Frame 4
Mouse.show();
if (!soundmute) {
sound_loop1.stop();
sound_loop2.stop();
sound_loop1.start(0, 9999);
}
mekeyshared = SharedObject.getLocal("mekey");
initlevel = 1;
if (mekeyshared.data.lvl > 1) {
initlevel = mekeyshared.data.lvl;
}
stop();
Frame 5
if (!soundmute) {
sound_loop1.stop();
sound_loop2.stop();
sound_loop1.start(0, 9999);
}
stop();
Symbol 833 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {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 = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.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 _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {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 = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {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 = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.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 _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.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 _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 21 MovieClip Frame 21
stop();
Symbol 22 MovieClip Frame 20
stop();
Symbol 24 MovieClip Frame 150
_parent.gotoAndPlay("film");
stop();
Symbol 33 Button
on (press) {
fadeout.gotoAndPlay(2);
}
Symbol 34 Button
on (press) {
_parent.initlevel = 1;
fadeout.gotoAndPlay(2);
}
Symbol 35 Button
on (press) {
getURL ("http://www.bontegames.com", "_blank");
}
Symbol 59 MovieClip Frame 1
oogrnd = 75 + Math.floor(Math.random() * 75);
oogtel = 0;
Symbol 59 MovieClip Frame 2
oogtel++;
Symbol 59 MovieClip Frame 3
if (oogtel < oogrnd) {
gotoAndPlay (2);
}
Symbol 64 MovieClip Frame 21
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 22
_parent._parent.gotoAndPlay("game");
stop();
Symbol 66 MovieClip Frame 1
if (_parent.fromgame) {
gotoAndPlay ("film");
}
Symbol 66 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 3
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
ping.filters = [blur2];
var glow = (new flash.filters.GlowFilter(16777215, 0.6, 8, 8, 4, 4));
var glow2 = (new flash.filters.GlowFilter(16777215, 0.6, 8, 8, 2, 4));
mekeyveld.filters = [glow];
menutekst.filters = [glow];
abbgame.filters = [glow2];
if (_parent.initlevel == 1) {
contbut._visible = false;
menutekst.cont._visible = false;
}
stop();
Symbol 68 Button
on (press) {
_parent.fromgame = true;
_parent.gotoAndPlay("intro");
}
Symbol 69 Button
on (press) {
if (!_parent.soundmute) {
_parent.sound_loop1.stop();
_parent.sound_loop2.stop();
_parent.soundmute = true;
slasher._visible = true;
} else {
if (level == 26) {
_parent.sound_loop2.start(0, 9999);
} else {
_parent.sound_loop1.start(0, 9999);
}
_parent.soundmute = false;
slasher._visible = false;
}
}
Symbol 70 Button
on (press) {
getURL ("http://www.bontegames.com", "_blank");
}
Symbol 76 Button
on (press) {
_parent.doggsup[tel] = true;
if ((((((((!_parent.doggfound) && (_parent.doggsup[0])) && (_parent.doggsup[1])) && (_parent.doggsup[2])) && (_parent.doggsup[3])) && (_parent.doggsup[4])) && (_parent.doggsup[5])) && (_parent.doggsup[6])) {
_parent.doggfound = true;
ketting._visible = true;
}
gotoAndPlay (2);
}
Symbol 82 Button
on (press) {
_parent._parent.fadeout.gotoAndPlay(2);
_parent.stop();
gotoAndPlay (2);
}
Symbol 83 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 2, 2, 8, 4));
sleutel.filters = [glow];
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 85 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 4, 4, 8, 4));
sleutel.filters = [glow];
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
_parent._parent.sound_ok.start();
Symbol 86 MovieClip Frame 50
_parent.gotoAndPlay(_parent._currentframe + 1);
stop();
Symbol 89 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.dropit) {
if (_parent.sleuteldrop._y < 283) {
_parent.sleuteldrop._y = _parent.sleuteldrop._y + 15;
}
if (_parent.sleuteldrop._y > 283) {
_parent.sleuteldrop._y = 283;
}
if ((_parent.sleuteldrop._y == 283) && (!_parent.dropdone)) {
_parent._parent.sound_key.start();
_parent.dropdone = true;
}
}
};
Symbol 94 Button
on (press) {
_parent.fadeout.gotoAndPlay(2);
gotoAndPlay (3);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
stop();
Symbol 95 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 21
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
_parent._parent.sound_ok.start();
Symbol 97 MovieClip Frame 50
_parent.gotoAndPlay(_parent._currentframe + 1);
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
_parent.deursliding = true;
Symbol 105 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 105 MovieClip Frame 10
_parent.deursliding = true;
Symbol 105 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
_parent.deursliding = true;
Symbol 108 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 108 MovieClip Frame 10
_parent.deursliding = true;
Symbol 108 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
_parent.deursliding = true;
Symbol 111 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 111 MovieClip Frame 10
_parent.deursliding = true;
Symbol 111 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
_parent.deursliding = true;
Symbol 112 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 112 MovieClip Frame 10
_parent.deursliding = true;
Symbol 112 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
_parent.deursliding = true;
Symbol 113 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 113 MovieClip Frame 10
_parent.deursliding = true;
Symbol 113 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
_parent.deursliding = true;
Symbol 114 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 114 MovieClip Frame 10
_parent.deursliding = true;
Symbol 114 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 121 Button
on (press) {
if (!deursliding) {
if (opening == 2) {
_parent._parent.sound_schuif.start();
d1movie.gotoAndPlay("m12");
opening = 1;
} else if ((opening == 1) && (openingbinnen == 2)) {
_parent._parent.sound_schuif.start();
d1binnenmovie.gotoAndPlay("m12");
openingbinnen = 1;
}
}
}
Symbol 122 Button
on (press) {
if (!deursliding) {
if (opening == 1) {
_parent._parent.sound_schuif.start();
d1movie.gotoAndPlay("m21");
opening = 2;
} else if (opening == 3) {
_parent._parent.sound_schuif.start();
d2movie.gotoAndPlay("m23");
opening = 2;
} else if (opening == 2) {
if (openingbinnen == 1) {
_parent._parent.sound_schuif.start();
d1binnenmovie.gotoAndPlay("m21");
openingbinnen = 2;
} else if (openingbinnen == 3) {
_parent._parent.sound_schuif.start();
d2binnenmovie.gotoAndPlay("m23");
openingbinnen = 2;
}
}
}
}
Symbol 123 Button
on (press) {
if (!deursliding) {
if (opening == 2) {
_parent._parent.sound_schuif.start();
d2movie.gotoAndPlay("m32");
opening = 3;
} else if (opening == 4) {
_parent._parent.sound_schuif.start();
d3movie.gotoAndPlay("m34");
opening = 3;
} else if (opening == 3) {
if (openingbinnen == 2) {
_parent._parent.sound_schuif.start();
d2binnenmovie.gotoAndPlay("m32");
openingbinnen = 3;
} else if (openingbinnen == 4) {
_parent._parent.sound_schuif.start();
d3binnenmovie.gotoAndPlay("m34");
openingbinnen = 3;
}
}
}
}
Symbol 124 Button
on (press) {
if (!deursliding) {
if (opening == 3) {
_parent._parent.sound_schuif.start();
d3movie.gotoAndPlay("m43");
opening = 4;
} else if ((opening == 4) && (openingbinnen == 3)) {
_parent._parent.sound_schuif.start();
d3binnenmovie.gotoAndPlay("m43");
openingbinnen = 4;
}
}
}
Symbol 125 Button
on (press) {
if ((opening == 4) && (openingbinnen == 4)) {
if (!sleutelfound) {
sleutelfound = true;
sleutel._visible = false;
_parent.fadeout.gotoAndPlay(2);
}
} else if (!deursliding) {
if (opening == 3) {
_parent._parent.sound_schuif.start();
d3movie.gotoAndPlay("m43");
opening = 4;
} else if ((opening == 4) && (openingbinnen == 3)) {
_parent._parent.sound_schuif.start();
d3binnenmovie.gotoAndPlay("m43");
openingbinnen = 4;
}
}
}
Symbol 126 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
sleutelfound = false;
opening = 4;
openingbinnen = 1;
deursliding = false;
d1binnenmovie.gotoAndPlay("binneninit");
d2binnenmovie.gotoAndPlay("binneninit");
d3binnenmovie.gotoAndPlay("binneninit");
stop();
Symbol 127 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.balllaunched) {
_parent.moveBall();
} else {
_parent.ball._x = _parent.paddle._x;
}
};
onMouseDown = function () {
_parent.balllaunched = true;
};
Symbol 132 Button
on (press) {
if (!sleutelfound) {
sleutelfound = true;
fadeout.gotoAndPlay(2);
sleutel._visible = false;
}
}
Symbol 135 MovieClip Frame 1
onEnterFrame = function () {
if ((((((((((((((!_parent.alllite) && (_parent.lilite[0])) && (_parent.lilite[1])) && (_parent.lilite[2])) && (_parent.lilite[3])) && (_parent.lilite[4])) && (_parent.lilite[5])) && (_parent.lilite[6])) && (_parent.lilite[7])) && (_parent.lilite[8])) && (_parent.lilite[9])) && (_parent.lilite[10])) && (_parent.lilite[11])) && (_parent.lilite[12])) {
_parent.alllite = true;
teller = 0;
fader = false;
val = false;
}
if (_parent.alllite) {
teller++;
if (teller == 20) {
_parent._parent.sound_laser.start();
_parent.b1.lite.gotoAndPlay(2);
}
if ((teller > 50) && (_parent.b1._y < -270)) {
fader = true;
}
if (fader && (_parent.b1._alpha > 0)) {
_parent.b1._alpha = _parent.b1._alpha - 5;
}
if ((fader && (!val)) && (_parent.b1._alpha < 20)) {
val = true;
_parent.sleutel._x = _parent.b1._x + 120;
_parent.sleutel.gotoAndPlay(2);
}
}
};
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 20
stop();
Instance of Symbol 260 MovieClip "li13" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 313 MovieClip "li12" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 332 MovieClip "li11" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 349 MovieClip "li10" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 378 MovieClip "li9" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 451 MovieClip "li8" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 488 MovieClip "li7" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 529 MovieClip "li6" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 566 MovieClip "li5" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 621 MovieClip "li4" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 644 MovieClip "li3" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 693 MovieClip "li2" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Instance of Symbol 737 MovieClip "li1" in Symbol 738 MovieClip Frame 1
on (press) {
if (!_parent._parent.alllite) {
if (_parent._parent.lilite[tel]) {
_parent._parent.lilite[tel] = false;
myColor = new Color(this);
myColor.setRGB(6689075);
} else {
_parent._parent.lilite[tel] = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
}
}
Symbol 739 Button
on (press) {
_parent.fadeout.gotoAndPlay(2);
gotoAndPlay ("weg");
}
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 2
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 4, 4, 8, 4));
sleutel.filters = [glow];
Symbol 740 MovieClip Frame 20
_parent._parent.sound_key.start();
Symbol 740 MovieClip Frame 28
_parent._parent.sound_key.start();
stop();
Symbol 740 MovieClip Frame 29
stop();
Symbol 741 MovieClip Frame 1
onEnterFrame = function () {
if ((_parent.tvseqhittel < 7) && (_parent.tvteller == 0)) {
rnd1 = Math.floor(Math.random() * 100) + 30;
rnd2 = (rnd1 + Math.floor(Math.random() * 100)) + 30;
rndok = false;
do {
rndok = true;
rnbr = Math.floor(Math.random() * 7) + 1;
i = 0;
while (i < _parent.tvseqtel) {
if (_parent.tvseq[i] == rnbr) {
rndok = false;
}
i++;
}
if (rndok) {
_parent.tvseq[_parent.tvseqtel] = rnbr;
}
} while (!rndok);
}
_parent.tvteller++;
if (_parent.tvseqhittel < 7) {
if (_parent.tvteller == rnd1) {
if (_parent.tvseq[_parent.tvseqtel] == 1) {
_parent.tv1.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 2) {
_parent.tv2.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 3) {
_parent.tv3.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 4) {
_parent.tv4.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 5) {
_parent.tv5.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 6) {
_parent.tv6.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 7) {
_parent.tv7.gotoAndPlay("ping");
}
} else if (_parent.tvteller == rnd2) {
_parent.tvteller = 0;
}
}
if ((_parent.tvseqhittel < 7) && (_parent.tvpressed != 0)) {
if (_parent.tvpressed == 1) {
_parent.tv1.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 2) {
_parent.tv2.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 3) {
_parent.tv3.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 4) {
_parent.tv4.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 5) {
_parent.tv5.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 6) {
_parent.tv6.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 7) {
_parent.tv7.gotoAndPlay("pingstop");
}
_parent.tvseqtel++;
_parent.tvseqhittel++;
_parent.tvteller = 0;
if (_parent.tvseqhittel == 7) {
if (_parent.tvpressed == 1) {
_parent.tv1.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 2) {
_parent.tv2.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 3) {
_parent.tv3.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 4) {
_parent.tv4.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 5) {
_parent.tv5.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 6) {
_parent.tv6.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 7) {
_parent.tv7.gotoAndPlay("pingkey");
}
}
_parent.tvpressed = 0;
}
};
Symbol 758 Button
on (press) {
_parent.tvpressed = tel;
}
Symbol 759 MovieClip Frame 1
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
ruis.filters = [blur2];
stop();
Symbol 759 MovieClip Frame 20
gotoAndPlay ("ruis");
Symbol 759 MovieClip Frame 21
stop();
Symbol 759 MovieClip Frame 22
stop();
Symbol 759 MovieClip Frame 23
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
ruis.filters = [blur2];
Symbol 760 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.dragging) {
_parent.koord2._y = (_parent.origykoord2 - _parent.koord._y) + _parent.origykoord;
_parent.vy = 0;
} else if (_parent.koord._y > _parent.origykoord) {
_parent.vy = _parent.vy * 0.98;
_parent.vy = _parent.vy + 0.7;
if ((_parent.koord._y + _parent.vy) > _parent.origykoord) {
_parent.koord._y = _parent.koord._y - _parent.vy;
_parent.koord2._y = _parent.koord2._y + _parent.vy;
} else {
parent.koord._y = _parent.origykoord;
parent.koord2._y = _parent.origykoord2;
}
} else {
parent.koord._y = _parent.origykoord;
parent.koord2._y = _parent.origykoord2;
}
};
Symbol 769 Button
on (press) {
_parent.fadeout.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 770 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 8, 8, 4, 4));
sleutel.filters = [glow];
stop();
Symbol 770 MovieClip Frame 2
stop();
Symbol 771 MovieClip Frame 1
onEnterFrame = function () {
var _local2 = new Object();
_local2.onKeyDown = function () {
if ((Key.getAscii() == 107) || (Key.getAscii() == 75)) {
_parent.pass = 1;
} else if (((Key.getAscii() == 101) || (Key.getAscii() == 69)) && ((_parent.pass == 1) || (_parent.pass == 2))) {
_parent.pass = 2;
} else if (((Key.getAscii() == 121) || (Key.getAscii() == 89)) && (_parent.pass == 2)) {
_parent.fadeout.gotoAndPlay(2);
} else {
_parent.pass = 0;
}
};
Key.addListener(_local2);
};
Instance of Symbol 60 MovieClip in Symbol 776 MovieClip Frame 1
on (press) {
_parent._parent.dragging = true;
}
on (release) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
on (releaseOutside) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
Instance of Symbol 60 MovieClip in Symbol 776 MovieClip Frame 1
on (press) {
_parent._parent.dragging = true;
}
on (release) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
on (releaseOutside) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
Instance of Symbol 60 MovieClip in Symbol 776 MovieClip Frame 1
on (press) {
_parent._parent.dragging = true;
}
on (release) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
on (releaseOutside) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
Instance of Symbol 60 MovieClip in Symbol 776 MovieClip Frame 1
on (press) {
_parent._parent.dragging = true;
}
on (release) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
on (releaseOutside) {
_parent._parent.dragging = false;
_parent._parent.dragx = 99999 /* 0x01869F */;
}
Symbol 777 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.balllaunched) {
_parent.moveBall();
} else {
_parent.ball._x = _parent.paddle._x;
}
};
onMouseDown = function () {
_parent.balllaunched = true;
};
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 2
stop();
Symbol 784 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 2, 2, 8, 4));
sleutel.filters = [glow];
stop();
Symbol 784 MovieClip Frame 2
stop();
Symbol 787 Button
on (press) {
_parent.fadeout.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 788 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
stop();
Symbol 788 MovieClip Frame 2
stop();
Symbol 797 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.dragging) {
_parent.koord2._y = (_parent.origykoord2 - _parent.koord._y) + _parent.origykoord;
_parent.vy = 0;
} else if (_parent.koord._y > _parent.origykoord) {
_parent.vy = _parent.vy * 0.98;
_parent.vy = _parent.vy + 0.7;
if ((_parent.koord._y + _parent.vy) > _parent.origykoord) {
_parent.koord._y = _parent.koord._y - _parent.vy;
_parent.koord2._y = _parent.koord2._y + _parent.vy;
} else {
if ((!_parent.bolgone) && (_parent.boltop)) {
_parent._parent.sound_glas.start();
_parent.bolgone = true;
_parent.koord2.gotoAndPlay(2);
}
parent.koord._y = _parent.origykoord;
parent.koord2._y = _parent.origykoord2;
}
} else {
if ((!_parent.bolgone) && (_parent.boltop)) {
_parent._parent.sound_glas.start();
_parent.bolgone = true;
_parent.koord2.gotoAndPlay(2);
}
parent.koord._y = _parent.origykoord;
parent.koord2._y = _parent.origykoord2;
}
};
Symbol 800 Button
on (press) {
_parent.fadeout.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 801 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 2
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 8, 8, 4, 4));
sleutel.filters = [glow];
stop();
Symbol 801 MovieClip Frame 3
stop();
Symbol 804 MovieClip Frame 1
onEnterFrame = function () {
if ((_parent.tvseqhittel < 7) && (_parent.tvteller == 0)) {
rnd1 = Math.floor(Math.random() * 100) + 30;
rnd2 = (rnd1 + Math.floor(Math.random() * 100)) + 30;
rndok = false;
do {
rndok = true;
rnbr = Math.floor(Math.random() * 7) + 1;
i = 0;
while (i < _parent.tvseqtel) {
if (_parent.tvseq[i] == rnbr) {
rndok = false;
}
i++;
}
if (rndok) {
_parent.tvseq[_parent.tvseqtel] = rnbr;
}
} while (!rndok);
}
_parent.tvteller++;
if (_parent.tvseqhittel < 7) {
if (_parent.tvteller == rnd1) {
if (_parent.tvseq[_parent.tvseqtel] == 1) {
_parent.tv1.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 2) {
_parent.tv2.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 3) {
_parent.tv3.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 4) {
_parent.tv4.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 5) {
_parent.tv5.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 6) {
_parent.tv6.gotoAndPlay("ping");
} else if (_parent.tvseq[_parent.tvseqtel] == 7) {
_parent.tv7.gotoAndPlay("ping");
}
} else if (_parent.tvteller == rnd2) {
_parent.tvteller = 0;
_parent.tv1.gotoAndPlay("terug");
_parent.tv2.gotoAndPlay("terug");
_parent.tv3.gotoAndPlay("terug");
_parent.tv4.gotoAndPlay("terug");
_parent.tv5.gotoAndPlay("terug");
_parent.tv6.gotoAndPlay("terug");
_parent.tv7.gotoAndPlay("terug");
_parent.tvpressed = 0;
_parent.tvseq = [];
_parent.tvseqtel = 0;
_parent.tvseqhittel = 0;
}
}
if ((_parent.tvseqhittel < 7) && (_parent.tvpressed != 0)) {
if (_parent.tvpressed == 1) {
_parent.tv1.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 2) {
_parent.tv2.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 3) {
_parent.tv3.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 4) {
_parent.tv4.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 5) {
_parent.tv5.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 6) {
_parent.tv6.gotoAndPlay("pingstop");
} else if (_parent.tvpressed == 7) {
_parent.tv7.gotoAndPlay("pingstop");
}
_parent.tvseqtel++;
_parent.tvseqhittel++;
_parent.tvteller = 0;
if (_parent.tvseqhittel == 7) {
if (_parent.tvpressed == 1) {
_parent.tv1.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 2) {
_parent.tv2.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 3) {
_parent.tv3.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 4) {
_parent.tv4.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 5) {
_parent.tv5.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 6) {
_parent.tv6.gotoAndPlay("pingkey");
} else if (_parent.tvpressed == 7) {
_parent.tv7.gotoAndPlay("pingkey");
}
}
_parent.tvpressed = 0;
}
};
Symbol 806 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 2
_parent.deursliding = true;
Symbol 806 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 806 MovieClip Frame 10
_parent.deursliding = true;
Symbol 806 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 807 MovieClip Frame 1
stop();
Symbol 807 MovieClip Frame 2
_parent.deursliding = true;
Symbol 807 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 807 MovieClip Frame 10
_parent.deursliding = true;
Symbol 807 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 808 MovieClip Frame 1
stop();
Symbol 808 MovieClip Frame 2
_parent.deursliding = true;
Symbol 808 MovieClip Frame 9
_parent.deursliding = false;
stop();
Symbol 808 MovieClip Frame 10
_parent.deursliding = true;
Symbol 808 MovieClip Frame 17
_parent.deursliding = false;
stop();
Symbol 809 Button
on (press) {
if (!deursliding) {
if (opening == 2) {
_parent._parent.sound_schuif.start();
d1movie.gotoAndPlay("m12");
opening = 1;
} else if ((opening == 1) && (openingbinnen == 2)) {
_parent._parent.sound_schuif.start();
d1binnenmovie.gotoAndPlay("m12");
openingbinnen = 1;
} else if (((opening == 1) && (openingbinnen == 1)) && (openingbinnen2 == 2)) {
_parent._parent.sound_schuif.start();
d1binnenmovie2.gotoAndPlay("m12");
openingbinnen2 = 1;
}
}
}
Symbol 810 Button
on (press) {
if (!deursliding) {
if (opening == 1) {
_parent._parent.sound_schuif.start();
d1movie.gotoAndPlay("m21");
opening = 2;
} else if (opening == 3) {
_parent._parent.sound_schuif.start();
d2movie.gotoAndPlay("m23");
opening = 2;
} else if (opening == 2) {
if (openingbinnen == 1) {
_parent._parent.sound_schuif.start();
d1binnenmovie.gotoAndPlay("m21");
openingbinnen = 2;
} else if (openingbinnen == 3) {
_parent._parent.sound_schuif.start();
d2binnenmovie.gotoAndPlay("m23");
openingbinnen = 2;
} else if (openingbinnen == 2) {
if (openingbinnen2 == 1) {
_parent._parent.sound_schuif.start();
d1binnenmovie2.gotoAndPlay("m21");
openingbinnen2 = 2;
} else if (openingbinnen2 == 3) {
_parent._parent.sound_schuif.start();
d2binnenmovie2.gotoAndPlay("m23");
openingbinnen2 = 2;
}
}
}
}
}
Symbol 811 Button
on (press) {
if (!deursliding) {
if (opening == 2) {
_parent._parent.sound_schuif.start();
d2movie.gotoAndPlay("m32");
opening = 3;
} else if (opening == 4) {
_parent._parent.sound_schuif.start();
d3movie.gotoAndPlay("m34");
opening = 3;
} else if (opening == 3) {
if (openingbinnen == 2) {
_parent._parent.sound_schuif.start();
d2binnenmovie.gotoAndPlay("m32");
openingbinnen = 3;
} else if (openingbinnen == 4) {
_parent._parent.sound_schuif.start();
d3binnenmovie.gotoAndPlay("m34");
openingbinnen = 3;
} else if (openingbinnen == 3) {
if (openingbinnen2 == 2) {
_parent._parent.sound_schuif.start();
d2binnenmovie2.gotoAndPlay("m32");
openingbinnen2 = 3;
} else if (openingbinnen2 == 4) {
_parent._parent.sound_schuif.start();
d3binnenmovie2.gotoAndPlay("m34");
openingbinnen2 = 3;
}
}
}
}
}
Symbol 812 Button
on (press) {
if (!deursliding) {
if (opening == 3) {
_parent._parent.sound_schuif.start();
d3movie.gotoAndPlay("m43");
opening = 4;
} else if ((opening == 4) && (openingbinnen == 3)) {
_parent._parent.sound_schuif.start();
d3binnenmovie.gotoAndPlay("m43");
openingbinnen = 4;
} else if (((opening == 4) && (openingbinnen == 4)) && (openingbinnen2 == 3)) {
_parent._parent.sound_schuif.start();
d3binnenmovie2.gotoAndPlay("m43");
openingbinnen2 = 4;
}
}
}
Symbol 813 Button
on (press) {
if (((opening == 1) && (openingbinnen == 1)) && (openingbinnen2 == 1)) {
if (!sleutelfound) {
sleutelfound = true;
sleutel._visible = false;
_parent.fadeout.gotoAndPlay(2);
}
} else if (!deursliding) {
if (opening == 2) {
_parent._parent.sound_schuif.start();
d1movie.gotoAndPlay("m12");
opening = 1;
} else if ((opening == 1) && (openingbinnen == 2)) {
_parent._parent.sound_schuif.start();
d1binnenmovie.gotoAndPlay("m12");
openingbinnen = 1;
} else if (((opening == 1) && (openingbinnen == 1)) && (openingbinnen2 == 2)) {
_parent._parent.sound_schuif.start();
d1binnenmovie2.gotoAndPlay("m12");
openingbinnen2 = 1;
}
}
}
Symbol 814 MovieClip Frame 1
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
sleutelfound = false;
deursliding = false;
opening = 4;
openingbinnen = 1;
openingbinnen2 = 4;
d1binnenmovie.gotoAndPlay("binneninit");
d2binnenmovie.gotoAndPlay("binneninit");
d3binnenmovie.gotoAndPlay("binneninit");
stop();
Symbol 817 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.balllaunched) {
_parent.moveBall();
} else {
_parent.ball._x = _parent.paddle._x;
}
};
onMouseDown = function () {
_parent.balllaunched = true;
Mouse.hide();
};
Symbol 822 MovieClip Frame 1
eerstemaal = true;
Symbol 822 MovieClip Frame 80
if (eerstemaal) {
endend._visible = false;
} else {
endend._visible = true;
}
Symbol 822 MovieClip Frame 100
eerstemaal = false;
endend._visible = true;
Symbol 822 MovieClip Frame 1000
gotoAndPlay ("opnieuw");
Symbol 829 Button
on (press) {
getURL ("http://www.bontegames.com", "_blank");
}
Symbol 830 Button
on (press) {
getURL ("http://www.facebook.com/profile.php?id=1053445964", "_blank");
}
Symbol 831 MovieClip Frame 420
stop();
Symbol 832 MovieClip Frame 1
if (_parent.soundmute) {
slasher._visible = true;
} else {
slasher._visible = false;
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
level = _parent.initlevel;
gotoAndPlay(level + 1);
stop();
Symbol 832 MovieClip Frame 2
level = 1;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
pingup = false;
ping0.ketting._visible = true;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
ping0.filters = [blur2];
stop();
Symbol 832 MovieClip Frame 3
function moveBall2() {
this.vx = this.vx * dampK;
this.vy = this.vy * dampK;
this.vy = this.vy + gravK;
var _local9 = 0;
var _local8 = 0;
var _local2 = mcs.length - 1;
while (_local2 >= 0) {
if ((mcs[_local2] != this) && (this.hitTest(mcs[_local2]))) {
var _local4 = (this._x + this.vx) - mcs[_local2]._x;
var _local3 = (this._y + this.vy) - mcs[_local2]._y;
var _local6 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
var _local7 = (this.ballRadius + mcs[_local2].ballRadius) - _local6;
if (_local7 > 0) {
var _local5 = (_local7 * dampCollision) / _local6;
_local9 = _local9 + (_local4 * _local5);
_local8 = _local8 + (_local3 * _local5);
}
}
_local2--;
}
this.vx = this.vx + _local9;
this.vy = this.vy + _local8;
if ((((this._y + this.ballRadius) + this.vy) >= 232) || (((this._y - this.ballRadius) + this.vy) < -6000)) {
this.vy = this.vy * (-dampCollision);
}
if ((((this._x - this.ballRadius) + this.vx) <= -210) || (((this._x + this.ballRadius) + this.vx) >= 91)) {
this.vx = this.vx * (-dampCollision);
}
this._x = this._x + this.vx;
this._y = this._y + this.vy;
}
function dropBall() {
var _local3 = mcs.length - 1;
while (_local3 >= 0) {
if (this == mcs[_local3]) {
nbrballekes--;
_parent.sound_pop.start();
if (nbrballekes == 0) {
sleuteldrop._x = this._x + 60;
sleuteldrop._y = this._y + 60;
sleuteldrop.gotoAndPlay(2);
dropit = true;
}
mcs[_local3]._x = 2000;
}
_local3--;
}
}
level = 2;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
dropit = false;
dropdone = false;
nbrballekes = 24;
dampK = 0.98;
gravK = 0.7;
dampCollision = 0.5;
bb1.vx = 0;
bb1.vy = 0;
bb1.ballRadius = bb1._width / 2;
bb2.vx = 0;
bb2.vy = 0;
bb2.ballRadius = bb2._width / 2;
bb3.vx = 0;
bb3.vy = 0;
bb3.ballRadius = bb3._width / 2;
bb4.vx = 0;
bb4.vy = 0;
bb4.ballRadius = bb4._width / 2;
bb5.vx = 0;
bb5.vy = 0;
bb5.ballRadius = bb5._width / 2;
bb6.vx = 0;
bb6.vy = 0;
bb6.ballRadius = bb6._width / 2;
bb7.vx = 0;
bb7.vy = 0;
bb7.ballRadius = bb7._width / 2;
bb8.vx = 0;
bb8.vy = 0;
bb8.ballRadius = bb8._width / 2;
bb9.vx = 0;
bb9.vy = 0;
bb9.ballRadius = bb9._width / 2;
bb10.vx = 0;
bb10.vy = 0;
bb10.ballRadius = bb10._width / 2;
bb11.vx = 0;
bb11.vy = 0;
bb11.ballRadius = bb11._width / 2;
bb12.vx = 0;
bb12.vy = 0;
bb12.ballRadius = bb12._width / 2;
bb13.vx = 0;
bb13.vy = 0;
bb13.ballRadius = bb13._width / 2;
bb14.vx = 0;
bb14.vy = 0;
bb14.ballRadius = bb14._width / 2;
bb15.vx = 0;
bb15.vy = 0;
bb15.ballRadius = bb15._width / 2;
bb16.vx = 0;
bb16.vy = 0;
bb16.ballRadius = bb16._width / 2;
bb17.vx = 0;
bb17.vy = 0;
bb17.ballRadius = bb17._width / 2;
bb18.vx = 0;
bb18.vy = 0;
bb18.ballRadius = bb18._width / 2;
bb19.vx = 0;
bb19.vy = 0;
bb19.ballRadius = bb19._width / 2;
bb20.vx = 0;
bb20.vy = 0;
bb20.ballRadius = bb20._width / 2;
bb21.vx = 0;
bb21.vy = 0;
bb21.ballRadius = bb21._width / 2;
bb22.vx = 0;
bb22.vy = 0;
bb22.ballRadius = bb22._width / 2;
bb23.vx = 0;
bb23.vy = 0;
bb23.ballRadius = bb23._width / 2;
bb24.vx = 0;
bb24.vy = 0;
bb24.ballRadius = bb24._width / 2;
bb1.onEnterFrame = moveBall2;
bb1.onPress = dropBall;
bb2.onEnterFrame = moveBall2;
bb2.onPress = dropBall;
bb3.onEnterFrame = moveBall2;
bb3.onPress = dropBall;
bb4.onEnterFrame = moveBall2;
bb4.onPress = dropBall;
bb5.onEnterFrame = moveBall2;
bb5.onPress = dropBall;
bb6.onEnterFrame = moveBall2;
bb6.onPress = dropBall;
bb7.onEnterFrame = moveBall2;
bb7.onPress = dropBall;
bb8.onEnterFrame = moveBall2;
bb8.onPress = dropBall;
bb9.onEnterFrame = moveBall2;
bb9.onPress = dropBall;
bb10.onEnterFrame = moveBall2;
bb10.onPress = dropBall;
bb11.onEnterFrame = moveBall2;
bb11.onPress = dropBall;
bb12.onEnterFrame = moveBall2;
bb12.onPress = dropBall;
bb13.onEnterFrame = moveBall2;
bb13.onPress = dropBall;
bb14.onEnterFrame = moveBall2;
bb14.onPress = dropBall;
bb15.onEnterFrame = moveBall2;
bb15.onPress = dropBall;
bb16.onEnterFrame = moveBall2;
bb16.onPress = dropBall;
bb17.onEnterFrame = moveBall2;
bb17.onPress = dropBall;
bb18.onEnterFrame = moveBall2;
bb18.onPress = dropBall;
bb19.onEnterFrame = moveBall2;
bb19.onPress = dropBall;
bb20.onEnterFrame = moveBall2;
bb20.onPress = dropBall;
bb21.onEnterFrame = moveBall2;
bb21.onPress = dropBall;
bb22.onEnterFrame = moveBall2;
bb22.onPress = dropBall;
bb23.onEnterFrame = moveBall2;
bb23.onPress = dropBall;
bb24.onEnterFrame = moveBall2;
bb24.onPress = dropBall;
var blur2 = (new flash.filters.BlurFilter(4, 4, 1));
bb1.filters = [blur2];
bb2.filters = [blur2];
bb3.filters = [blur2];
bb4.filters = [blur2];
bb5.filters = [blur2];
bb6.filters = [blur2];
bb7.filters = [blur2];
bb8.filters = [blur2];
bb9.filters = [blur2];
bb10.filters = [blur2];
bb11.filters = [blur2];
bb12.filters = [blur2];
bb13.filters = [blur2];
bb14.filters = [blur2];
bb15.filters = [blur2];
bb16.filters = [blur2];
bb17.filters = [blur2];
bb18.filters = [blur2];
bb19.filters = [blur2];
bb20.filters = [blur2];
bb21.filters = [blur2];
bb22.filters = [blur2];
bb23.filters = [blur2];
bb24.filters = [blur2];
mcs = [];
mcs.push(bb1);
mcs.push(bb2);
mcs.push(bb3);
mcs.push(bb4);
mcs.push(bb5);
mcs.push(bb6);
mcs.push(bb7);
mcs.push(bb8);
mcs.push(bb9);
mcs.push(bb10);
mcs.push(bb11);
mcs.push(bb12);
mcs.push(bb13);
mcs.push(bb14);
mcs.push(bb15);
mcs.push(bb16);
mcs.push(bb17);
mcs.push(bb18);
mcs.push(bb19);
mcs.push(bb20);
mcs.push(bb21);
mcs.push(bb22);
mcs.push(bb23);
mcs.push(bb24);
stop();
Symbol 832 MovieClip Frame 4
level = 3;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
doggsup = new Array(false, false, false, false, false, false, false);
doggfound = false;
dogg0.ketting._visible = false;
dogg0.tel = 0;
dogg1.ketting._visible = false;
dogg1.tel = 1;
dogg2.ketting._visible = false;
dogg2.tel = 2;
dogg3.ketting._visible = false;
dogg3.tel = 3;
dogg4.ketting._visible = false;
dogg4.tel = 4;
dogg5.ketting._visible = false;
dogg5.tel = 5;
dogg6.ketting._visible = false;
dogg6.tel = 6;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
dogg0.filters = [blur2];
dogg1.filters = [blur2];
dogg2.filters = [blur2];
dogg3.filters = [blur2];
dogg4.filters = [blur2];
dogg5.filters = [blur2];
dogg6.filters = [blur2];
stop();
Symbol 832 MovieClip Frame 5
function redrawFern() {
bendAngle = (initBendAngle * Math.PI) / 180;
branchAngle = (initBranchAngle * Math.PI) / 180;
lastMaxLevels = maxLevels;
antiTrunkRatio = 1 - trunkRatio;
startAngle = -1.5707963267949;
i = 0;
while (i <= maxLevels) {
colors[i] = Math.floor(255 * (1 - (i / (maxLevels + 1)))) << 8;
i++;
}
fff.clear();
fff.moveTo(0, 300);
fff.drawFern(0, 300, startAngle, 450 * heightScale, maxLevels);
}
function startGrow() {
growit = true;
}
function stopGrow() {
growit = false;
}
function growFern() {
if (growit) {
tel++;
if (tel < 200) {
branchRatio = 0.1 + ((tel / 200) * final_branchRatio);
heightScale = 0.1 + ((tel / 200) * final_heightScale);
redrawFern();
} else if (tel == 200) {
_parent.sound_pop.start();
bal1._y = bal1._y + 400;
bal2._y = bal2._y + 280;
bal3._y = bal3._y + 340;
bal4._y = bal4._y + 430;
}
}
}
function dropper() {
if ((!this.dropped) && (this.dropping)) {
this.vy = this.vy * dampK;
this.vy = this.vy + gravK;
if ((this._y + this.vy) >= 254) {
this.bounces++;
_parent.sound_drop.start();
this.vy = this.vy * (-dampCollision);
}
this._y = this._y + this.vy;
if (this.bounces == 5) {
this.vy = 0;
this.bounces = 0;
this._y = 254;
this.dropping = false;
this.dropped = true;
this.ripe = true;
}
}
if (this.plucking) {
if (((bal1.ripe && (bal2.ripe)) && (bal3.ripe)) && (bal4.ripe)) {
_parent.sound_pop.start();
this._y = -1000;
this.plucking = false;
this.plucked = true;
if (((bal1.plucked && (bal2.plucked)) && (bal3.plucked)) && (bal4.plucked)) {
_parent.sound_key.start();
sleutel._x = this._x + 20;
sleutel._y = 285;
}
} else {
this.plucking = false;
}
}
}
level = 4;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
maxLevels = 6;
initBendAngle = 0;
initBranchAngle = 30;
trunkRatio = 0.1;
branchRatio = 0.001;
heightScale = 0.1;
final_branchRatio = 0.549;
final_heightScale = 2.3;
colors = [];
MovieClip.prototype.drawFern = function (x, y, a, rad, level) {
var _local2 = x + ((Math.cos(a) * rad) * trunkRatio);
var _local1 = y + ((Math.sin(a) * rad) * trunkRatio);
fff.lineStyle(level, colors[level], 100);
fff.lineTo(_local2, _local1);
if (level > 0) {
a = a + bendAngle;
level--;
fff.drawFern(_local2, _local1, a - branchAngle, rad * branchRatio, level);
fff.moveTo(_local2, _local1);
fff.drawFern(_local2, _local1, a + branchAngle, rad * branchRatio, level);
fff.moveTo(_local2, _local1);
fff.drawFern(_local2, _local1, a, rad * antiTrunkRatio, level);
}
};
tel = 0;
growit = false;
fff.onEnterFrame = growFern;
fff.onMouseDown = startGrow;
fff.onMouseUp = stopGrow;
dampK = 0.98;
gravK = 0.7;
dampCollision = 0.5;
bal1.vy = 0;
bal1.bounces = 0;
bal1.dropping = false;
bal1.dropped = false;
bal1.plucking = false;
bal1.plukked = false;
bal1.ripe = false;
bal1.onEnterFrame = dropper;
bal2.vy = 0;
bal2.bounces = 0;
bal2.dropping = false;
bal2.dropped = false;
bal2.plucking = false;
bal2.plukked = false;
bal2.ripe = false;
bal2.onEnterFrame = dropper;
bal3.vy = 0;
bal3.bounces = 0;
bal3.dropping = false;
bal3.dropped = false;
bal3.plucking = false;
bal3.plukked = false;
bal3.ripe = false;
bal3.onEnterFrame = dropper;
bal4.vy = 0;
bal4.bounces = 0;
bal4.dropping = false;
bal4.dropped = false;
bal4.plucking = false;
bal4.plukked = false;
bal4.ripe = false;
bal4.onEnterFrame = dropper;
redrawFern();
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
stop();
Instance of Symbol 93 MovieClip "bal1" in Symbol 832 MovieClip Frame 5
on (press) {
if ((!this.dropping) && (!this.dropped)) {
this.dropping = true;
}
if ((this.dropped && (!this.plucking)) && (!this.plucked)) {
this.plucking = true;
}
}
Instance of Symbol 93 MovieClip "bal2" in Symbol 832 MovieClip Frame 5
on (press) {
if ((!this.dropping) && (!this.dropped)) {
this.dropping = true;
}
if ((this.dropped && (!this.plucking)) && (!this.plucked)) {
this.plucking = true;
}
}
Instance of Symbol 93 MovieClip "bal3" in Symbol 832 MovieClip Frame 5
on (press) {
if ((!this.dropping) && (!this.dropped)) {
this.dropping = true;
}
if ((this.dropped && (!this.plucking)) && (!this.plucked)) {
this.plucking = true;
}
}
Instance of Symbol 93 MovieClip "bal4" in Symbol 832 MovieClip Frame 5
on (press) {
if ((!this.dropping) && (!this.dropped)) {
this.dropping = true;
}
if ((this.dropped && (!this.plucking)) && (!this.plucked)) {
this.plucking = true;
}
}
Instance of Symbol 99 MovieClip "sleutel" in Symbol 832 MovieClip Frame 5
on (press) {
this._y = -1000;
_parent.fadeout.gotoAndPlay(2);
}
Symbol 832 MovieClip Frame 6
level = 5;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
stop();
Symbol 832 MovieClip Frame 7
function moveBall() {
ball._x = ball._x + ball.deltaX;
ball._y = ball._y + ball.deltaY;
if (ball.hitTest(sleutel)) {
fadeout.gotoAndPlay(2);
sleutel._visible = false;
}
if (ball._y < -280) {
ball.deltaY = ball.deltaY * -1;
}
i = 0;
while (i < 24) {
if (ball.hitTest(tiles[i])) {
_parent.sound_pong3.start();
increaseSpeed();
tiles[i]._x = tiles[i]._x + -1000;
ball.deltaY = ball.deltaY * -1;
break;
}
i++;
}
if (ball.hitTest(paddle) && (ball.deltaY > 0)) {
_parent.sound_pong1.start();
ball.deltaX = (ball._x - paddle._x) / 4;
ball.deltaY = ball.deltaY * -1;
ball._y = Math.min(ball._y, paddle._y + 10);
}
if ((ball._x < -145) || (ball._x > 145)) {
ball.deltaX = ball.deltaX * -1;
}
if (ball._y > 320) {
balllaunched = false;
ball._y = paddle._y - 15;
ball.deltaX = 5;
ball.deltaY = -10;
ball.hitNum = 0;
i = 0;
while (i < 24) {
if (tiles[i]._x < -500) {
tiles[i]._x = tiles[i]._x + 1000;
}
i++;
}
}
}
function increaseSpeed() {
ball.hitNum++;
if (ball.hitNum > 3) {
ball.hitNum = 0;
if (ball.deltaY > 0) {
ball.deltaY = ball.deltaY + 0.5;
} else {
ball.deltaY = ball.deltaY - 0.5;
}
}
}
level = 6;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
balllaunched = false;
ball.deltaX = 5;
ball.deltaY = -10;
ball.hitNum = 0;
var tiles = [tile1, tile2, tile3, tile4, tile5, tile6, tile7, tile8, tile9, tile10, tile11, tile12, tile13, tile14, tile15, tile16, tile17, tile18, tile19, tile20, tile21, tile22, tile23, tile24];
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
stop();
Instance of Symbol 129 MovieClip "paddle" in Symbol 832 MovieClip Frame 7
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
if (this._x < -125) {
this._x = -125;
} else if (this._x > 125) {
this._x = 125;
}
}
Symbol 832 MovieClip Frame 8
function dropper() {
if ((!this.dragging) && (this.dropping)) {
this.vy = this.vy * dampK;
this.vy = this.vy + gravK;
if ((this._y + this.vy) >= 20) {
this.bounces++;
this.vy = this.vy * (-dampCollision);
}
this._y = this._y + this.vy;
if (this.bounces == 5) {
this.vy = 0;
this.bounces = 0;
this._y = 20.3;
this.dropping = false;
}
}
}
level = 7;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
sleutelfound = false;
dampK = 0.98;
gravK = 0.7;
dampCollision = 0.5;
ping0.vy = 0;
ping0.bounces = 0;
ping0.onEnterFrame = dropper;
ping1.vy = 0;
ping1.bounces = 0;
ping1.onEnterFrame = dropper;
ping2.vy = 0;
ping2.bounces = 0;
ping2.onEnterFrame = dropper;
ping3.vy = 0;
ping3.bounces = 0;
ping3.onEnterFrame = dropper;
ping4.vy = 0;
ping4.bounces = 0;
ping4.onEnterFrame = dropper;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
stop();
Instance of Symbol 60 MovieClip "ping1" in Symbol 832 MovieClip Frame 8
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, -290, -150, 200, 21);
}
on (release) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Instance of Symbol 60 MovieClip "ping4" in Symbol 832 MovieClip Frame 8
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, -290, -150, 200, 21);
}
on (release) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Instance of Symbol 60 MovieClip "ping2" in Symbol 832 MovieClip Frame 8
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, -290, -150, 200, 21);
}
on (release) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Instance of Symbol 60 MovieClip "ping3" in Symbol 832 MovieClip Frame 8
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, -290, -150, 200, 21);
}
on (release) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Instance of Symbol 60 MovieClip "ping0" in Symbol 832 MovieClip Frame 8
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, -290, -150, 200, 21);
}
on (release) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Symbol 832 MovieClip Frame 9
level = 8;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
lilite = new Array(false, false, false, false, false, false, false, false, false, false, false, false, false);
alllite = false;
b1.li1.tel = 0;
b1.li2.tel = 1;
b1.li3.tel = 2;
b1.li4.tel = 3;
b1.li5.tel = 4;
b1.li6.tel = 5;
b1.li7.tel = 6;
b1.li8.tel = 7;
b1.li9.tel = 8;
b1.li10.tel = 9;
b1.li11.tel = 10;
b1.li12.tel = 11;
b1.li13.tel = 12;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(8, 8, 1));
b1.filters = [blur2];
b1.vx = 1;
b1.vy = 2;
gravK = 0.8;
dampK = 1;
dampCollision = 1;
ballRadius = 300;
SH = 600;
SW = 640;
b1.onEnterFrame = function () {
this.vy = this.vy + gravK;
if (((this._y + ballRadius) + this.vy) >= 340) {
this.vy = this.vy * (-dampCollision);
}
if (((this._y - ballRadius) + this.vy) < -595) {
this.vy = 0;
}
if ((((this._x - ballRadius) + this.vx) <= -455) || (((this._x + ballRadius) + this.vx) >= 180)) {
this.vx = this.vx * (-dampCollision);
}
this._x = this._x + this.vx;
this._y = this._y + this.vy;
};
b1.lirest._visible = false;
stop();
Symbol 832 MovieClip Frame 10
level = 9;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
tv1.tel = 1;
tv2.tel = 2;
tv3.tel = 3;
tv4.tel = 4;
tv5.tel = 5;
tv6.tel = 6;
tv7.tel = 7;
tvpressed = 0;
tvteller = 0;
tvseq = [];
tvseqtel = 0;
tvseqhittel = 0;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
stop();
Symbol 832 MovieClip Frame 11
level = 10;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
dragging = false;
origykoord = koord._y;
origykoord2 = koord2._y;
vy = 0;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
koord.filters = [blur2];
koord2.filters = [blur2];
stop();
Instance of Symbol 768 MovieClip "koord" in Symbol 832 MovieClip Frame 11
on (press) {
_parent.dragging = true;
schuif = 300 - _parent._ymouse;
if ((this._y + schuif) < 950) {
this.startDrag(false, this._x, this._y, this._x, this._y + schuif);
} else {
this.startDrag(false, this._x, this._y, this._x, 950);
}
}
on (release) {
_parent.vy = 0;
_parent.dragging = false;
this.stopDrag();
}
on (releaseOutside) {
_parent.vy = 0;
_parent.dragging = false;
this.stopDrag();
}
Instance of Symbol 770 MovieClip "koord2" in Symbol 832 MovieClip Frame 11
/* no clip actions */
Symbol 832 MovieClip Frame 12
level = 11;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
pass = 0;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
dogg0.filters = [blur2];
wolk.filters = [blur2];
keytekst.filters = [blur2];
stop();
Symbol 832 MovieClip Frame 13
function draaibal() {
if (dragging) {
if (dragx == 99999) {
dragx = _xmouse;
} else {
if (_xmouse == dragx) {
} else if (_xmouse > dragx) {
pingbal._rotation = pingbal._rotation + 2;
} else {
pingbal._rotation = pingbal._rotation - 2;
}
dragx = _xmouse;
}
}
}
level = 12;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
dragging = false;
dragx = 99999 /* 0x01869F */;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
pingbal.onEnterFrame = draaibal;
stop();
Symbol 832 MovieClip Frame 14
function moveBall() {
ball._x = ball._x + ball.deltaX;
ball._y = ball._y + ball.deltaY;
if (ball.hitTest(sleutel)) {
fadeout.gotoAndPlay(2);
sleutel._visible = false;
}
if (ball._y < -140) {
ball.deltaY = ball.deltaY * -1;
}
i = 0;
while (i < 44) {
if (ball.hitTest(tiles[i])) {
_parent.sound_pong3.start();
increaseSpeed();
ball.deltaY = ball.deltaY * -1;
if (tiles[i].hits == 1) {
tiles[i]._x = tiles[i]._x + -1000;
} else {
tiles[i].gotoAndPlay(2);
tiles[i].hits++;
}
break;
}
i++;
}
if (ball.hitTest(paddle) && (ball.deltaY > 0)) {
_parent.sound_pong1.start();
ball.deltaX = (ball._x - paddle._x) / 4;
ball.deltaY = ball.deltaY * -1;
ball._y = Math.min(ball._y, paddle._y + 10);
}
if ((ball._x < -280) || (ball._x > 280)) {
ball.deltaX = ball.deltaX * -1;
}
if (ball._y > 250) {
balllaunched = false;
ball._y = paddle._y - 15;
ball.deltaX = 5;
ball.deltaY = -10;
ball.hitNum = 0;
i = 0;
while (i < 44) {
if (tiles[i]._x < -500) {
tiles[i]._x = tiles[i]._x + 1000;
}
if (tiles[i].hits != 0) {
tiles[i].hits = 0;
tiles[i].gotoAndPlay(1);
}
i++;
}
}
}
function increaseSpeed() {
ball.hitNum++;
if (ball.hitNum > 3) {
ball.hitNum = 0;
if (ball.deltaY > 0) {
ball.deltaY = ball.deltaY + 0.5;
} else {
ball.deltaY = ball.deltaY - 0.5;
}
}
}
level = 13;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
balllaunched = false;
ball.deltaX = 5;
ball.deltaY = -10;
ball.hitNum = 0;
var tiles = [tile1, tile2, tile3, tile4, tile5, tile6, tile7, tile8, tile9, tile10, tile11, tile12, tile13, tile14, tile15, tile16, tile17, tile18, tile19, tile20, tile21, tile22, tile23, tile24, tile25, tile26, tile27, tile28, tile29, tile30, tile31, tile32, tile33, tile34, tile35, tile36, tile37, tile38, tile39, tile40, tile41, tile42, tile43, tile44];
i = 0;
while (i < 44) {
tiles[i].hits = 0;
i++;
}
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var glow = (new flash.filters.GlowFilter(16777215, 0.8, 4, 4, 4, 4));
sleutel.filters = [glow];
stop();
Instance of Symbol 129 MovieClip "paddle" in Symbol 832 MovieClip Frame 14
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
if (this._x < -265) {
this._x = -265;
} else if (this._x > 265) {
this._x = 265;
}
}
Symbol 832 MovieClip Frame 15
function redrawFern() {
bendAngle = (initBendAngle * Math.PI) / 180;
branchAngle = (initBranchAngle * Math.PI) / 180;
lastMaxLevels = maxLevels;
antiTrunkRatio = 1 - trunkRatio;
startAngle = -1.5707963267949;
i = 0;
while (i <= maxLevels) {
colors[i] = Math.floor(255 * (1 - (i / (maxLevels + 1)))) << 8;
i++;
}
fff.clear();
fff.moveTo(0, 300);
fff.drawFern(0, 300, startAngle, 450 * heightScale, maxLevels);
}
function bendFern() {
xmov = Math.round(_xmouse);
if (xmov > 150) {
xmov = 150;
}
if (xmov < -150) {
xmov = -150;
}
if (xmov == 150) {
if (vorigemax == -150) {
bendtel++;
}
vorigemax = xmov;
}
if (xmov == -150) {
if (vorigemax == 150) {
bendtel++;
}
vorigemax = xmov;
}
if (bendtel == 20) {
bendtel++;
sleutel.gotoAndPlay(2);
}
initBendAngle = xmov / 10;
redrawFern();
}
level = 14;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
maxLevels = 6;
initBendAngle = 0;
initBranchAngle = 30;
trunkRatio = 0.1;
branchRatio = 0.55;
heightScale = 2.4;
colors = [];
MovieClip.prototype.drawFern = function (x, y, a, rad, level) {
var _local2 = x + ((Math.cos(a) * rad) * trunkRatio);
var _local1 = y + ((Math.sin(a) * rad) * trunkRatio);
fff.lineStyle(level, colors[level], 100);
fff.lineTo(_local2, _local1);
if (level > 0) {
a = a + bendAngle;
level--;
fff.drawFern(_local2, _local1, a - branchAngle, rad * branchRatio, level);
fff.moveTo(_local2, _local1);
fff.drawFern(_local2, _local1, a + branchAngle, rad * branchRatio, level);
fff.moveTo(_local2, _local1);
fff.drawFern(_local2, _local1, a, rad * antiTrunkRatio, level);
}
};
vorigemax = 0;
bendtel = 0;
fff.onEnterFrame = bendFern;
redrawFern();
stop();
Symbol 832 MovieClip Frame 16
level = 15;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
ping1.isup = false;
ping2.isup = false;
ketting1._visible = false;
ketting2._visible = false;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
link2pings.filters = [blur2];
stop();
Instance of Symbol 782 MovieClip "link2pings" in Symbol 832 MovieClip Frame 16
on (rollOut) {
if ((((_parent._ymouse < 150) && (_parent._ymouse > 0)) && (_parent._xmouse < 157.5)) && (_parent._xmouse > 140)) {
_parent.ping2._y = 138.95;
_parent.ping2.isup = true;
if ((_parent.ping1.isup && (_parent.ping2.isup)) && (!_parent.ketting1._visible)) {
_parent.ketting2._visible = true;
}
} else if ((((_parent._ymouse < 150) && (_parent._ymouse > 0)) && (_parent._xmouse < -141.5)) && (_parent._xmouse > -159.5)) {
_parent.ping1._y = 138.95;
_parent.ping1.isup = true;
if ((_parent.ping1.isup && (_parent.ping2.isup)) && (!_parent.ketting2._visible)) {
_parent.ketting1._visible = true;
}
} else {
_parent.ping1._y = 188.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
_parent.ping2._y = 188.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
}
on (dragOut) {
if ((((_parent._ymouse < 150) && (_parent._ymouse > 0)) && (_parent._xmouse < 157.5)) && (_parent._xmouse > 140)) {
_parent.ping2._y = 138.95;
_parent.ping2.isup = true;
if ((_parent.ping1.isup && (_parent.ping2.isup)) && (!_parent.ketting1._visible)) {
_parent.ketting2._visible = true;
}
} else if ((((_parent._ymouse < 150) && (_parent._ymouse > 0)) && (_parent._xmouse < -141.5)) && (_parent._xmouse > -159.5)) {
_parent.ping1._y = 138.95;
_parent.ping1.isup = true;
if ((_parent.ping1.isup && (_parent.ping2.isup)) && (!_parent.ketting2._visible)) {
_parent.ketting1._visible = true;
}
} else {
_parent.ping1._y = 188.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
_parent.ping2._y = 188.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
}
Instance of Symbol 783 MovieClip "ping1" in Symbol 832 MovieClip Frame 16
on (press) {
if ((((_parent.ketting1._visible && (_parent._xmouse > -153)) && (_parent._xmouse < -141)) && (_parent._ymouse > 120)) && (_parent._ymouse < 147)) {
_parent.fadeout.gotoAndPlay(2);
_parent.ketting1.gotoAndPlay(2);
}
}
on (rollOver) {
this._y = 138.95;
this.isup = true;
}
on (rollOut) {
if (((_parent._ymouse < 100) && (_parent._xmouse < -141.5)) && (_parent._xmouse > -159.5)) {
} else {
this._y = 188.95;
this.isup = false;
_parent.ketting1._visible = false;
if (_parent.ping2.isup) {
_parent.ping2._y = 188.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
}
}
on (dragOut) {
if (((_parent._ymouse < 100) && (_parent._xmouse < -141.5)) && (_parent._xmouse > -159.5)) {
} else {
this._y = 188.95;
this.isup = false;
_parent.ketting1._visible = false;
if (_parent.ping2.isup) {
_parent.ping2._y = 188.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
}
}
Instance of Symbol 783 MovieClip "ping2" in Symbol 832 MovieClip Frame 16
on (press) {
if ((((_parent.ketting2._visible && (_parent._xmouse > 146)) && (_parent._xmouse < 158)) && (_parent._ymouse > 120)) && (_parent._ymouse < 147)) {
_parent.fadeout.gotoAndPlay(2);
_parent.ketting2.gotoAndPlay(2);
}
}
on (rollOver) {
this._y = 138.95;
this.isup = true;
}
on (rollOut) {
if (((_parent._ymouse < 100) && (_parent._xmouse < 157.5)) && (_parent._xmouse > 140)) {
} else {
this._y = 188.95;
this.isup = false;
_parent.ketting2._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 188.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
}
}
on (dragOut) {
if (((_parent._ymouse < 100) && (_parent._xmouse < 157.5)) && (_parent._xmouse > 140)) {
} else {
this._y = 188.95;
this.isup = false;
_parent.ketting2._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 188.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
}
}
Symbol 832 MovieClip Frame 17
function dropper() {
if ((!this.dragging) && (this.dropping)) {
this.vy = this.vy * dampK;
this.vy = this.vy + gravK;
if ((this._y + this.vy) >= (vloerblok._y - 288)) {
_parent.sound_drop.start();
this.bounces++;
this.vy = this.vy * (-dampCollision);
if (this.bounces == 1) {
if ((this.hoogte < -285) && (vloerblok._y < 480)) {
vloerblok._y = vloerblok._y + 40;
}
}
}
this._y = this._y + this.vy;
if (this.bounces == 5) {
this.vy = 0;
this.bounces = 0;
this._y = vloerblok._y - 288;
this.dropping = false;
}
}
}
function redrawFern() {
bendAngle = (initBendAngle * Math.PI) / 180;
branchAngle = (initBranchAngle * Math.PI) / 180;
lastMaxLevels = maxLevels;
antiTrunkRatio = 1 - trunkRatio;
startAngle = -1.5707963267949;
i = 0;
while (i <= maxLevels) {
colors[i] = Math.floor(255 * (1 - (i / (maxLevels + 1)))) << 8;
i++;
}
vloerblok.clear();
vloerblok.moveTo(50, -242);
vloerblok.drawFern(50, -242, startAngle, 450 * heightScale, maxLevels);
}
level = 16;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
dampK = 0.98;
gravK = 0.7;
dampCollision = 0.5;
bal.vy = 0;
bal.bounces = 0;
bal.hoogte = bal._y;
bal.onEnterFrame = dropper;
maxLevels = 6;
initBendAngle = 0;
initBranchAngle = 30;
trunkRatio = 0.1;
branchRatio = 0.55;
heightScale = 2.4;
colors = [];
MovieClip.prototype.drawFern = function (x, y, a, rad, level) {
var _local2 = x + ((Math.cos(a) * rad) * trunkRatio);
var _local1 = y + ((Math.sin(a) * rad) * trunkRatio);
vloerblok.lineStyle(level, colors[level], 100);
vloerblok.lineTo(_local2, _local1);
if (level > 0) {
a = a + bendAngle;
level--;
vloerblok.drawFern(_local2, _local1, a - branchAngle, rad * branchRatio, level);
vloerblok.moveTo(_local2, _local1);
vloerblok.drawFern(_local2, _local1, a + branchAngle, rad * branchRatio, level);
vloerblok.moveTo(_local2, _local1);
vloerblok.drawFern(_local2, _local1, a, rad * antiTrunkRatio, level);
}
};
redrawFern();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
stop();
Instance of Symbol 93 MovieClip "bal" in Symbol 832 MovieClip Frame 17
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, -150, _parent.vloerblok._y - 288, 102, -290);
}
on (release) {
this.hoogte = this._y;
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.hoogte = this._y;
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Symbol 832 MovieClip Frame 18
function moveBall2() {
this.vx = this.vx * dampK;
this.vy = this.vy * dampK;
this.vy = this.vy + gravK;
var _local9 = 0;
var _local8 = 0;
var _local2 = mcs.length - 1;
while (_local2 >= 0) {
if ((mcs[_local2] != this) && (this.hitTest(mcs[_local2]))) {
if (!allesaan) {
if (this.aan) {
this.aan = false;
myColor = new Color(this);
myColor.setRGB(10066329);
}
if (mcs[_local2].aan) {
mcs[_local2].aan = false;
myColor = new Color(mcs[_local2]);
myColor.setRGB(10066329);
}
}
var _local4 = (this._x + this.vx) - mcs[_local2]._x;
var _local3 = (this._y + this.vy) - mcs[_local2]._y;
var _local6 = Math.sqrt((_local4 * _local4) + (_local3 * _local3));
var _local7 = (this.ballRadius + mcs[_local2].ballRadius) - _local6;
if (_local7 > 0) {
var _local5 = (_local7 * dampCollision) / _local6;
_local9 = _local9 + (_local4 * _local5);
_local8 = _local8 + (_local3 * _local5);
}
}
_local2--;
}
this.vx = this.vx + _local9;
this.vy = this.vy + _local8;
if ((((this._y + this.ballRadius) + this.vy) >= 160) || (((this._y - this.ballRadius) + this.vy) < -155)) {
this.vy = this.vy * (-dampCollision);
}
if ((((this._x - this.ballRadius) + this.vx) <= -290) || (((this._x + this.ballRadius) + this.vx) >= 290)) {
this.vx = this.vx * (-dampCollision);
}
this._x = this._x + this.vx;
this._y = this._y + this.vy;
}
function klikBall() {
if (!allesaan) {
if (this.aan) {
this.aan = false;
myColor = new Color(this);
myColor.setRGB(10066329);
} else {
this.aan = true;
myColor = new Color(this);
myColor.setRGB(16777215);
}
if (((bb1.aan && (bb2.aan)) && (bb3.aan)) && (bb4.aan)) {
allesaan = true;
sleutel.gotoAndPlay(2);
}
}
}
level = 17;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
allesaan = false;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
nbrballekes = 4;
gravK = 1;
dampK = 1;
dampCollision = 1;
bb1.vx = 8;
bb1.vy = 8;
bb1.ballRadius = bb1._width / 2;
bb2.vx = 8;
bb2.vy = 8;
bb2.ballRadius = bb2._width / 2;
bb3.vx = 8;
bb3.vy = 8;
bb3.ballRadius = bb3._width / 2;
bb4.vx = 8;
bb4.vy = 8;
bb4.ballRadius = bb4._width / 2;
bb1.aan = false;
bb2.aan = false;
bb3.aan = false;
bb4.aan = false;
bb1.onEnterFrame = moveBall2;
bb1.onPress = klikBall;
bb2.onEnterFrame = moveBall2;
bb2.onPress = klikBall;
bb3.onEnterFrame = moveBall2;
bb3.onPress = klikBall;
bb4.onEnterFrame = moveBall2;
bb4.onPress = klikBall;
var blur2 = (new flash.filters.BlurFilter(4, 4, 1));
bb1.filters = [blur2];
bb2.filters = [blur2];
bb3.filters = [blur2];
bb4.filters = [blur2];
mcs = [];
mcs.push(bb1);
mcs.push(bb2);
mcs.push(bb3);
mcs.push(bb4);
stop();
Symbol 832 MovieClip Frame 19
function gatmove() {
xmov = Math.round(_xmouse);
this._rotation = xmov;
if ((((((((((xmov == 176) || (xmov == 177)) || (xmov == 178)) || (xmov == 179)) || (xmov == 180)) || (xmov == -176)) || (xmov == -177)) || (xmov == -178)) || (xmov == -179)) || (xmov == -180)) {
onderteller++;
if ((onderteller > 15) && (!gevonden)) {
gevonden = true;
sleutel.gotoAndPlay(2);
}
} else {
onderteller = 0;
}
}
level = 18;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
onderteller = 0;
gevonden = false;
balgat.onEnterFrame = gatmove;
stop();
Symbol 832 MovieClip Frame 20
function getKey() {
fadeout.gotoAndPlay(2);
var _local2 = new ContextMenu();
_local2.hideBuiltInItems();
_root.menu = _local2;
}
level = 19;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var keyNotice = new ContextMenuItem("key!", getKey);
myMenu.customItems.push(keyNotice);
_root.menu = myMenu;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
dogg0.filters = [blur2];
wolk.filters = [blur2];
keytekst.filters = [blur2];
stop();
Symbol 832 MovieClip Frame 21
level = 20;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
dragging = false;
origykoord = koord._y;
origykoord2 = koord2._y;
vy = 0;
boltop = false;
bolgone = false;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
koord.filters = [blur2];
koord2.filters = [blur2];
stop();
Instance of Symbol 768 MovieClip "koord" in Symbol 832 MovieClip Frame 21
on (press) {
_parent.dragging = true;
_parent.boltop = false;
schuif = 300 - _parent._ymouse;
if ((this._y + schuif) < 950) {
this.startDrag(false, this._x, this._y, this._x, this._y + schuif);
} else {
this.startDrag(false, this._x, this._y, this._x, 950);
}
}
on (release) {
if ((!_parent.bolgone) && (_parent.koord2._y < -300)) {
_parent.boltop = true;
}
_parent.vy = 0;
_parent.dragging = false;
this.stopDrag();
}
on (releaseOutside) {
if ((!_parent.bolgone) && (_parent.koord2._y < -300)) {
_parent.boltop = true;
}
_parent.vy = 0;
_parent.dragging = false;
this.stopDrag();
}
Instance of Symbol 801 MovieClip "koord2" in Symbol 832 MovieClip Frame 21
/* no clip actions */
Symbol 832 MovieClip Frame 22
function dropper() {
if (!this.dragging) {
this.vx = this.vx * dampK;
this.vy = this.vy * dampK;
this.vy = this.vy + gravK;
var _local10 = 0;
var _local9 = 0;
var _local3 = mcs.length - 1;
while (_local3 >= 0) {
if ((mcs[_local3] != this) && (this.hitTest(mcs[_local3]))) {
var _local5 = (this._x + this.vx) - mcs[_local3]._x;
var _local4 = (this._y + this.vy) - mcs[_local3]._y;
var _local7 = Math.sqrt((_local5 * _local5) + (_local4 * _local4));
var _local8 = (this.ballRadius + mcs[_local3].ballRadius) - _local7;
if (_local8 > 0) {
var _local6 = (_local8 * dampCollision2) / _local7;
_local10 = _local10 + (_local5 * _local6);
_local9 = _local9 + (_local4 * _local6);
}
}
_local3--;
}
this.vx = this.vx + _local10;
this.vy = this.vy + _local9;
_local3 = 0;
while (_local3 < 12) {
if (this.hitTest(tiles[_local3])) {
_parent.sound_pong3.start();
tiles[_local3]._x = tiles[_local3]._x + -1000;
this.vx = this.vx * -1;
nbrtiles--;
if (nbrtiles < 1) {
sleutel.gotoAndPlay(2);
}
break;
}
_local3++;
}
if (((this._y + this.vy) >= 102) || ((this._y + this.vy) < -150)) {
this.vy = this.vy * (-dampCollision);
}
if ((((this._x - this.ballRadius) + this.vx) <= -320) || (((this._x + this.ballRadius) + this.vx) >= 270)) {
this.vx = this.vx * (-dampCollision);
}
this._x = this._x + this.vx;
this._y = this._y + this.vy;
}
}
level = 21;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
dampK = 0.98;
gravK = 0.4;
dampCollision = 0.5;
dampCollision2 = 1.5;
nbrtiles = 12;
bal1.vx = 0;
bal1.vy = 0;
bal1.bounces = 0;
bal1.ballRadius = bal1._width / 2;
bal1.onEnterFrame = dropper;
bal2.vx = 0;
bal2.vy = 0;
bal2.bounces = 0;
bal2.ballRadius = bal2._width / 2;
bal2.onEnterFrame = dropper;
mcs = [];
mcs.push(bal1);
mcs.push(bal2);
var tiles = [tile1, tile2, tile3, tile4, tile5, tile6, tile7, tile8, tile9, tile10, tile11, tile12];
stop();
Instance of Symbol 93 MovieClip "bal1" in Symbol 832 MovieClip Frame 22
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, 226, 102, -274, -150);
}
on (release) {
this.vx = 0;
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vx = 0;
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Instance of Symbol 93 MovieClip "bal2" in Symbol 832 MovieClip Frame 22
on (press) {
this.dragging = true;
this.dropping = false;
this.startDrag(false, 226, 102, -274, -150);
}
on (release) {
this.vx = 0;
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
on (releaseOutside) {
this.vx = 0;
this.vy = 0;
this.bounces = 0;
this.dragging = false;
this.dropping = true;
this.stopDrag();
}
Symbol 832 MovieClip Frame 23
level = 22;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
tv1.tel = 1;
tv2.tel = 2;
tv3.tel = 3;
tv4.tel = 4;
tv5.tel = 5;
tv6.tel = 6;
tv7.tel = 7;
tvpressed = 0;
tvteller = 0;
tvseq = [];
tvseqtel = 0;
tvseqhittel = 0;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
stop();
Symbol 832 MovieClip Frame 24
level = 23;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
stop();
Symbol 832 MovieClip Frame 25
level = 24;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
ping1.isup = false;
ping2.isup = false;
ping3.isup = false;
ping4.isup = false;
ketting1._visible = false;
ketting2._visible = false;
ketting3._visible = false;
ketting4._visible = false;
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
link2pings.filters = [blur2];
stop();
Instance of Symbol 816 MovieClip "link2pings" in Symbol 832 MovieClip Frame 25
on (rollOut) {
if ((((_parent._ymouse < 300) && (_parent._ymouse > 0)) && (_parent._xmouse > 90)) && (_parent._xmouse < 109)) {
_parent.ping2._y = 269.95;
_parent.ping2.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting1._visible)) && (!_parent.ketting3._visible)) && (!_parent.ketting4._visible)) {
_parent.ketting2._visible = true;
}
} else if ((((_parent._ymouse < 300) && (_parent._ymouse > 0)) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
_parent.ping1._y = 269.95;
_parent.ping1.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting2._visible)) && (!_parent.ketting3._visible)) && (!_parent.ketting4._visible)) {
_parent.ketting1._visible = true;
}
} else if ((((_parent._ymouse > -300) && (_parent._ymouse < 0)) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
(_parent.ping3._y = -269);
_parent.ping3.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting2._visible)) && (!_parent.ketting1._visible)) && (!_parent.ketting4._visible)) {
_parent.ketting3._visible = true;
}
} else if ((((_parent._ymouse > -300) && (_parent._ymouse < 0)) && (_parent._xmouse < 109)) && (_parent._xmouse > 90)) {
(_parent.ping4._y = -269);
_parent.ping4.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting2._visible)) && (!_parent.ketting1._visible)) && (!_parent.ketting3._visible)) {
_parent.ketting4._visible = true;
}
} else {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
on (dragOut) {
if ((((_parent._ymouse < 300) && (_parent._ymouse > 0)) && (_parent._xmouse > 90)) && (_parent._xmouse < 109)) {
_parent.ping2._y = 269.95;
_parent.ping2.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting1._visible)) && (!_parent.ketting3._visible)) && (!_parent.ketting4._visible)) {
_parent.ketting2._visible = true;
}
} else if ((((_parent._ymouse < 300) && (_parent._ymouse > 0)) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
_parent.ping1._y = 269.95;
_parent.ping1.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting2._visible)) && (!_parent.ketting3._visible)) && (!_parent.ketting4._visible)) {
_parent.ketting1._visible = true;
}
} else if ((((_parent._ymouse > -300) && (_parent._ymouse < 0)) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
(_parent.ping3._y = -269);
_parent.ping3.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting2._visible)) && (!_parent.ketting1._visible)) && (!_parent.ketting4._visible)) {
_parent.ketting3._visible = true;
}
} else if ((((_parent._ymouse > -300) && (_parent._ymouse < 0)) && (_parent._xmouse < 109)) && (_parent._xmouse > 90)) {
(_parent.ping4._y = -269);
_parent.ping4.isup = true;
if ((((((_parent.ping1.isup && (_parent.ping2.isup)) && (_parent.ping3.isup)) && (_parent.ping4.isup)) && (!_parent.ketting2._visible)) && (!_parent.ketting1._visible)) && (!_parent.ketting3._visible)) {
_parent.ketting4._visible = true;
}
} else {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
Instance of Symbol 783 MovieClip "ping1" in Symbol 832 MovieClip Frame 25
on (press) {
if ((((_parent.ketting1._visible && (_parent._xmouse > -105)) && (_parent._xmouse < -91)) && (_parent._ymouse > 249)) && (_parent._ymouse < 281)) {
_parent.fadeout.gotoAndPlay(2);
_parent.ketting1.gotoAndPlay(2);
}
}
on (rollOver) {
this._y = 269.95;
this.isup = true;
}
on (rollOut) {
if (((_parent._ymouse < 183) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
} else {
this._y = 319.95;
this.isup = false;
_parent.ketting1._visible = false;
if (_parent.ping2.isup) {
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
if (_parent.ping3.isup) {
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
}
if (_parent.ping4.isup) {
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
}
on (dragOut) {
if (((_parent._ymouse < 183) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
} else {
this._y = 319.95;
this.isup = false;
_parent.ketting1._visible = false;
if (_parent.ping2.isup) {
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
if (_parent.ping3.isup) {
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
}
if (_parent.ping4.isup) {
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
}
Instance of Symbol 783 MovieClip "ping2" in Symbol 832 MovieClip Frame 25
on (press) {
if ((((_parent.ketting2._visible && (_parent._xmouse > 94)) && (_parent._xmouse < 108)) && (_parent._ymouse > 249)) && (_parent._ymouse < 281)) {
_parent.fadeout.gotoAndPlay(2);
_parent.ketting2.gotoAndPlay(2);
}
}
on (rollOver) {
this._y = 269.95;
this.isup = true;
}
on (rollOut) {
if (((_parent._ymouse < 183) && (_parent._xmouse < 109)) && (_parent._xmouse > 90)) {
} else {
this._y = 319.95;
this.isup = false;
_parent.ketting2._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
if (_parent.ping3.isup) {
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
}
if (_parent.ping4.isup) {
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
}
on (dragOut) {
if (((_parent._ymouse < 183) && (_parent._xmouse < 109)) && (_parent._xmouse > 90)) {
} else {
this._y = 319.95;
this.isup = false;
_parent.ketting2._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
if (_parent.ping3.isup) {
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
}
if (_parent.ping4.isup) {
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
}
Instance of Symbol 783 MovieClip "ping3" in Symbol 832 MovieClip Frame 25
on (press) {
if ((((_parent.ketting3._visible && (_parent._xmouse > -108)) && (_parent._xmouse < -93)) && (_parent._ymouse > -281)) && (_parent._ymouse < -249)) {
_parent.fadeout.gotoAndPlay(2);
_parent.ketting3.gotoAndPlay(2);
}
}
on (rollOver) {
(this._y = -269);
this.isup = true;
}
on (rollOut) {
if (((_parent._ymouse > -177) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
} else {
this._y = -319.05;
this.isup = false;
_parent.ketting3._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
if (_parent.ping2.isup) {
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
if (_parent.ping4.isup) {
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
}
on (dragOut) {
if (((_parent._ymouse > -177) && (_parent._xmouse < -91)) && (_parent._xmouse > -110)) {
} else {
this._y = -319.05;
this.isup = false;
_parent.ketting3._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
if (_parent.ping2.isup) {
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
if (_parent.ping4.isup) {
_parent.ping4._y = -319.05;
_parent.ping4.isup = false;
_parent.ketting4._visible = false;
}
}
}
Instance of Symbol 783 MovieClip "ping4" in Symbol 832 MovieClip Frame 25
on (press) {
if ((((_parent.ketting4._visible && (_parent._xmouse > 92)) && (_parent._xmouse < 105)) && (_parent._ymouse > -281)) && (_parent._ymouse < -249)) {
_parent.fadeout.gotoAndPlay(2);
_parent.ketting4.gotoAndPlay(2);
}
}
on (rollOver) {
(this._y = -269);
this.isup = true;
}
on (rollOut) {
if (((_parent._ymouse > -177) && (_parent._xmouse < 109)) && (_parent._xmouse > 90)) {
} else {
this._y = -319.05;
this.isup = false;
_parent.ketting4._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
if (_parent.ping2.isup) {
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
if (_parent.ping3.isup) {
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
}
}
}
on (dragOut) {
if (((_parent._ymouse > -177) && (_parent._xmouse < 109)) && (_parent._xmouse > 90)) {
} else {
this._y = -319.05;
this.isup = false;
_parent.ketting4._visible = false;
if (_parent.ping1.isup) {
_parent.ping1._y = 319.95;
_parent.ping1.isup = false;
_parent.ketting1._visible = false;
}
if (_parent.ping2.isup) {
_parent.ping2._y = 319.95;
_parent.ping2.isup = false;
_parent.ketting2._visible = false;
}
if (_parent.ping3.isup) {
_parent.ping3._y = -319.05;
_parent.ping3.isup = false;
_parent.ketting3._visible = false;
}
}
}
Symbol 832 MovieClip Frame 26
function lowercount() {
if (!l21completed) {
telveldmov.tttvld--;
if (telveldmov.tttvld == 0) {
l21completed = true;
fadeout.gotoAndPlay(2);
}
}
}
function moveBall() {
ball._x = ball._x + ball.deltaX;
ball._y = ball._y + ball.deltaY;
if (ball.hitTest(paddle) && (ball.deltaY > 0)) {
_parent.sound_pong1.start();
lowercount();
ball.deltaX = (ball._x - paddle._x) / 4;
ball.deltaY = ball.deltaY * -1;
ball._y = Math.min(ball._y, paddle._y + 10);
}
if (ball.hitTest(paddle2) && (ball.deltaY < 0)) {
_parent.sound_pong1.start();
lowercount();
ball.deltaX = (ball._x - paddle2._x) / 4;
ball.deltaY = ball.deltaY * -1;
ball._y = Math.max(ball._y, paddle2._y - 10);
}
if (ball.hitTest(paddle3) && (ball.deltaX < 0)) {
_parent.sound_pong1.start();
lowercount();
ball.deltaX = ball.deltaX * -1;
ball._x = Math.max(ball._x, paddle3._x - 10);
}
if (ball.hitTest(paddle4) && (ball.deltaX > 0)) {
_parent.sound_pong1.start();
lowercount();
ball.deltaX = ball.deltaX * -1;
ball._x = Math.min(ball._x, paddle4._x + 10);
}
if ((((ball._y < -250) || (ball._y > 250)) || (ball._x < -350)) || (ball._x > 350)) {
if (!l21completed) {
telveldmov.tttvld = "99";
}
balllaunched = false;
Mouse.show();
ball._y = paddle._y - 15;
ball.deltaX = 5;
ball.deltaY = -10;
ball.hitNum = 0;
}
}
level = 25;
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
telveldmov.tttvld = "99";
var glow = (new flash.filters.GlowFilter(16777215, 0.9, 8, 8, 4, 4));
telveldmov.filters = [glow];
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
l21completed = false;
balllaunched = false;
ball.deltaX = 10;
ball.deltaY = -10;
ball.hitNum = 0;
stop();
Instance of Symbol 129 MovieClip "paddle" in Symbol 832 MovieClip Frame 26
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
if (this._x < -265) {
this._x = -265;
} else if (this._x > 265) {
this._x = 265;
}
}
Instance of Symbol 129 MovieClip "paddle2" in Symbol 832 MovieClip Frame 26
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
if (this._x < -265) {
this._x = -265;
} else if (this._x > 265) {
this._x = 265;
}
}
Instance of Symbol 129 MovieClip "paddle3" in Symbol 832 MovieClip Frame 26
onClipEvent (enterFrame) {
this._y = _parent._ymouse;
if (this._y < -125) {
this._y = -125;
} else if (this._y > 125) {
this._y = 125;
}
}
Instance of Symbol 129 MovieClip "paddle4" in Symbol 832 MovieClip Frame 26
onClipEvent (enterFrame) {
this._y = _parent._ymouse;
if (this._y < -125) {
this._y = -125;
} else if (this._y > 125) {
this._y = 125;
}
}
Symbol 832 MovieClip Frame 27
level = 26;
if (!_parent.soundmute) {
_parent.sound_loop1.stop();
_parent.sound_loop2.start(0, 9999);
}
_parent.mekeyshared.data.lvl = level;
_parent.mekeyshared.flush();
Mouse.show();
var blur = (new flash.filters.BlurFilter(8, 8, 1));
stripes.filters = [blur];
var blur2 = (new flash.filters.BlurFilter(2, 2, 1));
ping0.filters = [blur2];
var glow = (new flash.filters.GlowFilter(16777215, 0.5, 4, 4, 4, 4));
keyhole.filters = [blur];
stop();