Frame 1
_accProps = new Object();
_accProps.silent = true;
Mouse.hide();
var muis = new Object();
Mouse.addListener(muis);
muis.onMouseMove = function () {
cursor._visible = true;
cursor._x = _xmouse;
cursor._y = _ymouse;
updateAfterEvent();
onMouseDown = function () {
cursor.gotoAndStop(2);
};
onMouseUp = function () {
cursor.gotoAndStop(1);
};
};
Stage.showMenu = false;
_focusrect = false;
var s0 = new Sound(soundmenu);
s0.attachSound("soundmenu");
s0.onSoundComplete = function () {
s0.start();
};
var s1 = new Sound(soundspel);
s1.attachSound("soundspel");
s1.onSoundComplete = function () {
s1.start();
};
_root.s0.setVolume(0);
s1.stop();
s0.start();
stop();
bestands_grote = getBytesTotal();
trace(getBytesTotal());
onEnterFrame = function () {
al_geladen = getBytesLoaded();
trace(getBytesLoaded());
procent = Math.round((al_geladen / bestands_grote) * 100);
_root.gamegirl.hoeveel_procent.text = procent + "% ";
laadbalk._xscale = procent;
if (bestands_grote == al_geladen) {
delete onEnterFrame;
}
};
gamegirl.onRelease = function () {
getURL ("http://www.gamegirly.com", _blank);
};
Frame 5
stop();
_root.s0.setVolume(100);
menu.onRelease = function () {
gotoAndStop (5);
};
uitleg.onRelease = function () {
gotoAndStop (10);
};
highscores.onRelease = function () {
gotoAndStop (15);
};
startt.onRelease = function () {
gotoAndStop (20);
};
Frame 10
stop();
menu.onRelease = function () {
gotoAndStop (5);
_root.s0.setVolume(0);
};
uitleg.onRelease = function () {
gotoAndStop (10);
};
highscores.onRelease = function () {
gotoAndStop (15);
};
startt.onRelease = function () {
gotoAndStop (20);
};
Frame 15
stop();
fout._visible = false;
veld2._visible = true;
veld3._visible = true;
veld4._visible = true;
veld2.htmlText = "";
veld3.htmlText = "";
veld4.htmlText = "";
menu.onRelease = function () {
_root.gotoAndStop(5);
_root.s0.setVolume(0);
};
var my_lv2 = new LoadVars();
my_lv2.onData = function (str) {
veld2.html = true;
veld2.htmlText = str;
if (str == undefined) {
fout._visible = true;
veld2._visible = false;
veld3._visible = false;
veld4._visible = false;
}
};
my_lv2.load("highscore_view2.php");
var my_lvv3 = new LoadVars();
my_lvv3.onData = function (str) {
veld3.html = true;
veld3.htmlText = str;
if (str == undefined) {
fout._visible = true;
veld2._visible = false;
veld3._visible = false;
veld4._visible = false;
}
};
my_lvv3.load("highscore_view3.php");
var my_lvv4 = new LoadVars();
my_lvv4.onData = function (str) {
veld4.html = true;
veld4.htmlText = str;
if (str == undefined) {
fout._visible = true;
veld2._visible = false;
veld3._visible = false;
veld4._visible = false;
}
};
my_lvv4.load("highscore_view4.php");
Frame 20
var s0 = new Sound(soundmenu);
s0.attachSound("soundmenu");
s0.onSoundComplete = function () {
s0.start();
};
var s1 = new Sound(soundspel);
s1.attachSound("soundspel");
s1.onSoundComplete = function () {
s1.start();
};
s1.start();
s0.stop();
var s2 = new Sound(pop);
s2.attachSound("pop");
var s3 = new Sound(prullenbak);
s3.attachSound("bak");
stop();
_root.time = 65;
_root.score1 = 0;
_root.score = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "1";
tfruit = "vrij";
tfruit2 = "vrij";
_root.klant1.time_total = "31";
_root.klant2.time_total = "31";
_root.klant3.time_total = "31";
_root.klant4.time_total = "31";
tip1._visible = false;
onEnterFrame = function () {
if (_root.score1 <= 0) {
_root.score1 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
if (this.hitTest(tip)) {
tip1.gotoAndStop(3);
}
if (this.hitTest(tip2)) {
tip1.gotoAndStop(4);
}
if (this.hitTest(tip3)) {
tip1.gotoAndStop(6);
}
if (this.hitTest(tip4)) {
tip1.gotoAndStop(5);
}
if (this.hitTest(tip7)) {
tip1.gotoAndStop(7);
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
if (this.hitTest(tip)) {
tip1.gotoAndStop(3);
}
if (this.hitTest(tip2)) {
tip1.gotoAndStop(4);
}
if (this.hitTest(tip3)) {
tip1.gotoAndStop(6);
}
if (this.hitTest(tip4)) {
tip1.gotoAndStop(5);
}
if (this.hitTest(tip7)) {
tip1.gotoAndStop(7);
}
};
shake.onPress = function () {
startDrag (this);
this.swapDepths(een.getNextHighestDepth());
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
tip1.gotoAndStop(8);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
klant1.gotoAndPlay(116);
tip1.gotoAndPlay(9);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
opruimen();
klant3.gotoAndPlay(116);
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
this.swapDepths(een.getNextHighestDepth());
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
tip1.gotoAndStop(8);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
tip1.gotoAndPlay(9);
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
opruimen2();
klant3.gotoAndPlay(116);
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score1 = score1 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
tip1.gotoAndStop(7);
_root.tip7._x = 606;
_root.tip7._y = 420;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
tip1.gotoAndStop(5);
_root.tip4._x = 310;
_root.tip4._y = 416;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1am", "2am");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
tip1.gotoAndStop(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score1 = score1 + 15;
tip1._visible = false;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score1 = score1 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score1 = score1 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score1 = score1 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
klant1.best.bestt._width = 80;
klant1.best.bestt._x = -57;
klant1.best._x = 100;
klant2.best.bestt._width = 80;
klant2.best.bestt._x = -57;
klant2.best._x = 100;
klant3.best.bestt._width = 80;
klant3.best.bestt._x = -57;
klant3.best._x = 100;
klant4.best.bestt._width = 80;
klant4.best.bestt._x = -57;
klant4.best._x = 100;
klant5.best.bestt._width = 70;
klant5.best.bestt._x = -57;
klant5.best._x = 100;
klant6.best.bestt._width = 70;
klant6.best.bestt._x = -57;
klant6.best._x = 100;
appa.enabled = true;
appb.enabled = false;
appc.enabled = false;
appd.enabled = false;
appe.enabled = false;
appf.enabled = false;
appg.enabled = false;
apph.enabled = false;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 20
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score1;
verwijder();
}
if ((_root.time == 0) && (_root.score1 < 30)) {
_root.gotoAndStop(21);
}
if ((_root.time == 0) && (_root.score1 > 30)) {
_root.gotoAndStop(22);
}
if ((_root.time == 0) && (_root.score1 == 30)) {
_root.gotoAndStop(22);
}
if (_root.time == 65) {
_root.klant1.gotoAndStop(2);
_root.tip1._visible = true;
}
if (_root.time == 40) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant3.gotoAndStop(2);
_root.tip1._visible = false;
}
if (_root.time == 20) {
_root.klant4.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop1.onRelease = function () {
_root.score = _root.score + _root.score1;
verwijder();
if (_root.score1 < 30) {
_root.gotoAndStop(21);
}
if (_root.score1 > 30) {
_root.gotoAndStop(22);
}
if (_root.score1 == 30) {
_root.gotoAndStop(22);
}
};
}
Frame 21
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 22
stop();
nextt.onRelease = function () {
clearInterval(_root.klant4.intervalID);
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 23
stop();
_root.time = 50;
_root.score2 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "2";
_root.klant1.time_total = "31";
_root.klant2.time_total = "31";
_root.klant3.time_total = "31";
_root.klant4.time_total = "31";
onEnterFrame = function () {
if (_root.score2 <= 0) {
_root.score2 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score2 = score2 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1am", "2am", "1bm", "2bm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score2 = score2 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score2 = score2 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score2 = score2 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score2 = score2 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score2 = score2 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score2 = score2 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
klant1.best.bestt._width = 80;
klant1.best.bestt._x = -57;
klant1.best._x = 100;
klant2.best.bestt._width = 80;
klant2.best.bestt._x = -57;
klant2.best._x = 100;
klant3.best.bestt._width = 80;
klant3.best.bestt._x = -57;
klant3.best._x = 100;
klant4.best.bestt._width = 80;
klant4.best.bestt._x = -57;
klant4.best._x = 100;
klant5.best.bestt._width = 70;
klant5.best.bestt._x = -57;
klant5.best._x = 100;
klant6.best.bestt._width = 70;
klant6.best.bestt._x = -57;
klant6.best._x = 100;
appa.enabled = true;
appb.enabled = true;
appc.enabled = false;
appd.enabled = false;
appe.enabled = false;
appf.enabled = false;
appg.enabled = false;
apph.enabled = false;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 23
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score2;
verwijder();
}
if ((_root.time == 0) && (_root.score2 < 30)) {
_root.gotoAndStop(24);
}
if ((_root.time == 0) && (_root.score2 > 30)) {
_root.gotoAndStop(25);
}
if ((_root.time == 0) && (_root.score2 == 30)) {
_root.gotoAndStop(25);
}
if (_root.time == 50) {
_root.klant1.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant4.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop2.onRelease = function () {
_root.score = _root.score + _root.score2;
verwijder();
if (_root.score2 < 30) {
_root.gotoAndStop(24);
}
if (_root.score2 > 30) {
_root.gotoAndStop(25);
}
if (_root.score2 == 30) {
_root.gotoAndStop(25);
}
};
}
Frame 24
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 25
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 26
stop();
_root.time = 60;
_root.score3 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "3";
_root.klant1.time_total = "31";
_root.klant2.time_total = "31";
_root.klant3.time_total = "31";
_root.klant4.time_total = "31";
_root.klant5.time_total = "31";
onEnterFrame = function () {
if (_root.score3 <= 0) {
_root.score3 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score3 = score3 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score3 = score3 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score3 = score3 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score3 = score3 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score3 = score3 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score3 = score3 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score3 = score3 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = false;
appf.enabled = false;
appg.enabled = false;
apph.enabled = false;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 26
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score3;
verwijder();
}
if ((_root.time == 0) && (_root.score3 < 45)) {
_root.gotoAndStop(27);
}
if ((_root.time == 0) && (_root.score3 > 45)) {
_root.gotoAndStop(28);
}
if ((_root.time == 0) && (_root.score3 == 45)) {
_root.gotoAndStop(28);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 50) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop3.onRelease = function () {
_root.score = _root.score + _root.score3;
verwijder();
if (_root.score3 < 45) {
_root.gotoAndStop(27);
}
if (_root.score3 > 45) {
_root.gotoAndStop(28);
}
if (_root.score3 == 45) {
_root.gotoAndStop(28);
}
};
}
Frame 27
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 28
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 29
stop();
_root.time = 60;
_root.score4 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "4";
_root.klant1.time_total = "31";
_root.klant2.time_total = "31";
_root.klant3.time_total = "31";
_root.klant4.time_total = "31";
_root.klant5.time_total = "31";
onEnterFrame = function () {
if (_root.score4 <= 0) {
_root.score4 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score4 = score4 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score4 = score4 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score4 = score4 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score4 = score4 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score4 = score4 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score4 = score4 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score4 = score4 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score4 = score4 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = false;
appf.enabled = false;
appg.enabled = false;
apph.enabled = false;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 29
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score4;
verwijder();
}
if ((_root.time == 0) && (_root.score4 < 45)) {
_root.gotoAndStop(30);
}
if ((_root.time == 0) && (_root.score4 > 45)) {
_root.gotoAndStop(31);
}
if ((_root.time == 0) && (_root.score4 == 45)) {
_root.gotoAndStop(31);
}
if (_root.time == 57) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 50) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 32) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop4.onRelease = function () {
_root.score = _root.score + _root.score4;
verwijder();
if ((_root.time == 0) && (_root.score4 < 45)) {
_root.gotoAndStop(30);
}
if (_root.score4 > 45) {
_root.gotoAndStop(31);
}
if (_root.score4 == 45) {
_root.gotoAndStop(31);
}
};
}
Frame 30
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 31
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 32
stop();
_root.time = 60;
_root.score5 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "5";
_root.klant1.time_total = "31";
_root.klant2.time_total = "31";
_root.klant3.time_total = "31";
_root.klant4.time_total = "31";
_root.klant5.time_total = "31";
_root.klant6.time_total = "26";
onEnterFrame = function () {
if (_root.score5 <= 0) {
_root.score5 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score5 = score5 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1aem", "2aem", "3aem", "1afm", "2afm", "3afm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1bem", "2bem", "3bem", "1bfm", "2bfm", "3bfm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1cem", "2cem", "3cem", "1cfm", "2cfm", "3cfm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm", "1dem", "2dem", "3dem", "1dfm", "2dfm", "3dfm", "1eam", "2eam", "3eam", "1ebm", "2ebm", "3ebm", "1ecm", "2ecm", "3ecm", "1edm", "2edm", "3edm", "1efm", "2efm", "3efm", "1fam", "2fam", "3fam", "1fbm", "2fbm", "3fbm", "1fcm", "2fcm", "3fcm", "1fdm", "2fdm", "3fdm", "1fem", "2fem", "3fem");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score5 = score5 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score5 = score5 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score5 = score5 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score5 = score5 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score5 = score5 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score5 = score5 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score5 = score5 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score5 = score5 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
klant8.best.bestt._width = 105;
klant8.best.bestt._x = -40;
klant8.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = true;
appf.enabled = true;
appg.enabled = false;
apph.enabled = false;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 32
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score5;
verwijder();
}
if ((_root.time == 0) && (_root.score5 < 45)) {
_root.gotoAndStop(33);
}
if ((_root.time == 0) && (_root.score5 > 45)) {
_root.gotoAndStop(34);
}
if ((_root.time == 0) && (_root.score5 == 45)) {
_root.gotoAndStop(34);
}
if (_root.time == 60) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 50) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop5.onRelease = function () {
_root.score = _root.score + _root.score5;
verwijder();
if (_root.score5 < 45) {
_root.gotoAndStop(33);
}
if (_root.score5 > 45) {
_root.gotoAndStop(34);
}
if (_root.score5 == 45) {
_root.gotoAndStop(34);
}
};
}
Frame 33
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 34
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 35
stop();
_root.time = 80;
_root.score6 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "6";
_root.klant1.time_total = "26";
_root.klant2.time_total = "26";
_root.klant3.time_total = "26";
_root.klant4.time_total = "26";
_root.klant5.time_total = "26";
_root.klant6.time_total = "26";
_root.klant7.time_total = "26";
onEnterFrame = function () {
if (_root.score6 <= 0) {
_root.score6 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score6 = score6 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1aem", "2aem", "3aem", "1afm", "2afm", "3afm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1bem", "2bem", "3bem", "1bfm", "2bfm", "3bfm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1cem", "2cem", "3cem", "1cfm", "2cfm", "3cfm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm", "1dem", "2dem", "3dem", "1dfm", "2dfm", "3dfm", "1eam", "2eam", "3eam", "1ebm", "2ebm", "3ebm", "1ecm", "2ecm", "3ecm", "1edm", "2edm", "3edm", "1efm", "2efm", "3efm", "1fam", "2fam", "3fam", "1fbm", "2fbm", "3fbm", "1fcm", "2fcm", "3fcm", "1fdm", "2fdm", "3fdm", "1fem", "2fem", "3fem");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score6 = score6 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score6 = score6 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score6 = score6 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score6 = score6 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score6 = score6 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score6 = score6 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score6 = score6 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score6 = score6 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score6 = score6 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score6 = score6 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score6 = score6 + 15;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
klant8.best.bestt._width = 105;
klant8.best.bestt._x = -40;
klant8.best._x = 90;
klant9.best.bestt._width = 105;
klant9.best.bestt._x = -40;
klant9.best._x = 90;
klant10.best.bestt._width = 105;
klant10.best.bestt._x = -40;
klant10.best._x = 90;
klant11.best.bestt._width = 105;
klant11.best.bestt._x = -40;
klant11.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = true;
appf.enabled = true;
appg.enabled = false;
apph.enabled = false;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 35
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score6;
verwijder();
}
if ((_root.time == 0) && (_root.score6 < 90)) {
_root.gotoAndStop(36);
}
if ((_root.time == 0) && (_root.score6 > 90)) {
_root.gotoAndStop(37);
}
if ((_root.time == 0) && (_root.score6 == 90)) {
_root.gotoAndStop(37);
}
if (_root.time == 80) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 70) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 25) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
clearInterval(_root.klant12.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop6.onRelease = function () {
_root.score = _root.score + _root.score6;
verwijder();
if (_root.score6 < 90) {
_root.gotoAndStop(36);
}
if (_root.score6 > 90) {
_root.gotoAndStop(37);
}
if (_root.score6 == 90) {
_root.gotoAndStop(37);
}
};
}
Frame 36
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 37
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 38
stop();
_root.time = 80;
_root.score7 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "7";
_root.klant1.time_total = "26";
_root.klant2.time_total = "26";
_root.klant3.time_total = "26";
_root.klant4.time_total = "26";
_root.klant5.time_total = "26";
_root.klant6.time_total = "26";
_root.klant7.time_total = "26";
_root.klant8.time_total = "26";
onEnterFrame = function () {
if (_root.score7 <= 0) {
_root.score7 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score7 = score7 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1aem", "2aem", "3aem", "1afm", "2afm", "3afm", "1agm", "2agm", "3agm", "1ahm", "2ahm", "3ahm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1bem", "2bem", "3bem", "1bfm", "2bfm", "3bfm", "1bgm", "2bgm", "3bgm", "1bhm", "2bhm", "3bhm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1cem", "2cem", "3cem", "1cfm", "2cfm", "3cfm", "1cgm", "2cgm", "3cgm", "1chm", "2chm", "3chm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm", "1dem", "2dem", "3dem", "1dfm", "2dfm", "3dfm", "1dgm", "2dgm", "3dgm", "1dhm", "2dhm", "3dhm", "1eam", "2eam", "3eam", "1ebm", "2ebm", "3ebm", "1ecm", "2ecm", "3ecm", "1edm", "2edm", "3edm", "1efm", "2efm", "3efm", "1egm", "2egm", "3egm", "1ehm", "2ehm", "3ehm", "1fam", "2fam", "3fam", "1fbm", "2fbm", "3fbm", "1fcm", "2fcm", "3fcm", "1fdm", "2fdm", "3fdm", "1fem", "2fem", "3fem", "1fgm", "2fgm", "3fgm", "1fhm", "2fhm", "3fhm", "1gam", "2gam", "3gam", "1gbm", "2gbm", "3gbm", "1gcm", "2gcm", "3gcm", "1gdm", "2gdm", "3gdm", "1gem", "2gem", "3gem", "1gfm", "2gfm", "3gfm", "1ghm", "2ghm", "3ghm", "1ham", "2ham", "3ham", "1hbm", "2hbm", "3hbm", "1hcm", "2hcm", "3hcm", "1hdm", "2hdm", "3hdm", "1hem", "2hem", "3hem", "1hfm", "2hfm", "3hfm", "1hgm", "2hgm", "3hgm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score7 = score7 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score7 = score7 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score7 = score7 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score7 = score7 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score7 = score7 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score7 = score7 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score7 = score7 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score7 = score7 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score7 = score7 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score7 = score7 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score7 = score7 + 15;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
klant8.best.bestt._width = 105;
klant8.best.bestt._x = -40;
klant8.best._x = 90;
klant9.best.bestt._width = 105;
klant9.best.bestt._x = -40;
klant9.best._x = 90;
klant10.best.bestt._width = 105;
klant10.best.bestt._x = -40;
klant10.best._x = 90;
klant11.best.bestt._width = 105;
klant11.best.bestt._x = -40;
klant11.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = true;
appf.enabled = true;
appg.enabled = true;
apph.enabled = true;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 38
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score7;
verwijder();
}
if ((_root.time == 0) && (_root.score7 < 105)) {
_root.gotoAndStop(39);
}
if ((_root.time == 0) && (_root.score7 > 105)) {
_root.gotoAndStop(40);
}
if ((_root.time == 0) && (_root.score7 == 105)) {
_root.gotoAndStop(40);
}
if (_root.time == 80) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 70) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop7.onRelease = function () {
_root.score = _root.score + _root.score7;
verwijder();
if (_root.score7 < 75) {
_root.gotoAndStop(39);
}
if (_root.score7 > 75) {
_root.gotoAndStop(40);
}
if (_root.score7 == 75) {
_root.gotoAndStop(40);
}
};
}
Frame 39
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 40
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 41
stop();
_root.time = 80;
_root.score8 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "8";
_root.klant1.time_total = "26";
_root.klant2.time_total = "26";
_root.klant3.time_total = "26";
_root.klant4.time_total = "26";
_root.klant5.time_total = "26";
_root.klant6.time_total = "26";
_root.klant7.time_total = "26";
_root.klant8.time_total = "26";
_root.klant9.time_total = "26";
onEnterFrame = function () {
if (_root.score8 <= 0) {
_root.score8 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant12.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant13._x >= 100) {
if (this.hitTest(klant13.body)) {
if (_root.shake.bes == lijst[random13]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random13]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld13._visible = true;
geld13.gotoAndPlay(2);
klant13.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant13.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant14._x >= 280) {
if (this.hitTest(klant14.body)) {
if (_root.shake.bes == lijst[random14]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random14]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld14._visible = true;
geld14.gotoAndPlay(2);
klant14.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant14.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant15._x <= 470) {
if (this.hitTest(klant15.body)) {
if (_root.shake.bes == lijst[random15]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random15]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld15._visible = true;
geld10.gotoAndPlay(2);
klant15.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant15.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant16._x <= 655) {
if (this.hitTest(klant16.body)) {
if (_root.shake.bes == lijst[random16]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random16]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld16._visible = true;
geld16.gotoAndPlay(2);
klant16.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant16.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant17._x >= 100) {
if (this.hitTest(klant17.body)) {
if (_root.shake.bes == lijst[random17]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random17]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld17._visible = true;
geld17.gotoAndPlay(2);
klant17.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant17.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant18._x >= 280) {
if (this.hitTest(klant18.body)) {
if (_root.shake.bes == lijst[random18]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random18]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld18._visible = true;
geld18.gotoAndPlay(2);
klant18.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant18.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant19._x <= 470) {
if (this.hitTest(klant19.body)) {
if (_root.shake.bes == lijst[random19]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random19]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld19._visible = true;
geld19.gotoAndPlay(2);
klant19.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant19.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant20.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake2.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant12.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant13._x >= 100) {
if (this.hitTest(klant13.body)) {
if (_root.shake2.bes == lijst[random13]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random13]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld13._visible = true;
geld13.gotoAndPlay(2);
klant13.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant13.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant14._x >= 280) {
if (this.hitTest(klant14.body)) {
if (_root.shake2.bes == lijst[random14]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random14]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld14._visible = true;
geld14.gotoAndPlay(2);
klant14.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant14.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant15._x <= 470) {
if (this.hitTest(klant15.body)) {
if (_root.shake2.bes == lijst[random15]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random15]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld15._visible = true;
geld10.gotoAndPlay(2);
klant15.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant15.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant16._x <= 655) {
if (this.hitTest(klant16.body)) {
if (_root.shake2.bes == lijst[random16]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random16]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld16._visible = true;
geld16.gotoAndPlay(2);
klant16.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant16.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant17._x >= 100) {
if (this.hitTest(klant17.body)) {
if (_root.shake2.bes == lijst[random17]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random17]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld17._visible = true;
geld17.gotoAndPlay(2);
klant17.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant17.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant18._x >= 280) {
if (this.hitTest(klant18.body)) {
if (_root.shake2.bes == lijst[random18]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random18]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld18._visible = true;
geld18.gotoAndPlay(2);
klant18.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant18.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant19._x <= 470) {
if (this.hitTest(klant19.body)) {
if (_root.shake2.bes == lijst[random19]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random19]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld19._visible = true;
geld19.gotoAndPlay(2);
klant19.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant19.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake2.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score8 = score8 - 20;
klant20.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1aem", "2aem", "3aem", "1afm", "2afm", "3afm", "1agm", "2agm", "3agm", "1ahm", "2ahm", "3ahm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1bem", "2bem", "3bem", "1bfm", "2bfm", "3bfm", "1bgm", "2bgm", "3bgm", "1bhm", "2bhm", "3bhm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1cem", "2cem", "3cem", "1cfm", "2cfm", "3cfm", "1cgm", "2cgm", "3cgm", "1chm", "2chm", "3chm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm", "1dem", "2dem", "3dem", "1dfm", "2dfm", "3dfm", "1dgm", "2dgm", "3dgm", "1dhm", "2dhm", "3dhm", "1eam", "2eam", "3eam", "1ebm", "2ebm", "3ebm", "1ecm", "2ecm", "3ecm", "1edm", "2edm", "3edm", "1efm", "2efm", "3efm", "1egm", "2egm", "3egm", "1ehm", "2ehm", "3ehm", "1fam", "2fam", "3fam", "1fbm", "2fbm", "3fbm", "1fcm", "2fcm", "3fcm", "1fdm", "2fdm", "3fdm", "1fem", "2fem", "3fem", "1fgm", "2fgm", "3fgm", "1fhm", "2fhm", "3fhm", "1gam", "2gam", "3gam", "1gbm", "2gbm", "3gbm", "1gcm", "2gcm", "3gcm", "1gdm", "2gdm", "3gdm", "1gem", "2gem", "3gem", "1gfm", "2gfm", "3gfm", "1ghm", "2ghm", "3ghm", "1ham", "2ham", "3ham", "1hbm", "2hbm", "3hbm", "1hcm", "2hcm", "3hcm", "1hdm", "2hdm", "3hdm", "1hem", "2hem", "3hem", "1hfm", "2hfm", "3hfm", "1hgm", "2hgm", "3hgm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
var random12 = Math.floor(Math.random() * lijst.length);
var random13 = Math.floor(Math.random() * lijst.length);
var random14 = Math.floor(Math.random() * lijst.length);
var random15 = Math.floor(Math.random() * lijst.length);
var random16 = Math.floor(Math.random() * lijst.length);
var random17 = Math.floor(Math.random() * lijst.length);
var random18 = Math.floor(Math.random() * lijst.length);
var random19 = Math.floor(Math.random() * lijst.length);
var random20 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
klant12.best.eis = lijst[random12];
klant13.best.eis = lijst[random13];
klant14.best.eis = lijst[random14];
klant15.best.eis = lijst[random15];
klant16.best.eis = lijst[random16];
klant17.best.eis = lijst[random17];
klant18.best.eis = lijst[random18];
klant19.best.eis = lijst[random19];
klant20.best.eis = lijst[random20];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score8 = score8 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score8 = score8 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score8 = score8 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score8 = score8 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score8 = score8 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score8 = score8 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score8 = score8 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score8 = score8 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score8 = score8 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score8 = score8 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score8 = score8 + 15;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
geld12.onRelease = function () {
score8 = score8 + 15;
geld12.gotoAndPlay(250);
geld12._visible = false;
};
geld13.onRelease = function () {
score8 = score8 + 15;
geld13.gotoAndPlay(250);
geld13._visible = false;
};
geld14.onRelease = function () {
score8 = score8 + 15;
geld14.gotoAndPlay(250);
geld14._visible = false;
};
geld15.onRelease = function () {
score8 = score8 + 15;
geld15.gotoAndPlay(250);
geld15._visible = false;
};
geld16.onRelease = function () {
score8 = score8 + 15;
geld16.gotoAndPlay(250);
geld16._visible = false;
};
geld17.onRelease = function () {
score8 = score8 + 15;
geld17.gotoAndPlay(250);
geld17._visible = false;
};
geld18.onRelease = function () {
score8 = score8 + 15;
geld18.gotoAndPlay(250);
geld18._visible = false;
};
geld19.onRelease = function () {
score8 = score8 + 15;
geld19.gotoAndPlay(250);
geld19._visible = false;
};
geld20.onRelease = function () {
score8 = score8 + 15;
geld20.gotoAndPlay(250);
geld20._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
klant8.best.bestt._width = 105;
klant8.best.bestt._x = -40;
klant8.best._x = 90;
klant9.best.bestt._width = 105;
klant9.best.bestt._x = -40;
klant9.best._x = 90;
klant10.best.bestt._width = 105;
klant10.best.bestt._x = -40;
klant10.best._x = 90;
klant11.best.bestt._width = 105;
klant11.best.bestt._x = -40;
klant11.best._x = 90;
klant12.best.bestt._width = 105;
klant12.best.bestt._x = -40;
klant12.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = true;
appf.enabled = true;
appg.enabled = true;
apph.enabled = true;
appi.enabled = false;
appj.enabled = false;
Instance of Symbol 307 MovieClip "tijd" in Frame 41
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score8;
verwijder();
}
if ((_root.time == 0) && (_root.score8 < 120)) {
_root.gotoAndStop(42);
}
if ((_root.time == 0) && (_root.score8 > 120)) {
_root.gotoAndStop(43);
}
if ((_root.time == 0) && (_root.score8 == 120)) {
_root.gotoAndStop(43);
}
if (_root.time == 80) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 70) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
clearInterval(_root.klant12.intervalID);
clearInterval(_root.klant13.intervalID);
clearInterval(_root.klant14.intervalID);
clearInterval(_root.klant15.intervalID);
clearInterval(_root.klant16.intervalID);
clearInterval(_root.klant17.intervalID);
clearInterval(_root.klant18.intervalID);
clearInterval(_root.klant19.intervalID);
clearInterval(_root.klant20.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klant12.swapDepths(this.getNextHighestDepth());
_root.klant12.removeMovieClip();
_root.klant13.swapDepths(this.getNextHighestDepth());
_root.klant13.removeMovieClip();
_root.klant14.swapDepths(this.getNextHighestDepth());
_root.klant14.removeMovieClip();
_root.klant15.swapDepths(this.getNextHighestDepth());
_root.klant15.removeMovieClip();
_root.klant16.swapDepths(this.getNextHighestDepth());
_root.klant16.removeMovieClip();
_root.klant17.swapDepths(this.getNextHighestDepth());
_root.klant17.removeMovieClip();
_root.klant18.swapDepths(this.getNextHighestDepth());
_root.klant18.removeMovieClip();
_root.klant19.swapDepths(this.getNextHighestDepth());
_root.klant19.removeMovieClip();
_root.klant20.swapDepths(this.getNextHighestDepth());
_root.klant20.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop8.onRelease = function () {
_root.score = _root.score + _root.score8;
verwijder();
if (_root.score8 < 105) {
_root.gotoAndStop(42);
}
if (_root.score8 > 105) {
_root.gotoAndStop(43);
}
if (_root.score8 == 105) {
_root.gotoAndStop(43);
}
};
}
Frame 42
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 43
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 44
stop();
_root.time = 80;
_root.score9 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "9";
_root.klant1.time_total = "26";
_root.klant2.time_total = "26";
_root.klant3.time_total = "26";
_root.klant4.time_total = "26";
_root.klant5.time_total = "26";
_root.klant6.time_total = "26";
_root.klant7.time_total = "26";
_root.klant8.time_total = "26";
onEnterFrame = function () {
if (_root.score9 <= 0) {
_root.score9 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant12.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant13._x >= 100) {
if (this.hitTest(klant13.body)) {
if (_root.shake.bes == lijst[random13]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random13]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld13._visible = true;
geld13.gotoAndPlay(2);
klant13.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant13.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant14._x >= 280) {
if (this.hitTest(klant14.body)) {
if (_root.shake.bes == lijst[random14]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random14]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld14._visible = true;
geld14.gotoAndPlay(2);
klant14.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant14.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant15._x <= 470) {
if (this.hitTest(klant15.body)) {
if (_root.shake.bes == lijst[random15]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random15]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld15._visible = true;
geld10.gotoAndPlay(2);
klant15.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant15.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant16._x <= 655) {
if (this.hitTest(klant16.body)) {
if (_root.shake.bes == lijst[random16]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random16]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld16._visible = true;
geld16.gotoAndPlay(2);
klant16.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant16.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant17._x >= 100) {
if (this.hitTest(klant17.body)) {
if (_root.shake.bes == lijst[random17]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random17]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld17._visible = true;
geld17.gotoAndPlay(2);
klant17.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant17.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant18._x >= 280) {
if (this.hitTest(klant18.body)) {
if (_root.shake.bes == lijst[random18]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random18]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld18._visible = true;
geld18.gotoAndPlay(2);
klant18.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant18.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant19._x <= 470) {
if (this.hitTest(klant19.body)) {
if (_root.shake.bes == lijst[random19]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random19]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld19._visible = true;
geld19.gotoAndPlay(2);
klant19.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant19.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant20.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake2.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant12.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant13._x >= 100) {
if (this.hitTest(klant13.body)) {
if (_root.shake2.bes == lijst[random13]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random13]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld13._visible = true;
geld13.gotoAndPlay(2);
klant13.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant13.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant14._x >= 280) {
if (this.hitTest(klant14.body)) {
if (_root.shake2.bes == lijst[random14]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random14]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld14._visible = true;
geld14.gotoAndPlay(2);
klant14.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant14.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant15._x <= 470) {
if (this.hitTest(klant15.body)) {
if (_root.shake2.bes == lijst[random15]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random15]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld15._visible = true;
geld10.gotoAndPlay(2);
klant15.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant15.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant16._x <= 655) {
if (this.hitTest(klant16.body)) {
if (_root.shake2.bes == lijst[random16]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random16]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld16._visible = true;
geld16.gotoAndPlay(2);
klant16.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant16.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant17._x >= 100) {
if (this.hitTest(klant17.body)) {
if (_root.shake2.bes == lijst[random17]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random17]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld17._visible = true;
geld17.gotoAndPlay(2);
klant17.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant17.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant18._x >= 280) {
if (this.hitTest(klant18.body)) {
if (_root.shake2.bes == lijst[random18]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random18]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld18._visible = true;
geld18.gotoAndPlay(2);
klant18.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant18.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant19._x <= 470) {
if (this.hitTest(klant19.body)) {
if (_root.shake2.bes == lijst[random19]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random19]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld19._visible = true;
geld19.gotoAndPlay(2);
klant19.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant19.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake2.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score9 = score9 - 20;
klant20.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1aem", "2aem", "3aem", "1afm", "2afm", "3afm", "1agm", "2agm", "3agm", "1ahm", "2ahm", "3ahm", "1aim", "2aim", "3aim", "1ajm", "2ajm", "3ajm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1bem", "2bem", "3bem", "1bfm", "2bfm", "3bfm", "1bgm", "2bgm", "3bgm", "1bhm", "2bhm", "3bhm", "1bim", "2bim", "3bim", "1bjm", "2bjm", "3bjm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1cem", "2cem", "3cem", "1cfm", "2cfm", "3cfm", "1cgm", "2cgm", "3cgm", "1chm", "2chm", "3chm", "1cim", "2cim", "3cim", "1cjm", "2cjm", "3cjm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm", "1dem", "2dem", "3dem", "1dfm", "2dfm", "3dfm", "1dgm", "2dgm", "3dgm", "1dhm", "2dhm", "3dhm", "1dim", "2dim", "3dim", "1djm", "2djm", "3djm", "1eam", "2eam", "3eam", "1ebm", "2ebm", "3ebm", "1ecm", "2ecm", "3ecm", "1edm", "2edm", "3edm", "1efm", "2efm", "3efm", "1egm", "2egm", "3egm", "1ehm", "2ehm", "3ehm", "1eim", "2eim", "3eim", "1ejm", "2ejm", "3ejm", "1fam", "2fam", "3fam", "1fbm", "2fbm", "3fbm", "1fcm", "2fcm", "3fcm", "1fdm", "2fdm", "3fdm", "1fem", "2fem", "3fem", "1fgm", "2fgm", "3fgm", "1fhm", "2fhm", "3fhm", "1fim", "2fim", "3fim", "1fjm", "2fjm", "3fjm", "1gam", "2gam", "3gam", "1gbm", "2gbm", "3gbm", "1gcm", "2gcm", "3gcm", "1gdm", "2gdm", "3gdm", "1gem", "2gem", "3gem", "1gfm", "2gfm", "3gfm", "1ghm", "2ghm", "3ghm", "1gim", "2gim", "3gim", "1gjm", "2gjm", "3gjm", "1ham", "2ham", "3ham", "1hbm", "2hbm", "3hbm", "1hcm", "2hcm", "3hcm", "1hdm", "2hdm", "3hdm", "1hem", "2hem", "3hem", "1hfm", "2hfm", "3hfm", "1hgm", "2hgm", "3hgm", "1him", "2him", "3him", "1hjm", "2hjm", "3hjm", "1iam", "2iam", "3iam", "1ibm", "2ibm", "3ibm", "1icm", "2icm", "3icm", "1idm", "2idm", "3idm", "1iem", "2iem", "3iem", "1ifm", "2ifm", "3ifm", "1igm", "2igm", "3igm", "1ihm", "2ihm", "3ihm", "1ijm", "2ijm", "3ijm", "1jam", "2jam", "3jam", "1jbm", "2jbm", "3jbm", "1jcm", "2jcm", "3jcm", "1jdm", "2jdm", "3jdm", "1jem", "2jem", "3jem", "1jfm", "2jfm", "3jfm", "1jgm", "2jgm", "3jgm", "1jhm", "2jhm", "3jhm", "1jim", "2jim", "3jim");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
var random12 = Math.floor(Math.random() * lijst.length);
var random13 = Math.floor(Math.random() * lijst.length);
var random14 = Math.floor(Math.random() * lijst.length);
var random15 = Math.floor(Math.random() * lijst.length);
var random16 = Math.floor(Math.random() * lijst.length);
var random17 = Math.floor(Math.random() * lijst.length);
var random18 = Math.floor(Math.random() * lijst.length);
var random19 = Math.floor(Math.random() * lijst.length);
var random20 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
klant12.best.eis = lijst[random12];
klant13.best.eis = lijst[random13];
klant14.best.eis = lijst[random14];
klant15.best.eis = lijst[random15];
klant16.best.eis = lijst[random16];
klant17.best.eis = lijst[random17];
klant18.best.eis = lijst[random18];
klant19.best.eis = lijst[random19];
klant20.best.eis = lijst[random20];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score9 = score9 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score9 = score9 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score9 = score9 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score9 = score9 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score9 = score9 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score9 = score9 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score9 = score9 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score9 = score9 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score9 = score9 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score9 = score9 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score9 = score9 + 15;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
geld12.onRelease = function () {
score9 = score9 + 15;
geld12.gotoAndPlay(250);
geld12._visible = false;
};
geld13.onRelease = function () {
score9 = score9 + 15;
geld13.gotoAndPlay(250);
geld13._visible = false;
};
geld14.onRelease = function () {
score9 = score9 + 15;
geld14.gotoAndPlay(250);
geld14._visible = false;
};
geld15.onRelease = function () {
score9 = score9 + 15;
geld15.gotoAndPlay(250);
geld15._visible = false;
};
geld16.onRelease = function () {
score9 = score9 + 15;
geld16.gotoAndPlay(250);
geld16._visible = false;
};
geld17.onRelease = function () {
score9 = score9 + 15;
geld17.gotoAndPlay(250);
geld17._visible = false;
};
geld18.onRelease = function () {
score9 = score9 + 15;
geld18.gotoAndPlay(250);
geld18._visible = false;
};
geld19.onRelease = function () {
score9 = score9 + 15;
geld19.gotoAndPlay(250);
geld19._visible = false;
};
geld20.onRelease = function () {
score9 = score9 + 15;
geld20.gotoAndPlay(250);
geld20._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
klant8.best.bestt._width = 105;
klant8.best.bestt._x = -40;
klant8.best._x = 90;
klant9.best.bestt._width = 105;
klant9.best.bestt._x = -40;
klant9.best._x = 90;
klant10.best.bestt._width = 105;
klant10.best.bestt._x = -40;
klant10.best._x = 90;
klant11.best.bestt._width = 105;
klant11.best.bestt._x = -40;
klant11.best._x = 90;
klant12.best.bestt._width = 105;
klant12.best.bestt._x = -40;
klant12.best._x = 90;
appa.enabled = true;
appb.enabled = true;
appc.enabled = true;
appd.enabled = true;
appe.enabled = true;
appf.enabled = true;
appg.enabled = true;
apph.enabled = true;
appi.enabled = true;
appj.enabled = true;
Instance of Symbol 307 MovieClip "tijd" in Frame 44
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score9;
verwijder();
}
if ((_root.time == 0) && (_root.score9 < 105)) {
_root.gotoAndStop(45);
}
if ((_root.time == 0) && (_root.score9 > 105)) {
_root.gotoAndStop(46);
}
if ((_root.time == 0) && (_root.score9 == 105)) {
_root.gotoAndStop(46);
}
if (_root.time == 80) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 70) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
clearInterval(_root.klant12.intervalID);
clearInterval(_root.klant13.intervalID);
clearInterval(_root.klant14.intervalID);
clearInterval(_root.klant15.intervalID);
clearInterval(_root.klant16.intervalID);
clearInterval(_root.klant17.intervalID);
clearInterval(_root.klant18.intervalID);
clearInterval(_root.klant19.intervalID);
clearInterval(_root.klant20.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klant12.swapDepths(this.getNextHighestDepth());
_root.klant12.removeMovieClip();
_root.klant13.swapDepths(this.getNextHighestDepth());
_root.klant13.removeMovieClip();
_root.klant14.swapDepths(this.getNextHighestDepth());
_root.klant14.removeMovieClip();
_root.klant15.swapDepths(this.getNextHighestDepth());
_root.klant15.removeMovieClip();
_root.klant16.swapDepths(this.getNextHighestDepth());
_root.klant16.removeMovieClip();
_root.klant17.swapDepths(this.getNextHighestDepth());
_root.klant17.removeMovieClip();
_root.klant18.swapDepths(this.getNextHighestDepth());
_root.klant18.removeMovieClip();
_root.klant19.swapDepths(this.getNextHighestDepth());
_root.klant19.removeMovieClip();
_root.klant20.swapDepths(this.getNextHighestDepth());
_root.klant20.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop9.onRelease = function () {
_root.score = _root.score + _root.score9;
verwijder();
if (_root.score9 < 90) {
_root.gotoAndStop(45);
}
if (_root.score9 > 90) {
_root.gotoAndStop(46);
}
if (_root.score9 == 90) {
_root.gotoAndStop(46);
}
};
}
Frame 45
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 46
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 47
stop();
_root.time = 80;
_root.score10 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "10";
_root.klant1.time_total = "21";
_root.klant2.time_total = "26";
_root.klant3.time_total = "26";
_root.klant4.time_total = "26";
_root.klant5.time_total = "21";
_root.klant6.time_total = "26";
_root.klant7.time_total = "26";
_root.klant8.time_total = "26";
_root.klant9.time_total = "21";
onEnterFrame = function () {
if (_root.score10 <= 0) {
_root.score10 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant12.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant13._x >= 100) {
if (this.hitTest(klant13.body)) {
if (_root.shake.bes == lijst[random13]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random13]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld13._visible = true;
geld13.gotoAndPlay(2);
klant13.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant13.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant14._x >= 280) {
if (this.hitTest(klant14.body)) {
if (_root.shake.bes == lijst[random14]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random14]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld14._visible = true;
geld14.gotoAndPlay(2);
klant14.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant14.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant15._x <= 470) {
if (this.hitTest(klant15.body)) {
if (_root.shake.bes == lijst[random15]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random15]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld15._visible = true;
geld10.gotoAndPlay(2);
klant15.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant15.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant16._x <= 655) {
if (this.hitTest(klant16.body)) {
if (_root.shake.bes == lijst[random16]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random16]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld16._visible = true;
geld16.gotoAndPlay(2);
klant16.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant16.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant17._x >= 100) {
if (this.hitTest(klant17.body)) {
if (_root.shake.bes == lijst[random17]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random17]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld17._visible = true;
geld17.gotoAndPlay(2);
klant17.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant17.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant18._x >= 280) {
if (this.hitTest(klant18.body)) {
if (_root.shake.bes == lijst[random18]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random18]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld18._visible = true;
geld18.gotoAndPlay(2);
klant18.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant18.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant19._x <= 470) {
if (this.hitTest(klant19.body)) {
if (_root.shake.bes == lijst[random19]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random19]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld19._visible = true;
geld19.gotoAndPlay(2);
klant19.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant19.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant20.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake2.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant12.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant13._x >= 100) {
if (this.hitTest(klant13.body)) {
if (_root.shake2.bes == lijst[random13]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random13]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld13._visible = true;
geld13.gotoAndPlay(2);
klant13.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant13.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant14._x >= 280) {
if (this.hitTest(klant14.body)) {
if (_root.shake2.bes == lijst[random14]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random14]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld14._visible = true;
geld14.gotoAndPlay(2);
klant14.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant14.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant15._x <= 470) {
if (this.hitTest(klant15.body)) {
if (_root.shake2.bes == lijst[random15]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random15]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld15._visible = true;
geld10.gotoAndPlay(2);
klant15.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant15.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant16._x <= 655) {
if (this.hitTest(klant16.body)) {
if (_root.shake2.bes == lijst[random16]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random16]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld16._visible = true;
geld16.gotoAndPlay(2);
klant16.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant16.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant17._x >= 100) {
if (this.hitTest(klant17.body)) {
if (_root.shake2.bes == lijst[random17]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random17]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld17._visible = true;
geld17.gotoAndPlay(2);
klant17.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant17.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant18._x >= 280) {
if (this.hitTest(klant18.body)) {
if (_root.shake2.bes == lijst[random18]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random18]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld18._visible = true;
geld18.gotoAndPlay(2);
klant18.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant18.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant19._x <= 470) {
if (this.hitTest(klant19.body)) {
if (_root.shake2.bes == lijst[random19]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random19]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld19._visible = true;
geld19.gotoAndPlay(2);
klant19.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant19.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake2.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score10 = score10 - 20;
klant20.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1abm", "2abm", "3abm", "1acm", "2acm", "3acm", "1adm", "2adm", "3adm", "1aem", "2aem", "3aem", "1afm", "2afm", "3afm", "1agm", "2agm", "3agm", "1ahm", "2ahm", "3ahm", "1aim", "2aim", "3aim", "1ajm", "2ajm", "3ajm", "1bam", "2bam", "3bam", "1bcm", "2bcm", "3bcm", "1bdm", "2bdm", "3bdm", "1bem", "2bem", "3bem", "1bfm", "2bfm", "3bfm", "1bgm", "2bgm", "3bgm", "1bhm", "2bhm", "3bhm", "1bim", "2bim", "3bim", "1bjm", "2bjm", "3bjm", "1cam", "2cam", "3cam", "1cbm", "2cbm", "3cbm", "1cdm", "2cdm", "3cdm", "1cem", "2cem", "3cem", "1cfm", "2cfm", "3cfm", "1cgm", "2cgm", "3cgm", "1chm", "2chm", "3chm", "1cim", "2cim", "3cim", "1cjm", "2cjm", "3cjm", "1dam", "2dam", "3dam", "1dbm", "2dbm", "3dbm", "1dcm", "2dcm", "3dcm", "1dem", "2dem", "3dem", "1dfm", "2dfm", "3dfm", "1dgm", "2dgm", "3dgm", "1dhm", "2dhm", "3dhm", "1dim", "2dim", "3dim", "1djm", "2djm", "3djm", "1eam", "2eam", "3eam", "1ebm", "2ebm", "3ebm", "1ecm", "2ecm", "3ecm", "1edm", "2edm", "3edm", "1efm", "2efm", "3efm", "1egm", "2egm", "3egm", "1ehm", "2ehm", "3ehm", "1eim", "2eim", "3eim", "1ejm", "2ejm", "3ejm", "1fam", "2fam", "3fam", "1fbm", "2fbm", "3fbm", "1fcm", "2fcm", "3fcm", "1fdm", "2fdm", "3fdm", "1fem", "2fem", "3fem", "1fgm", "2fgm", "3fgm", "1fhm", "2fhm", "3fhm", "1fim", "2fim", "3fim", "1fjm", "2fjm", "3fjm", "1gam", "2gam", "3gam", "1gbm", "2gbm", "3gbm", "1gcm", "2gcm", "3gcm", "1gdm", "2gdm", "3gdm", "1gem", "2gem", "3gem", "1gfm", "2gfm", "3gfm", "1ghm", "2ghm", "3ghm", "1gim", "2gim", "3gim", "1gjm", "2gjm", "3gjm", "1ham", "2ham", "3ham", "1hbm", "2hbm", "3hbm", "1hcm", "2hcm", "3hcm", "1hdm", "2hdm", "3hdm", "1hem", "2hem", "3hem", "1hfm", "2hfm", "3hfm", "1hgm", "2hgm", "3hgm", "1him", "2him", "3him", "1hjm", "2hjm", "3hjm", "1iam", "2iam", "3iam", "1ibm", "2ibm", "3ibm", "1icm", "2icm", "3icm", "1idm", "2idm", "3idm", "1iem", "2iem", "3iem", "1ifm", "2ifm", "3ifm", "1igm", "2igm", "3igm", "1ihm", "2ihm", "3ihm", "1ijm", "2ijm", "3ijm", "1jam", "2jam", "3jam", "1jbm", "2jbm", "3jbm", "1jcm", "2jcm", "3jcm", "1jdm", "2jdm", "3jdm", "1jem", "2jem", "3jem", "1jfm", "2jfm", "3jfm", "1jgm", "2jgm", "3jgm", "1jhm", "2jhm", "3jhm", "1jim", "2jim", "3jim");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
var random12 = Math.floor(Math.random() * lijst.length);
var random13 = Math.floor(Math.random() * lijst.length);
var random14 = Math.floor(Math.random() * lijst.length);
var random15 = Math.floor(Math.random() * lijst.length);
var random16 = Math.floor(Math.random() * lijst.length);
var random17 = Math.floor(Math.random() * lijst.length);
var random18 = Math.floor(Math.random() * lijst.length);
var random19 = Math.floor(Math.random() * lijst.length);
var random20 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
klant12.best.eis = lijst[random12];
klant13.best.eis = lijst[random13];
klant14.best.eis = lijst[random14];
klant15.best.eis = lijst[random15];
klant16.best.eis = lijst[random16];
klant17.best.eis = lijst[random17];
klant18.best.eis = lijst[random18];
klant19.best.eis = lijst[random19];
klant20.best.eis = lijst[random20];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score10 = score10 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score10 = score10 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score10 = score10 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score10 = score10 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score10 = score10 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score10 = score10 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score10 = score10 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score10 = score10 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score10 = score10 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score10 = score10 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score10 = score10 + 15;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
geld12.onRelease = function () {
score10 = score10 + 15;
geld12.gotoAndPlay(250);
geld12._visible = false;
};
geld13.onRelease = function () {
score10 = score10 + 15;
geld13.gotoAndPlay(250);
geld13._visible = false;
};
geld14.onRelease = function () {
score10 = score10 + 15;
geld14.gotoAndPlay(250);
geld14._visible = false;
};
geld15.onRelease = function () {
score10 = score10 + 15;
geld15.gotoAndPlay(250);
geld15._visible = false;
};
geld16.onRelease = function () {
score10 = score10 + 15;
geld16.gotoAndPlay(250);
geld16._visible = false;
};
geld17.onRelease = function () {
score10 = score10 + 15;
geld17.gotoAndPlay(250);
geld17._visible = false;
};
geld18.onRelease = function () {
score10 = score10 + 15;
geld18.gotoAndPlay(250);
geld18._visible = false;
};
geld19.onRelease = function () {
score10 = score10 + 15;
geld19.gotoAndPlay(250);
geld19._visible = false;
};
geld20.onRelease = function () {
score10 = score10 + 15;
geld20.gotoAndPlay(250);
geld20._visible = false;
};
klant1.best.bestt._width = 105;
klant1.best.bestt._x = -40;
klant1.best._x = 90;
klant2.best.bestt._width = 105;
klant2.best.bestt._x = -40;
klant2.best._x = 90;
klant3.best.bestt._width = 105;
klant3.best.bestt._x = -40;
klant3.best._x = 90;
klant4.best.bestt._width = 105;
klant4.best.bestt._x = -40;
klant4.best._x = 90;
klant5.best.bestt._width = 105;
klant5.best.bestt._x = -40;
klant5.best._x = 90;
klant6.best.bestt._width = 105;
klant6.best.bestt._x = -40;
klant6.best._x = 90;
klant7.best.bestt._width = 105;
klant7.best.bestt._x = -40;
klant7.best._x = 90;
klant8.best.bestt._width = 105;
klant8.best.bestt._x = -40;
klant8.best._x = 90;
klant9.best.bestt._width = 105;
klant9.best.bestt._x = -40;
klant9.best._x = 90;
klant10.best.bestt._width = 105;
klant10.best.bestt._x = -40;
klant10.best._x = 90;
klant11.best.bestt._width = 105;
klant11.best.bestt._x = -40;
klant11.best._x = 90;
klant12.best.bestt._width = 105;
klant12.best.bestt._x = -40;
klant12.best._x = 90;
Instance of Symbol 307 MovieClip "tijd" in Frame 47
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score10;
verwijder();
}
if ((_root.time == 0) && (_root.score10 < 120)) {
_root.gotoAndStop(48);
}
if ((_root.time == 0) && (_root.score10 > 120)) {
_root.gotoAndStop(49);
}
if ((_root.time == 0) && (_root.score10 == 120)) {
_root.gotoAndStop(49);
}
if (_root.time == 80) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 70) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
clearInterval(_root.klant12.intervalID);
clearInterval(_root.klant13.intervalID);
clearInterval(_root.klant14.intervalID);
clearInterval(_root.klant15.intervalID);
clearInterval(_root.klant16.intervalID);
clearInterval(_root.klant17.intervalID);
clearInterval(_root.klant18.intervalID);
clearInterval(_root.klant19.intervalID);
clearInterval(_root.klant20.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klant12.swapDepths(this.getNextHighestDepth());
_root.klant12.removeMovieClip();
_root.klant13.swapDepths(this.getNextHighestDepth());
_root.klant13.removeMovieClip();
_root.klant14.swapDepths(this.getNextHighestDepth());
_root.klant14.removeMovieClip();
_root.klant15.swapDepths(this.getNextHighestDepth());
_root.klant15.removeMovieClip();
_root.klant16.swapDepths(this.getNextHighestDepth());
_root.klant16.removeMovieClip();
_root.klant17.swapDepths(this.getNextHighestDepth());
_root.klant17.removeMovieClip();
_root.klant18.swapDepths(this.getNextHighestDepth());
_root.klant18.removeMovieClip();
_root.klant19.swapDepths(this.getNextHighestDepth());
_root.klant19.removeMovieClip();
_root.klant20.swapDepths(this.getNextHighestDepth());
_root.klant20.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop10.onRelease = function () {
_root.score = _root.score + _root.score10;
verwijder();
if (_root.score10 < 105) {
_root.gotoAndStop(48);
}
if (_root.score10 > 105) {
_root.gotoAndStop(49);
}
if (_root.score10 == 105) {
_root.gotoAndStop(49);
}
};
}
Frame 48
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 49
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 50
stop();
_root.time = 90;
_root.score11 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "11";
_root.klant1.time_total = "25";
_root.klant2.time_total = "25";
_root.klant3.time_total = "25";
_root.klant4.time_total = "25";
_root.klant5.time_total = "25";
_root.klant6.time_total = "25";
_root.klant7.time_total = "25";
_root.klant8.time_total = "25";
_root.klant9.time_total = "25";
onEnterFrame = function () {
if (_root.score11 <= 0) {
_root.score11 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score11 = score11 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1cabm", "2dabm", "3eabm", "1facm", "2gacm", "3hacm", "1iadm", "2jadm", "3badm", "1caem", "2daem", "3faem", "1gafm", "2hafm", "3iafm", "1jagm", "2bagm", "3cagm", "1dahm", "2eahm", "3fahm", "1gbam", "2hbam", "3ibam", "1jbcm", "2abcm", "3dbcm", "1ebdm", "2fbdm", "3gbdm", "1hbem", "2ibem", "3jbem", "1abfm", "2cbfm", "3dbfm", "1ebgm", "2fbgm", "3hbgm", "1ibhm", "2jbhm", "3abhm", "1icam", "2jcam", "3bcam", "1dcbm", "2ecbm", "3fcbm", "1gcdm", "2hcdm", "3icdm", "1jcem", "2acem", "3bcem", "1dcfm", "2ecfm", "3gcfm", "1hcgm", "2icgm", "3jcgm", "1achm", "2bchm", "3dchm", "1edam", "2fdam", "3gdam", "1hdbm", "2idbm", "3jdbm", "1adcm", "2bdcm", "3edcm", "1fdem", "2gdem", "3hdem", "1idfm", "2jdfm", "3adfm", "1bdgm", "2cdgm", "3edgm", "1fdhm", "2gdhm", "3idhm", "1jeam", "2beam", "3ceam", "1debm", "2febm", "3gebm", "1hecm", "2iecm", "3jecm", "1aedm", "2bedm", "3cedm", "1defm", "2gefm", "3hefm", "1iegm", "2jegm", "3aegm", "1behm", "2cehm", "3dehm", "1efam", "2gfam", "3hfam", "1ifbm", "2jfbm", "3afbm", "1bfcm", "2dfcm", "3efcm", "1gfdm", "2hfdm", "3ifdm", "1jfem", "2afem", "3bfem", "1cfgm", "2dfgm", "3efgm", "1gfhm", "2ifhm", "3jfhm", "1bgam", "2cgam", "3dgam", "1egbm", "2fgbm", "3hgbm", "1igcm", "2jgcm", "3agcm", "1bgdm", "2cgdm", "3egdm", "1fgem", "2hgem", "3igem", "1jgfm", "2agfm", "3bgfm", "1cghm", "2dghm", "3eghm", "1cham", "2dham", "3eham", "1fhbm", "2ghbm", "3ihbm", "1jhcm", "2ahcm", "3bhcm", "1chdm", "2ehdm", "3fhdm", "1ghem", "2ihem", "3jhem", "1ahfm", "2bhfm", "3chfm", "1dhgm", "2ehgm", "3fhgm", "1ghim", "2jhim", "3ahim", "1bhjm", "2chjm", "3dhjm", "1biam", "2ciam", "3diam", "1eibm", "2fibm", "3gibm", "1hicm", "2jicm", "3aicm", "1bidm", "2cidm", "3eidm", "1fiem", "2giem", "3hiem", "1jifm", "2aifm", "3bifm", "1cigm", "2digm", "3eigm", "1fihm", "2gihm", "3jihm", "1aijm", "2bijm", "3cijm", "1bjam", "2cjam", "3ejam", "1djbm", "2fjbm", "3gjbm", "1hjcm", "2ejcm", "3ajcm", "1bjdm", "2cjdm", "3ejdm", "1fjem", "2gjem", "3hjem", "1ijfm", "2ajfm", "3bjfm", "1djgm", "2cjgm", "3ejgm", "1fjim", "2ajim", "3bjim", "1cjhm", "2djhm", "3ejhm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score11 = score11 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score11 = score11 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score11 = score11 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score11 = score11 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score11 = score11 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score11 = score11 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score11 = score11 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score11 = score11 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score11 = score11 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
klant1.best.bestt._width = 145;
klant1.best.bestt._x = -25;
klant2.best.bestt._width = 145;
klant2.best.bestt._x = -25;
klant3.best.bestt._width = 145;
klant3.best.bestt._x = -25;
klant4.best.bestt._width = 145;
klant4.best.bestt._x = -25;
klant5.best.bestt._width = 145;
klant5.best.bestt._x = -25;
klant6.best.bestt._width = 145;
klant6.best.bestt._x = -25;
klant7.best.bestt._width = 145;
klant7.best.bestt._x = -25;
klant8.best.bestt._width = 145;
klant8.best.bestt._x = -25;
klant9.best.bestt._width = 145;
klant9.best.bestt._x = -25;
Instance of Symbol 307 MovieClip "tijd" in Frame 50
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score11;
verwijder();
}
if ((_root.time == 0) && (_root.score11 < 120)) {
_root.gotoAndStop(51);
}
if ((_root.time == 0) && (_root.score11 > 120)) {
_root.gotoAndStop(52);
}
if ((_root.time == 0) && (_root.score11 == 120)) {
_root.gotoAndStop(52);
}
if (_root.time == 90) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 80) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 76) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 62) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop11.onRelease = function () {
_root.score = _root.score + _root.score11;
verwijder();
if (_root.score11 < 120) {
_root.gotoAndStop(51);
}
if (_root.score11 > 120) {
_root.gotoAndStop(52);
}
if (_root.score11 == 120) {
_root.gotoAndStop(52);
}
};
}
Frame 51
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 52
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 53
stop();
_root.time = 90;
_root.score12 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "12";
_root.klant1.time_total = "21";
_root.klant2.time_total = "21";
_root.klant3.time_total = "21";
_root.klant4.time_total = "21";
_root.klant5.time_total = "21";
_root.klant6.time_total = "21";
_root.klant7.time_total = "21";
_root.klant8.time_total = "21";
_root.klant9.time_total = "21";
onEnterFrame = function () {
if (_root.score12 <= 0) {
_root.score12 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score12 = score12 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1cabm", "2dabm", "3eabm", "1facm", "2gacm", "3hacm", "1iadm", "2jadm", "3badm", "1caem", "2daem", "3faem", "1gafm", "2hafm", "3iafm", "1jagm", "2bagm", "3cagm", "1dahm", "2eahm", "3fahm", "1gbam", "2hbam", "3ibam", "1jbcm", "2abcm", "3dbcm", "1ebdm", "2fbdm", "3gbdm", "1hbem", "2ibem", "3jbem", "1abfm", "2cbfm", "3dbfm", "1ebgm", "2fbgm", "3hbgm", "1ibhm", "2jbhm", "3abhm", "1icam", "2jcam", "3bcam", "1dcbm", "2ecbm", "3fcbm", "1gcdm", "2hcdm", "3icdm", "1jcem", "2acem", "3bcem", "1dcfm", "2ecfm", "3gcfm", "1hcgm", "2icgm", "3jcgm", "1achm", "2bchm", "3dchm", "1edam", "2fdam", "3gdam", "1hdbm", "2idbm", "3jdbm", "1adcm", "2bdcm", "3edcm", "1fdem", "2gdem", "3hdem", "1idfm", "2jdfm", "3adfm", "1bdgm", "2cdgm", "3edgm", "1fdhm", "2gdhm", "3idhm", "1jeam", "2beam", "3ceam", "1debm", "2febm", "3gebm", "1hecm", "2iecm", "3jecm", "1aedm", "2bedm", "3cedm", "1defm", "2gefm", "3hefm", "1iegm", "2jegm", "3aegm", "1behm", "2cehm", "3dehm", "1efam", "2gfam", "3hfam", "1ifbm", "2jfbm", "3afbm", "1bfcm", "2dfcm", "3efcm", "1gfdm", "2hfdm", "3ifdm", "1jfem", "2afem", "3bfem", "1cfgm", "2dfgm", "3efgm", "1gfhm", "2ifhm", "3jfhm", "1bgam", "2cgam", "3dgam", "1egbm", "2fgbm", "3hgbm", "1igcm", "2jgcm", "3agcm", "1bgdm", "2cgdm", "3egdm", "1fgem", "2hgem", "3igem", "1jgfm", "2agfm", "3bgfm", "1cghm", "2dghm", "3eghm", "1cham", "2dham", "3eham", "1fhbm", "2ghbm", "3ihbm", "1jhcm", "2ahcm", "3bhcm", "1chdm", "2ehdm", "3fhdm", "1ghem", "2ihem", "3jhem", "1ahfm", "2bhfm", "3chfm", "1dhgm", "2ehgm", "3fhgm", "1ghim", "2jhim", "3ahim", "1bhjm", "2chjm", "3dhjm", "1biam", "2ciam", "3diam", "1eibm", "2fibm", "3gibm", "1hicm", "2jicm", "3aicm", "1bidm", "2cidm", "3eidm", "1fiem", "2giem", "3hiem", "1jifm", "2aifm", "3bifm", "1cigm", "2digm", "3eigm", "1fihm", "2gihm", "3jihm", "1aijm", "2bijm", "3cijm", "1bjam", "2cjam", "3ejam", "1djbm", "2fjbm", "3gjbm", "1hjcm", "2ejcm", "3ajcm", "1bjdm", "2cjdm", "3ejdm", "1fjem", "2gjem", "3hjem", "1ijfm", "2ajfm", "3bjfm", "1djgm", "2cjgm", "3ejgm", "1fjim", "2ajim", "3bjim", "1cjhm", "2djhm", "3ejhm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score12 = score12 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score12 = score12 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score12 = score12 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score12 = score12 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score12 = score12 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score12 = score12 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score12 = score12 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score12 = score12 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score12 = score12 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
klant1.best.bestt._width = 145;
klant1.best.bestt._x = -25;
klant2.best.bestt._width = 145;
klant2.best.bestt._x = -25;
klant3.best.bestt._width = 145;
klant3.best.bestt._x = -25;
klant4.best.bestt._width = 145;
klant4.best.bestt._x = -25;
klant5.best.bestt._width = 145;
klant5.best.bestt._x = -25;
klant6.best.bestt._width = 145;
klant6.best.bestt._x = -25;
klant7.best.bestt._width = 145;
klant7.best.bestt._x = -25;
klant8.best.bestt._width = 145;
klant8.best.bestt._x = -25;
klant9.best.bestt._width = 145;
klant9.best.bestt._x = -25;
Instance of Symbol 307 MovieClip "tijd" in Frame 53
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score12;
verwijder();
}
if ((_root.time == 0) && (_root.score12 < 120)) {
_root.gotoAndStop(54);
}
if ((_root.time == 0) && (_root.score12 > 120)) {
_root.gotoAndStop(55);
}
if ((_root.time == 0) && (_root.score12 == 120)) {
_root.gotoAndStop(55);
}
if (_root.time == 89) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 78) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 70) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop12.onRelease = function () {
_root.score = _root.score + _root.score12;
verwijder();
if (_root.score12 < 120) {
_root.gotoAndStop(54);
}
if (_root.score12 > 120) {
_root.gotoAndStop(55);
}
if (_root.score12 == 120) {
_root.gotoAndStop(55);
}
};
}
Frame 54
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 55
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 56
stop();
_root.time = 90;
_root.score13 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "13";
_root.klant1.time_total = "21";
_root.klant2.time_total = "21";
_root.klant3.time_total = "21";
_root.klant4.time_total = "21";
_root.klant5.time_total = "21";
_root.klant6.time_total = "21";
_root.klant7.time_total = "21";
_root.klant8.time_total = "21";
_root.klant9.time_total = "21";
_root.klant10.time_total = "21";
onEnterFrame = function () {
if (_root.score13 <= 0) {
_root.score13 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score13 = score13 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1cabm", "2dabm", "3eabm", "1facm", "2gacm", "3hacm", "1iadm", "2jadm", "3badm", "1caem", "2daem", "3faem", "1gafm", "2hafm", "3iafm", "1jagm", "2bagm", "3cagm", "1dahm", "2eahm", "3fahm", "1gbam", "2hbam", "3ibam", "1jbcm", "2abcm", "3dbcm", "1ebdm", "2fbdm", "3gbdm", "1hbem", "2ibem", "3jbem", "1abfm", "2cbfm", "3dbfm", "1ebgm", "2fbgm", "3hbgm", "1ibhm", "2jbhm", "3abhm", "1icam", "2jcam", "3bcam", "1dcbm", "2ecbm", "3fcbm", "1gcdm", "2hcdm", "3icdm", "1jcem", "2acem", "3bcem", "1dcfm", "2ecfm", "3gcfm", "1hcgm", "2icgm", "3jcgm", "1achm", "2bchm", "3dchm", "1edam", "2fdam", "3gdam", "1hdbm", "2idbm", "3jdbm", "1adcm", "2bdcm", "3edcm", "1fdem", "2gdem", "3hdem", "1idfm", "2jdfm", "3adfm", "1bdgm", "2cdgm", "3edgm", "1fdhm", "2gdhm", "3idhm", "1jeam", "2beam", "3ceam", "1debm", "2febm", "3gebm", "1hecm", "2iecm", "3jecm", "1aedm", "2bedm", "3cedm", "1defm", "2gefm", "3hefm", "1iegm", "2jegm", "3aegm", "1behm", "2cehm", "3dehm", "1efam", "2gfam", "3hfam", "1ifbm", "2jfbm", "3afbm", "1bfcm", "2dfcm", "3efcm", "1gfdm", "2hfdm", "3ifdm", "1jfem", "2afem", "3bfem", "1cfgm", "2dfgm", "3efgm", "1gfhm", "2ifhm", "3jfhm", "1bgam", "2cgam", "3dgam", "1egbm", "2fgbm", "3hgbm", "1igcm", "2jgcm", "3agcm", "1bgdm", "2cgdm", "3egdm", "1fgem", "2hgem", "3igem", "1jgfm", "2agfm", "3bgfm", "1cghm", "2dghm", "3eghm", "1cham", "2dham", "3eham", "1fhbm", "2ghbm", "3ihbm", "1jhcm", "2ahcm", "3bhcm", "1chdm", "2ehdm", "3fhdm", "1ghem", "2ihem", "3jhem", "1ahfm", "2bhfm", "3chfm", "1dhgm", "2ehgm", "3fhgm", "1ghim", "2jhim", "3ahim", "1bhjm", "2chjm", "3dhjm", "1biam", "2ciam", "3diam", "1eibm", "2fibm", "3gibm", "1hicm", "2jicm", "3aicm", "1bidm", "2cidm", "3eidm", "1fiem", "2giem", "3hiem", "1jifm", "2aifm", "3bifm", "1cigm", "2digm", "3eigm", "1fihm", "2gihm", "3jihm", "1aijm", "2bijm", "3cijm", "1bjam", "2cjam", "3ejam", "1djbm", "2fjbm", "3gjbm", "1hjcm", "2ejcm", "3ajcm", "1bjdm", "2cjdm", "3ejdm", "1fjem", "2gjem", "3hjem", "1ijfm", "2ajfm", "3bjfm", "1djgm", "2cjgm", "3ejgm", "1fjim", "2ajim", "3bjim", "1cjhm", "2djhm", "3ejhm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score13 = score13 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score13 = score13 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score13 = score13 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score13 = score13 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score13 = score13 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score13 = score13 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score13 = score13 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score13 = score13 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score13 = score13 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score13 = score13 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
klant1.best.bestt._width = 145;
klant1.best.bestt._x = -25;
klant2.best.bestt._width = 145;
klant2.best.bestt._x = -25;
klant3.best.bestt._width = 145;
klant3.best.bestt._x = -25;
klant4.best.bestt._width = 145;
klant4.best.bestt._x = -25;
klant5.best.bestt._width = 145;
klant5.best.bestt._x = -25;
klant6.best.bestt._width = 145;
klant6.best.bestt._x = -25;
klant7.best.bestt._width = 145;
klant7.best.bestt._x = -25;
klant8.best.bestt._width = 145;
klant8.best.bestt._x = -25;
klant9.best.bestt._width = 145;
klant9.best.bestt._x = -25;
klant10.best.bestt._width = 145;
klant10.best.bestt._x = -25;
Instance of Symbol 307 MovieClip "tijd" in Frame 56
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score13;
verwijder();
}
if ((_root.time == 0) && (_root.score13 < 135)) {
_root.gotoAndStop(57);
}
if ((_root.time == 0) && (_root.score13 > 135)) {
_root.gotoAndStop(58);
}
if ((_root.time == 0) && (_root.score13 == 135)) {
_root.gotoAndStop(58);
}
if (_root.time == 90) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 85) {
_root.klant10.gotoAndStop(2);
}
if (_root.time == 75) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 65) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant1.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop13.onRelease = function () {
_root.score = _root.score + _root.score13;
verwijder();
if (_root.score13 < 135) {
_root.gotoAndStop(57);
}
if (_root.score13 > 135) {
_root.gotoAndStop(58);
}
if (_root.score13 == 135) {
_root.gotoAndStop(58);
}
};
}
Frame 57
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 58
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 59
stop();
_root.time = 90;
_root.score14 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "14";
_root.klant1.time_total = "21";
_root.klant2.time_total = "21";
_root.klant3.time_total = "21";
_root.klant4.time_total = "21";
_root.klant5.time_total = "21";
_root.klant6.time_total = "21";
_root.klant7.time_total = "21";
_root.klant8.time_total = "21";
_root.klant9.time_total = "21";
_root.klant10.time_total = "21";
_root.klant11.time_total = "21";
onEnterFrame = function () {
if (_root.score14 <= 0) {
_root.score14 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score14 = score14 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1cabm", "2dabm", "3eabm", "1facm", "2gacm", "3hacm", "1iadm", "2jadm", "3badm", "1caem", "2daem", "3faem", "1gafm", "2hafm", "3iafm", "1jagm", "2bagm", "3cagm", "1dahm", "2eahm", "3fahm", "1gbam", "2hbam", "3ibam", "1jbcm", "2abcm", "3dbcm", "1ebdm", "2fbdm", "3gbdm", "1hbem", "2ibem", "3jbem", "1abfm", "2cbfm", "3dbfm", "1ebgm", "2fbgm", "3hbgm", "1ibhm", "2jbhm", "3abhm", "1icam", "2jcam", "3bcam", "1dcbm", "2ecbm", "3fcbm", "1gcdm", "2hcdm", "3icdm", "1jcem", "2acem", "3bcem", "1dcfm", "2ecfm", "3gcfm", "1hcgm", "2icgm", "3jcgm", "1achm", "2bchm", "3dchm", "1edam", "2fdam", "3gdam", "1hdbm", "2idbm", "3jdbm", "1adcm", "2bdcm", "3edcm", "1fdem", "2gdem", "3hdem", "1idfm", "2jdfm", "3adfm", "1bdgm", "2cdgm", "3edgm", "1fdhm", "2gdhm", "3idhm", "1jeam", "2beam", "3ceam", "1debm", "2febm", "3gebm", "1hecm", "2iecm", "3jecm", "1aedm", "2bedm", "3cedm", "1defm", "2gefm", "3hefm", "1iegm", "2jegm", "3aegm", "1behm", "2cehm", "3dehm", "1efam", "2gfam", "3hfam", "1ifbm", "2jfbm", "3afbm", "1bfcm", "2dfcm", "3efcm", "1gfdm", "2hfdm", "3ifdm", "1jfem", "2afem", "3bfem", "1cfgm", "2dfgm", "3efgm", "1gfhm", "2ifhm", "3jfhm", "1bgam", "2cgam", "3dgam", "1egbm", "2fgbm", "3hgbm", "1igcm", "2jgcm", "3agcm", "1bgdm", "2cgdm", "3egdm", "1fgem", "2hgem", "3igem", "1jgfm", "2agfm", "3bgfm", "1cghm", "2dghm", "3eghm", "1cham", "2dham", "3eham", "1fhbm", "2ghbm", "3ihbm", "1jhcm", "2ahcm", "3bhcm", "1chdm", "2ehdm", "3fhdm", "1ghem", "2ihem", "3jhem", "1ahfm", "2bhfm", "3chfm", "1dhgm", "2ehgm", "3fhgm", "1ghim", "2jhim", "3ahim", "1bhjm", "2chjm", "3dhjm", "1biam", "2ciam", "3diam", "1eibm", "2fibm", "3gibm", "1hicm", "2jicm", "3aicm", "1bidm", "2cidm", "3eidm", "1fiem", "2giem", "3hiem", "1jifm", "2aifm", "3bifm", "1cigm", "2digm", "3eigm", "1fihm", "2gihm", "3jihm", "1aijm", "2bijm", "3cijm", "1bjam", "2cjam", "3ejam", "1djbm", "2fjbm", "3gjbm", "1hjcm", "2ejcm", "3ajcm", "1bjdm", "2cjdm", "3ejdm", "1fjem", "2gjem", "3hjem", "1ijfm", "2ajfm", "3bjfm", "1djgm", "2cjgm", "3ejgm", "1fjim", "2ajim", "3bjim", "1cjhm", "2djhm", "3ejhm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score14 = score14 + 15;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score14 = score14 + 15;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score14 = score14 + 15;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score14 = score14 + 15;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score14 = score14 + 15;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score14 = score14 + 15;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score14 = score14 + 15;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score14 = score14 + 15;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score14 = score14 + 15;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score14 = score14 + 15;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score14 = score14 + 15;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
klant1.best.bestt._width = 145;
klant1.best.bestt._x = -25;
klant2.best.bestt._width = 145;
klant2.best.bestt._x = -25;
klant3.best.bestt._width = 145;
klant3.best.bestt._x = -25;
klant4.best.bestt._width = 145;
klant4.best.bestt._x = -25;
klant5.best.bestt._width = 145;
klant5.best.bestt._x = -25;
klant6.best.bestt._width = 145;
klant6.best.bestt._x = -25;
klant7.best.bestt._width = 145;
klant7.best.bestt._x = -25;
klant8.best.bestt._width = 145;
klant8.best.bestt._x = -25;
klant9.best.bestt._width = 145;
klant9.best.bestt._x = -25;
klant10.best.bestt._width = 145;
klant10.best.bestt._x = -25;
klant11.best.bestt._width = 145;
klant11.best.bestt._x = -25;
Instance of Symbol 307 MovieClip "tijd" in Frame 59
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score14;
verwijder();
}
if ((_root.time == 0) && (_root.score14 < 150)) {
_root.gotoAndStop(60);
}
if ((_root.time == 0) && (_root.score14 > 150)) {
_root.gotoAndStop(61);
}
if ((_root.time == 0) && (_root.score14 == 150)) {
_root.gotoAndStop(61);
}
if (_root.time == 90) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 85) {
_root.klant10.gotoAndStop(2);
}
if (_root.time == 75) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 65) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
if (_root.time == 40) {
_root.klant1.gotoAndStop(2);
}
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 18) {
_root.klant11.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop14.onRelease = function () {
_root.score = _root.score + _root.score14;
verwijder();
if (_root.score14 < 150) {
_root.gotoAndStop(60);
}
if (_root.score14 > 150) {
_root.gotoAndStop(61);
}
if (_root.score14 == 150) {
_root.gotoAndStop(61);
}
};
}
Frame 60
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 61
stop();
nextt.onRelease = function () {
nextFrame();
};
stoppenenopslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 62
stop();
_root.time = 90;
_root.score15 = 0;
_root.shake.bes = "";
_root.shake2.bes = "";
_root.klant1.best.eis = "";
_root.uitkomst = "";
_root.dag = "15";
_root.klant1.time_total = "21";
_root.klant2.time_total = "21";
_root.klant3.time_total = "21";
_root.klant4.time_total = "21";
_root.klant5.time_total = "21";
_root.klant6.time_total = "21";
_root.klant7.time_total = "21";
_root.klant8.time_total = "21";
_root.klant9.time_total = "21";
_root.klant10.time_total = "21";
_root.klant11.time_total = "21";
_root.klant12.time_total = "21";
onEnterFrame = function () {
if (_root.score15 <= 0) {
_root.score15 = 0;
}
};
shake._x = -110;
shake._y = -370;
shake2._x = -110;
shake2._y = -370;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
app1._visible = true;
app2._visible = true;
app3._visible = true;
app21._visible = true;
app22._visible = true;
app23._visible = true;
geld1._visible = false;
geld2._visible = false;
geld3._visible = false;
geld4._visible = false;
geld5._visible = false;
geld6._visible = false;
geld7._visible = false;
geld8._visible = false;
geld9._visible = false;
geld10._visible = false;
geld11._visible = false;
geld12._visible = false;
geld13._visible = false;
geld14._visible = false;
geld15._visible = false;
geld16._visible = false;
geld17._visible = false;
geld18._visible = false;
geld19._visible = false;
geld20._visible = false;
shake.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart = "bezet";
} else {
tstart = "vrij";
}
if (this.hitTest(fruit)) {
tfruit = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit = "vrij";
}
if (this.hitTest(einde)) {
teinde = "bezet";
appmix._visible = true;
} else {
teinde = "vrij";
}
};
shake2.onEnterFrame = function () {
if (this.hitTest(startt)) {
tstart2 = "bezet";
} else {
tstart2 = "vrij";
}
if (this.hitTest(fruit)) {
tfruit2 = "bezet";
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
} else {
tfruit2 = "vrij";
}
if (this.hitTest(einde)) {
teinde2 = "bezet";
appmix._visible = true;
} else {
teinde2 = "vrij";
}
};
shake.onPress = function () {
startDrag (this);
};
shake.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 74;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit2 == "bezet") {
this._x = 74;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde2 == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app1._visible = false;
_root.app2._visible = false;
_root.app3._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant1.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant2.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant3.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant4.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant5.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant6.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant7.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant8.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant9.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant10.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant11.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant12.gotoAndPlay(116);
opruimen();
}
}
}
if (_root.klant20._x <= 655) {
if (this.hitTest(klant20.body)) {
if (_root.shake.bes == lijst[random20]) {
_root.uitkomst = "goed";
}
if (_root.shake.bes != lijst[random20]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld20._visible = true;
geld20.gotoAndPlay(2);
klant20.gotoAndPlay(85);
opruimen();
_root.shake.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant20.gotoAndPlay(116);
opruimen();
}
}
}
};
shake2.onPress = function () {
startDrag (this);
};
shake2.onRelease = function () {
stopDrag();
if (this.hitTest(_root.prullenbak)) {
opruimen2();
_root.prullenbak.gotoAndPlay(2);
}
if (this.hitTest(_root.startt)) {
this._x = 129.5;
this._y = 400;
}
if (this.hitTest(_root.fruit)) {
if (tfruit == "bezet") {
this._x = 129.5;
this._y = 400;
} else {
this._x = 352;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = true;
appb._visible = true;
appc._visible = true;
appd._visible = true;
appe._visible = true;
appf._visible = true;
appg._visible = true;
apph._visible = true;
appi._visible = true;
appj._visible = true;
appmix._visible = false;
}
}
if (this.hitTest(_root.einde)) {
if (teinde == "bezet") {
this._x = 352;
this._y = 400;
} else {
this._x = 605;
this._y = 400;
_root.app21._visible = false;
_root.app22._visible = false;
_root.app23._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = true;
}
}
if (_root.klant1._x >= 100) {
if (this.hitTest(klant1.body)) {
if (_root.shake2.bes == lijst[random1]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random1]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld1._visible = true;
geld1.gotoAndPlay(2);
klant1.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant1.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant2._x >= 280) {
if (this.hitTest(klant2.body)) {
if (_root.shake2.bes == lijst[random2]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random2]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld2._visible = true;
geld2.gotoAndPlay(2);
klant2.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant2.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant3._x <= 470) {
if (this.hitTest(klant3.body)) {
if (_root.shake2.bes == lijst[random3]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random3]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld3._visible = true;
geld3.gotoAndPlay(2);
klant3.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant3.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant4._x <= 655) {
if (this.hitTest(klant4.body)) {
if (_root.shake2.bes == lijst[random4]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random4]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld4._visible = true;
geld4.gotoAndPlay(2);
klant4.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant4.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant5._x >= 100) {
if (this.hitTest(klant5.body)) {
if (_root.shake2.bes == lijst[random5]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random5]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld5._visible = true;
geld5.gotoAndPlay(2);
klant5.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant5.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant6._x >= 280) {
if (this.hitTest(klant6.body)) {
if (_root.shake2.bes == lijst[random6]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random6]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld6._visible = true;
geld6.gotoAndPlay(2);
klant6.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant6.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant7._x <= 470) {
if (this.hitTest(klant7.body)) {
if (_root.shake2.bes == lijst[random7]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random7]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld7._visible = true;
geld7.gotoAndPlay(2);
klant7.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant7.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant8._x <= 655) {
if (this.hitTest(klant8.body)) {
if (_root.shake2.bes == lijst[random8]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random8]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld8._visible = true;
geld8.gotoAndPlay(2);
klant8.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant8.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant9._x >= 100) {
if (this.hitTest(klant9.body)) {
if (_root.shake2.bes == lijst[random9]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random9]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld9._visible = true;
geld9.gotoAndPlay(2);
klant9.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant9.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant10._x >= 280) {
if (this.hitTest(klant10.body)) {
if (_root.shake2.bes == lijst[random10]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random10]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld10._visible = true;
geld10.gotoAndPlay(2);
klant10.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant10.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant11._x <= 470) {
if (this.hitTest(klant11.body)) {
if (_root.shake2.bes == lijst[random11]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random11]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld11._visible = true;
geld11.gotoAndPlay(2);
klant11.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant11.gotoAndPlay(116);
opruimen2();
}
}
}
if (_root.klant12._x <= 655) {
if (this.hitTest(klant12.body)) {
if (_root.shake2.bes == lijst[random12]) {
_root.uitkomst = "goed";
}
if (_root.shake2.bes != lijst[random12]) {
_root.uitkomst = "fout";
}
if (_root.uitkomst == "goed") {
geld12._visible = true;
geld12.gotoAndPlay(2);
klant12.gotoAndPlay(85);
opruimen2();
_root.shake2.gotoAndStop(1);
}
if (_root.uitkomst == "fout") {
score15 = score15 - 20;
klant12.gotoAndPlay(116);
opruimen2();
}
}
}
};
_root.appmix.onRelease = function () {
appmix._visible = false;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
if (_root.shake.hitTest(einde)) {
_root.shake.bes = _root.shake.bes + "m";
if ((_root.shake.drie._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(20);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.drie._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(40);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(30);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.twee._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(50);
}
if ((_root.shake.een._visible == true) && (_root.shake.vier._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.vijf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.negen._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.tien._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.twaalf._visible == true)) {
_root.shake.gotoAndPlay(60);
}
if ((_root.shake.een._visible == true) && (_root.shake.zes._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.zeven._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.acht._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.elf._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if ((_root.shake.een._visible == true) && (_root.shake.dertien._visible == true)) {
_root.shake.gotoAndPlay(70);
}
if (_root.shake.een._visible == true) {
_root.shake.gotoAndPlay(80);
}
if (_root.shake.twee._visible == true) {
_root.shake.gotoAndPlay(90);
}
if (_root.shake.drie._visible == true) {
_root.shake.gotoAndPlay(100);
}
}
if (_root.shake2.hitTest(einde)) {
_root.shake2.bes = _root.shake2.bes + "m";
if ((_root.shake2.drie._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(20);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.drie._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(40);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(30);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.twee._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(50);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vier._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.vijf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.negen._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.tien._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.twaalf._visible == true)) {
_root.shake2.gotoAndPlay(60);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zes._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.zeven._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.acht._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.elf._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if ((_root.shake2.een._visible == true) && (_root.shake2.dertien._visible == true)) {
_root.shake2.gotoAndPlay(70);
}
if (_root.shake2.een._visible == true) {
_root.shake2.gotoAndPlay(80);
}
if (_root.shake2.twee._visible == true) {
_root.shake2.gotoAndPlay(90);
}
if (_root.shake2.drie._visible == true) {
_root.shake2.gotoAndPlay(100);
}
}
};
app1.onRelease = function () {
this._visible = false;
app2._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "1";
_root.shake.een._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app21.onRelease = function () {
this._visible = false;
app22._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "1";
_root.shake2.een._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app2.onRelease = function () {
this._visible = false;
app1._visible = false;
app3._visible = false;
_root.shake.bes = _root.shake.bes + "2";
_root.shake.twee._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app22.onRelease = function () {
this._visible = false;
app21._visible = false;
app23._visible = false;
_root.shake2.bes = _root.shake2.bes + "2";
_root.shake2.twee._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
app3.onRelease = function () {
this._visible = false;
app2._visible = false;
app1._visible = false;
_root.shake.bes = _root.shake.bes + "3";
_root.shake.drie._visible = true;
_root.shake._x = 74;
_root.shake._y = 400;
};
app23.onRelease = function () {
this._visible = false;
app22._visible = false;
app21._visible = false;
_root.shake2.bes = _root.shake2.bes + "3";
_root.shake2.drie._visible = true;
_root.shake2._x = 129.5;
_root.shake2._y = 400;
};
appa.onRelease = function () {
appa._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "a";
_root.shake.vier._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "a";
_root.shake2.vier._visible = true;
}
};
appb.onRelease = function () {
appb._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "b";
_root.shake.vijf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "b";
_root.shake2.vijf._visible = true;
}
};
appc.onRelease = function () {
appc._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "c";
_root.shake.zes._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "c";
_root.shake2.zes._visible = true;
}
};
appd.onRelease = function () {
appd._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "d";
_root.shake.zeven._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "d";
_root.shake2.zeven._visible = true;
}
};
appe.onRelease = function () {
appe._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "e";
_root.shake.acht._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "e";
_root.shake2.acht._visible = true;
}
};
appf.onRelease = function () {
appf._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "f";
_root.shake.negen._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "f";
_root.shake2.negen._visible = true;
}
};
appg.onRelease = function () {
appg._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "g";
_root.shake.tien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "g";
_root.shake2.tien._visible = true;
}
};
apph.onRelease = function () {
apph._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "h";
_root.shake.elf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "h";
_root.shake2.elf._visible = true;
}
};
appi.onRelease = function () {
appi._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "i";
_root.shake.twaalf._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "i";
_root.shake2.twaalf._visible = true;
}
};
appj.onRelease = function () {
appj._visible = false;
if (_root.shake.hitTest(_root.fruit)) {
_root.shake.bes = _root.shake.bes + "j";
_root.shake.dertien._visible = true;
}
if (_root.shake2.hitTest(_root.fruit)) {
_root.shake2.bes = _root.shake2.bes + "j";
_root.shake2.dertien._visible = true;
}
};
var opruimen = function () {
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.bes = "";
_root.app1._visible = true;
_root.app2._visible = true;
_root.app3._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake._x = -100;
_root.shake._y = -100;
};
var opruimen2 = function () {
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.bes = "";
_root.app21._visible = true;
_root.app22._visible = true;
_root.app23._visible = true;
appa._visible = false;
appb._visible = false;
appc._visible = false;
appd._visible = false;
appe._visible = false;
appf._visible = false;
appg._visible = false;
apph._visible = false;
appi._visible = false;
appj._visible = false;
appmix._visible = false;
_root.shake2.gotoAndStop(1);
_root.einde.gotoAndStop(1);
_root.shake2._x = -100;
_root.shake2._y = -100;
};
var lijst = new Array("1cabm", "2dabm", "3eabm", "1facm", "2gacm", "3hacm", "1iadm", "2jadm", "3badm", "1caem", "2daem", "3faem", "1gafm", "2hafm", "3iafm", "1jagm", "2bagm", "3cagm", "1dahm", "2eahm", "3fahm", "1gbam", "2hbam", "3ibam", "1jbcm", "2abcm", "3dbcm", "1ebdm", "2fbdm", "3gbdm", "1hbem", "2ibem", "3jbem", "1abfm", "2cbfm", "3dbfm", "1ebgm", "2fbgm", "3hbgm", "1ibhm", "2jbhm", "3abhm", "1icam", "2jcam", "3bcam", "1dcbm", "2ecbm", "3fcbm", "1gcdm", "2hcdm", "3icdm", "1jcem", "2acem", "3bcem", "1dcfm", "2ecfm", "3gcfm", "1hcgm", "2icgm", "3jcgm", "1achm", "2bchm", "3dchm", "1edam", "2fdam", "3gdam", "1hdbm", "2idbm", "3jdbm", "1adcm", "2bdcm", "3edcm", "1fdem", "2gdem", "3hdem", "1idfm", "2jdfm", "3adfm", "1bdgm", "2cdgm", "3edgm", "1fdhm", "2gdhm", "3idhm", "1jeam", "2beam", "3ceam", "1debm", "2febm", "3gebm", "1hecm", "2iecm", "3jecm", "1aedm", "2bedm", "3cedm", "1defm", "2gefm", "3hefm", "1iegm", "2jegm", "3aegm", "1behm", "2cehm", "3dehm", "1efam", "2gfam", "3hfam", "1ifbm", "2jfbm", "3afbm", "1bfcm", "2dfcm", "3efcm", "1gfdm", "2hfdm", "3ifdm", "1jfem", "2afem", "3bfem", "1cfgm", "2dfgm", "3efgm", "1gfhm", "2ifhm", "3jfhm", "1bgam", "2cgam", "3dgam", "1egbm", "2fgbm", "3hgbm", "1igcm", "2jgcm", "3agcm", "1bgdm", "2cgdm", "3egdm", "1fgem", "2hgem", "3igem", "1jgfm", "2agfm", "3bgfm", "1cghm", "2dghm", "3eghm", "1cham", "2dham", "3eham", "1fhbm", "2ghbm", "3ihbm", "1jhcm", "2ahcm", "3bhcm", "1chdm", "2ehdm", "3fhdm", "1ghem", "2ihem", "3jhem", "1ahfm", "2bhfm", "3chfm", "1dhgm", "2ehgm", "3fhgm", "1ghim", "2jhim", "3ahim", "1bhjm", "2chjm", "3dhjm", "1biam", "2ciam", "3diam", "1eibm", "2fibm", "3gibm", "1hicm", "2jicm", "3aicm", "1bidm", "2cidm", "3eidm", "1fiem", "2giem", "3hiem", "1jifm", "2aifm", "3bifm", "1cigm", "2digm", "3eigm", "1fihm", "2gihm", "3jihm", "1aijm", "2bijm", "3cijm", "1bjam", "2cjam", "3ejam", "1djbm", "2fjbm", "3gjbm", "1hjcm", "2ejcm", "3ajcm", "1bjdm", "2cjdm", "3ejdm", "1fjem", "2gjem", "3hjem", "1ijfm", "2ajfm", "3bjfm", "1djgm", "2cjgm", "3ejgm", "1fjim", "2ajim", "3bjim", "1cjhm", "2djhm", "3ejhm");
var random1 = Math.floor(Math.random() * lijst.length);
var random2 = Math.floor(Math.random() * lijst.length);
var random3 = Math.floor(Math.random() * lijst.length);
var random4 = Math.floor(Math.random() * lijst.length);
var random5 = Math.floor(Math.random() * lijst.length);
var random6 = Math.floor(Math.random() * lijst.length);
var random7 = Math.floor(Math.random() * lijst.length);
var random8 = Math.floor(Math.random() * lijst.length);
var random9 = Math.floor(Math.random() * lijst.length);
var random10 = Math.floor(Math.random() * lijst.length);
var random11 = Math.floor(Math.random() * lijst.length);
var random12 = Math.floor(Math.random() * lijst.length);
klant1.best.eis = lijst[random1];
klant2.best.eis = lijst[random2];
klant3.best.eis = lijst[random3];
klant4.best.eis = lijst[random4];
klant5.best.eis = lijst[random5];
klant6.best.eis = lijst[random6];
klant7.best.eis = lijst[random7];
klant8.best.eis = lijst[random8];
klant9.best.eis = lijst[random9];
klant10.best.eis = lijst[random10];
klant11.best.eis = lijst[random11];
klant12.best.eis = lijst[random12];
_root.klant1.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant1.best._visible = true;
_root.klant1.best.gotoAndPlay(2);
};
_root.klant2.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant2.best._visible = true;
_root.klant2.best.gotoAndPlay(2);
};
_root.klant3.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant3.best._visible = true;
_root.klant3.best.gotoAndPlay(2);
};
_root.klant4.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant4.best._visible = true;
_root.klant4.best.gotoAndPlay(2);
};
_root.klant5.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant5.best._visible = true;
_root.klant5.best.gotoAndPlay(2);
};
_root.klant6.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant6.best._visible = true;
_root.klant6.best.gotoAndPlay(2);
};
_root.klant7.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant7.best._visible = true;
_root.klant7.best.gotoAndPlay(2);
};
_root.klant8.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant8.best._visible = true;
_root.klant8.best.gotoAndPlay(2);
};
_root.klant9.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant9.best._visible = true;
_root.klant9.best.gotoAndPlay(2);
};
_root.klant10.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant10.best._visible = true;
_root.klant10.best.gotoAndPlay(2);
};
_root.klant11.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant11.best._visible = true;
_root.klant11.best.gotoAndPlay(2);
};
_root.klant12.onPress = function () {
_root.geluid.gotoAndPlay(2);
_root.klant12.best._visible = true;
_root.klant12.best.gotoAndPlay(2);
};
geld1.onRelease = function () {
score15 = score15 + 30;
geld1.gotoAndPlay(250);
geld1._visible = false;
};
geld2.onRelease = function () {
score15 = score15 + 30;
geld2.gotoAndPlay(250);
geld2._visible = false;
};
geld3.onRelease = function () {
score15 = score15 + 30;
geld3.gotoAndPlay(250);
geld3._visible = false;
};
geld4.onRelease = function () {
score15 = score15 + 30;
geld4.gotoAndPlay(250);
geld4._visible = false;
};
geld5.onRelease = function () {
score15 = score15 + 30;
geld5.gotoAndPlay(250);
geld5._visible = false;
};
geld6.onRelease = function () {
score15 = score15 + 30;
geld6.gotoAndPlay(250);
geld6._visible = false;
};
geld7.onRelease = function () {
score15 = score15 + 30;
geld7.gotoAndPlay(250);
geld7._visible = false;
};
geld8.onRelease = function () {
score15 = score15 + 30;
geld8.gotoAndPlay(250);
geld8._visible = false;
};
geld9.onRelease = function () {
score15 = score15 + 30;
geld9.gotoAndPlay(250);
geld9._visible = false;
};
geld10.onRelease = function () {
score15 = score15 + 30;
geld10.gotoAndPlay(250);
geld10._visible = false;
};
geld11.onRelease = function () {
score15 = score15 + 30;
geld11.gotoAndPlay(250);
geld11._visible = false;
};
geld12.onRelease = function () {
score15 = score15 + 30;
geld12.gotoAndPlay(250);
geld12._visible = false;
};
klant1.best.bestt._width = 145;
klant1.best.bestt._x = -25;
klant2.best.bestt._width = 145;
klant2.best.bestt._x = -25;
klant3.best.bestt._width = 145;
klant3.best.bestt._x = -25;
klant4.best.bestt._width = 145;
klant4.best.bestt._x = -25;
klant5.best.bestt._width = 145;
klant5.best.bestt._x = -25;
klant6.best.bestt._width = 145;
klant6.best.bestt._x = -25;
klant7.best.bestt._width = 145;
klant7.best.bestt._x = -25;
klant8.best.bestt._width = 145;
klant8.best.bestt._x = -25;
klant9.best.bestt._width = 145;
klant9.best.bestt._x = -25;
klant10.best.bestt._width = 145;
klant10.best.bestt._x = -25;
klant11.best.bestt._width = 145;
klant11.best.bestt._x = -25;
klant12.best.bestt._width = 145;
klant12.best.bestt._x = -25;
Instance of Symbol 307 MovieClip "tijd" in Frame 62
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.score = _root.score + _root.score15;
verwijder();
}
if ((_root.time == 0) && (_root.score15 < 165)) {
_root.gotoAndStop(63);
}
if ((_root.time == 0) && (_root.score15 > 165)) {
_root.gotoAndStop(64);
}
if ((_root.time == 0) && (_root.score15 == 165)) {
_root.gotoAndStop(64);
}
if (_root.time == 90) {
_root.klant9.gotoAndStop(2);
}
if (_root.time == 85) {
_root.klant10.gotoAndStop(2);
}
if (_root.time == 80) {
_root.klant12.gotoAndStop(2);
}
if (_root.time == 75) {
_root.klant7.gotoAndStop(2);
}
if (_root.time == 65) {
_root.klant6.gotoAndStop(2);
}
if (_root.time == 60) {
_root.klant5.gotoAndStop(2);
}
if (_root.time == 55) {
_root.klant4.gotoAndStop(2);
}
if (_root.time == 45) {
_root.klant2.gotoAndStop(2);
}
if (_root.time == 40) {
_root.klant1.gotoAndStop(2);
}
if (_root.time == 35) {
_root.klant3.gotoAndStop(2);
}
if (_root.time == 30) {
_root.klant8.gotoAndStop(2);
}
if (_root.time == 20) {
_root.klant11.gotoAndStop(2);
}
var verwijder = function () {
clearInterval(_root.klant1.intervalID);
clearInterval(_root.klant2.intervalID);
clearInterval(_root.klant3.intervalID);
clearInterval(_root.klant4.intervalID);
clearInterval(_root.klant5.intervalID);
clearInterval(_root.klant6.intervalID);
clearInterval(_root.klant7.intervalID);
clearInterval(_root.klant8.intervalID);
clearInterval(_root.klant9.intervalID);
clearInterval(_root.klant10.intervalID);
clearInterval(_root.klant11.intervalID);
clearInterval(_root.klant12.intervalID);
_root.klant1.swapDepths(this.getNextHighestDepth());
_root.klant1.removeMovieClip();
_root.klant2.swapDepths(this.getNextHighestDepth());
_root.klant2.removeMovieClip();
_root.klant3.swapDepths(this.getNextHighestDepth());
_root.klant3.removeMovieClip();
_root.klant4.swapDepths(this.getNextHighestDepth());
_root.klant4.removeMovieClip();
_root.klant5.swapDepths(this.getNextHighestDepth());
_root.klant5.removeMovieClip();
_root.klant6.swapDepths(this.getNextHighestDepth());
_root.klant6.removeMovieClip();
_root.klant7.swapDepths(this.getNextHighestDepth());
_root.klant7.removeMovieClip();
_root.klant8.swapDepths(this.getNextHighestDepth());
_root.klant8.removeMovieClip();
_root.klant9.swapDepths(this.getNextHighestDepth());
_root.klant9.removeMovieClip();
_root.klant10.swapDepths(this.getNextHighestDepth());
_root.klant10.removeMovieClip();
_root.klant11.swapDepths(this.getNextHighestDepth());
_root.klant11.removeMovieClip();
_root.klant12.swapDepths(this.getNextHighestDepth());
_root.klant12.removeMovieClip();
_root.klok.swapDepths(this.getNextHighestDepth());
_root.klok.removeMovieClip();
};
_root.stop15.onRelease = function () {
_root.score = _root.score + _root.score15;
verwijder();
if (_root.score15 < 165) {
_root.gotoAndStop(63);
}
if (_root.score15 > 165) {
_root.gotoAndStop(64);
}
if (_root.score15 == 165) {
_root.gotoAndStop(64);
}
};
}
Frame 63
stop();
opnieuw.onRelease = function () {
_root.s1.stop();
_root.s0.start();
_root.gotoAndStop(5);
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 64
stop();
nextt.onRelease = function () {
nextFrame();
};
opslaan.onRelease = function () {
_root.gotoAndStop(70);
};
Frame 65
var s0 = new Sound(soundmenu);
s0.attachSound("soundmenu");
s0.onSoundComplete = function () {
s0.start();
};
var s1 = new Sound(soundspel);
s1.attachSound("soundspel");
s1.onSoundComplete = function () {
s1.start();
};
s1.stop();
s0.start();
Frame 70
stop();
naamfout._visible = false;
naam.text = "";
savee.onRelease = function () {
if (naam.text == "") {
naamfout._visible = true;
} else {
naamfout._visible = false;
ontvang = new LoadVars();
teverzendenGegevens = new LoadVars();
teverzendenGegevens.level = dag;
teverzendenGegevens.score = score;
teverzendenGegevens.name = naam.text;
teverzendenGegevens.sendAndLoad("highscore_add2.php", ontvang, "POST");
_root.gotoAndStop(71);
}
};
Frame 71
stop();
menu.onRelease = function () {
_root.s1.stop();
_root.s0.play();
_root.gotoAndStop(5);
};
kijkhigh.onRelease = function () {
_root.gotoAndStop(75);
};
Frame 75
stop();
fout._visible = false;
veld2._visible = true;
veld3._visible = true;
veld4._visible = true;
veld2.htmlText = "";
veld3.htmlText = "";
veld4.htmlText = "";
menu.onRelease = function () {
_root.s1.stop();
_root.s0.play();
_root.gotoAndStop(5);
};
var my_lv2 = new LoadVars();
my_lv2.onData = function (str) {
veld2.html = true;
veld2.htmlText = str;
trace(str);
if (str == undefined) {
fout._visible = true;
veld2._visible = false;
veld3._visible = false;
veld4._visible = false;
}
};
my_lv2.load("highscore_view2.php");
var my_lvv3 = new LoadVars();
my_lvv3.onData = function (str) {
veld3.html = true;
veld3.htmlText = str;
if (str == undefined) {
fout._visible = true;
veld2._visible = false;
veld3._visible = false;
veld4._visible = false;
}
};
my_lvv3.load("highscore_view3.php");
var my_lvv4 = new LoadVars();
my_lvv4.onData = function (str) {
veld4.html = true;
veld4.htmlText = str;
if (str == undefined) {
fout._visible = true;
veld2._visible = false;
veld3._visible = false;
veld4._visible = false;
}
};
my_lvv4.load("highscore_view4.php");
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
function laden(randomGetal) {
var _local6 = this.eis.toString().split("");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local5 = "afb" + _local6[_local2];
var _local4 = "item" + _local2;
var _local3 = wolkje.attachMovie(_local5, _local4, wolkje.getNextHighestDepth());
_local3._x = -72 + (_local2 * spacer);
_local3._y = -80;
_local2++;
}
}
var wolkje = this.createEmptyMovieClip("wolkje", this.getNextHighestDepth());
var spacer = 32;
laden();
Symbol 42 MovieClip Frame 55
this._visible = false;
this.gotoAndStop(1);
Symbol 49 MovieClip [klant13] Frame 1
stop();
best._visible = false;
Symbol 49 MovieClip [klant13] Frame 2
function countDown() {
_root.klant13.time_total = _root.klant13.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant13.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant13.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant13.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant13.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant13.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant13._x < 100) {
_root.klant13._x = _root.klant13._x + i;
}
};
stop();
Symbol 49 MovieClip [klant13] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 49 MovieClip [klant13] Frame 84
stop();
Symbol 49 MovieClip [klant13] Frame 85
clearInterval(this.intervalID);
Symbol 49 MovieClip [klant13] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 49 MovieClip [klant13] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 54 MovieClip [klant17] Frame 1
stop();
best._visible = false;
Symbol 54 MovieClip [klant17] Frame 2
function countDown() {
_root.klant17.time_total = _root.klant17.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant17.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant17.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant17.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant17.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant17.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant17._x < 100) {
_root.klant17._x = _root.klant17._x + i;
}
};
stop();
Symbol 54 MovieClip [klant17] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 54 MovieClip [klant17] Frame 84
stop();
Symbol 54 MovieClip [klant17] Frame 85
clearInterval(this.intervalID);
Symbol 54 MovieClip [klant17] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
Symbol 54 MovieClip [klant17] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 61 MovieClip [klant14] Frame 1
stop();
best._visible = false;
Symbol 61 MovieClip [klant14] Frame 2
function countDown() {
_root.klant14.time_total = _root.klant14.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant14.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant14.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant14.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant14.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant14.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant14._x < 280) {
_root.klant14._x = _root.klant14._x + i;
}
};
stop();
Symbol 61 MovieClip [klant14] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 61 MovieClip [klant14] Frame 84
stop();
Symbol 61 MovieClip [klant14] Frame 85
clearInterval(this.intervalID);
Symbol 61 MovieClip [klant14] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 61 MovieClip [klant14] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 63 MovieClip [klant18] Frame 1
stop();
best._visible = false;
Symbol 63 MovieClip [klant18] Frame 2
function countDown() {
_root.klant18.time_total = _root.klant18.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant18.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant18.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant18.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant18.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant18.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant18._x < 280) {
_root.klant18._x = _root.klant18._x + i;
}
};
stop();
Symbol 63 MovieClip [klant18] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 63 MovieClip [klant18] Frame 84
stop();
Symbol 63 MovieClip [klant18] Frame 85
clearInterval(this.intervalID);
Symbol 63 MovieClip [klant18] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 63 MovieClip [klant18] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 68 MovieClip [klant20] Frame 1
stop();
best._visible = false;
Symbol 68 MovieClip [klant20] Frame 2
function countDown() {
_root.klant20.time_total = _root.klant20.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant20.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant20.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant20.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant20.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant20.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant20._x > 655) {
_root.klant20._x = _root.klant20._x - i;
}
};
stop();
Symbol 68 MovieClip [klant20] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 68 MovieClip [klant20] Frame 84
stop();
Symbol 68 MovieClip [klant20] Frame 85
clearInterval(this.intervalID);
Symbol 68 MovieClip [klant20] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
Symbol 68 MovieClip [klant20] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 70 MovieClip [klant15] Frame 1
stop();
best._visible = false;
Symbol 70 MovieClip [klant15] Frame 2
function countDown() {
_root.klant15.time_total = _root.klant15.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant15.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant15.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant15.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant15.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant15.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant15._x > 470) {
_root.klant15._x = _root.klant15._x - i;
}
};
stop();
Symbol 70 MovieClip [klant15] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 70 MovieClip [klant15] Frame 84
stop();
Symbol 70 MovieClip [klant15] Frame 85
clearInterval(this.intervalID);
Symbol 70 MovieClip [klant15] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
Symbol 70 MovieClip [klant15] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 72 MovieClip [klant16] Frame 1
stop();
best._visible = false;
Symbol 72 MovieClip [klant16] Frame 2
function countDown() {
_root.klant16.time_total = _root.klant16.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant16.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant16.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant16.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant16.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant16.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant16._x > 655) {
_root.klant16._x = _root.klant16._x - i;
}
};
stop();
Symbol 72 MovieClip [klant16] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 72 MovieClip [klant16] Frame 84
stop();
Symbol 72 MovieClip [klant16] Frame 85
clearInterval(this.intervalID);
Symbol 72 MovieClip [klant16] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
Symbol 72 MovieClip [klant16] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 74 MovieClip [klant19] Frame 1
stop();
best._visible = false;
Symbol 74 MovieClip [klant19] Frame 2
function countDown() {
_root.klant19.time_total = _root.klant19.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant19.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant19.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant19.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant19.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant19.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant19._x > 470) {
_root.klant19._x = _root.klant19._x - i;
}
};
stop();
Symbol 74 MovieClip [klant19] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 74 MovieClip [klant19] Frame 84
stop();
Symbol 74 MovieClip [klant19] Frame 85
clearInterval(this.intervalID);
Symbol 74 MovieClip [klant19] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 74 MovieClip [klant19] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 76 MovieClip [klant9] Frame 1
stop();
best._visible = false;
Symbol 76 MovieClip [klant9] Frame 2
function countDown() {
_root.klant9.time_total = _root.klant9.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant9.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant9.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant9.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant9.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant9.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant9._x < 100) {
_root.klant9._x = _root.klant9._x + i;
}
};
stop();
Symbol 76 MovieClip [klant9] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 76 MovieClip [klant9] Frame 84
stop();
Symbol 76 MovieClip [klant9] Frame 85
clearInterval(this.intervalID);
Symbol 76 MovieClip [klant9] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 76 MovieClip [klant9] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 78 MovieClip [klant10] Frame 1
stop();
best._visible = false;
Symbol 78 MovieClip [klant10] Frame 2
function countDown() {
_root.klant10.time_total = _root.klant10.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant10.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant10.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant10.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant10.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant10.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant10._x < 280) {
_root.klant10._x = _root.klant10._x + i;
}
};
stop();
Symbol 78 MovieClip [klant10] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 78 MovieClip [klant10] Frame 84
stop();
Symbol 78 MovieClip [klant10] Frame 85
clearInterval(this.intervalID);
Symbol 78 MovieClip [klant10] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
Symbol 78 MovieClip [klant10] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 80 MovieClip [klant12] Frame 1
stop();
best._visible = false;
Symbol 80 MovieClip [klant12] Frame 2
function countDown() {
_root.klant12.time_total = _root.klant12.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant12.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant12.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant12.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant12.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant12.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant12._x > 655) {
_root.klant12._x = _root.klant12._x - i;
}
};
stop();
Symbol 80 MovieClip [klant12] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 80 MovieClip [klant12] Frame 84
stop();
Symbol 80 MovieClip [klant12] Frame 85
clearInterval(this.intervalID);
Symbol 80 MovieClip [klant12] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 80 MovieClip [klant12] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 82 MovieClip [klant11] Frame 1
stop();
best._visible = false;
Symbol 82 MovieClip [klant11] Frame 2
function countDown() {
_root.klant11.time_total = _root.klant11.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant11.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant11.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant11.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant11.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant11.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant11._x > 470) {
_root.klant11._x = _root.klant11._x - i;
}
};
stop();
Symbol 82 MovieClip [klant11] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 82 MovieClip [klant11] Frame 84
stop();
Symbol 82 MovieClip [klant11] Frame 85
clearInterval(this.intervalID);
Symbol 82 MovieClip [klant11] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
Symbol 82 MovieClip [klant11] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 84 MovieClip [klant7] Frame 1
stop();
best._visible = false;
Symbol 84 MovieClip [klant7] Frame 2
function countDown() {
_root.klant7.time_total = _root.klant7.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant7.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant7.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant7.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant7.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant7.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant7._x > 470) {
_root.klant7._x = _root.klant7._x - i;
}
};
stop();
Symbol 84 MovieClip [klant7] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 84 MovieClip [klant7] Frame 84
stop();
Symbol 84 MovieClip [klant7] Frame 85
clearInterval(this.intervalID);
Symbol 84 MovieClip [klant7] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 84 MovieClip [klant7] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 86 MovieClip [klant6] Frame 1
stop();
best._visible = false;
Symbol 86 MovieClip [klant6] Frame 2
function countDown() {
_root.klant6.time_total = _root.klant6.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant6.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant6.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant6.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant6.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant6.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant6._x < 280) {
_root.klant6._x = _root.klant6._x + i;
}
};
stop();
Symbol 86 MovieClip [klant6] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 86 MovieClip [klant6] Frame 84
stop();
Symbol 86 MovieClip [klant6] Frame 85
clearInterval(this.intervalID);
Symbol 86 MovieClip [klant6] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 86 MovieClip [klant6] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 88 MovieClip [klant8] Frame 1
stop();
best._visible = false;
Symbol 88 MovieClip [klant8] Frame 2
function countDown() {
_root.klant8.time_total = _root.klant8.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant8.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant8.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant8.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant8.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant8.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant8._x > 655) {
_root.klant8._x = _root.klant8._x - i;
}
};
stop();
Symbol 88 MovieClip [klant8] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 88 MovieClip [klant8] Frame 84
stop();
Symbol 88 MovieClip [klant8] Frame 85
clearInterval(this.intervalID);
Symbol 88 MovieClip [klant8] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 88 MovieClip [klant8] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 90 MovieClip [klant5] Frame 1
stop();
best._visible = false;
Symbol 90 MovieClip [klant5] Frame 2
function countDown() {
_root.klant5.time_total = _root.klant5.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant5.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant5.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant5.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant5.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant5.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant5._x < 100) {
_root.klant5._x = _root.klant5._x + i;
}
};
stop();
Symbol 90 MovieClip [klant5] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 90 MovieClip [klant5] Frame 84
stop();
Symbol 90 MovieClip [klant5] Frame 85
clearInterval(this.intervalID);
Symbol 90 MovieClip [klant5] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 90 MovieClip [klant5] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 120 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 120 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 123 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 123 MovieClip Frame 52
stop();
_root.shake.onPress = function () {
startDrag (this);
};
_root.einde.gotoAndStop(10);
Symbol 130 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 130 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 133 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 133 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 136 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 136 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 139 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 139 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 140 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 140 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 141 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 141 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 142 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 142 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake.onPress = function () {
startDrag (this);
};
Symbol 143 MovieClip [shake] Frame 1
stop();
_root.shake.een._visible = false;
_root.shake.twee._visible = false;
_root.shake.drie._visible = false;
_root.shake.vier._visible = false;
_root.shake.vijf._visible = false;
_root.shake.zes._visible = false;
_root.shake.zeven._visible = false;
_root.shake.acht._visible = false;
_root.shake.negen._visible = false;
_root.shake.tien._visible = false;
_root.shake.elf._visible = false;
_root.shake.twaalf._visible = false;
_root.shake.dertien._visible = false;
_root.shake.driedrie._visible = false;
Symbol 143 MovieClip [shake] Frame 20
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 30
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 40
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 50
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 60
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 70
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 80
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 90
stop();
_root.shake.onPress = function () {
};
Symbol 143 MovieClip [shake] Frame 100
stop();
_root.shake.onPress = function () {
};
Symbol 145 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 145 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 146 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 146 MovieClip Frame 52
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
_root.einde.gotoAndStop(10);
Symbol 147 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 147 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 148 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 148 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 149 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 149 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 150 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 150 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 151 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 151 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 152 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 152 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 153 MovieClip Frame 1
_root.einde.gotoAndStop(5);
Symbol 153 MovieClip Frame 52
_root.einde.gotoAndStop(10);
stop();
_root.shake2.onPress = function () {
startDrag (this);
};
Symbol 154 MovieClip [shake2] Frame 1
stop();
_root.shake2.een._visible = false;
_root.shake2.twee._visible = false;
_root.shake2.drie._visible = false;
_root.shake2.vier._visible = false;
_root.shake2.vijf._visible = false;
_root.shake2.zes._visible = false;
_root.shake2.zeven._visible = false;
_root.shake2.acht._visible = false;
_root.shake2.negen._visible = false;
_root.shake2.tien._visible = false;
_root.shake2.elf._visible = false;
_root.shake2.twaalf._visible = false;
_root.shake2.dertien._visible = false;
_root.shake2.driedrie._visible = false;
Symbol 154 MovieClip [shake2] Frame 20
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 30
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 40
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 50
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 60
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 70
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 80
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 90
stop();
_root.shake2.onPress = function () {
};
Symbol 154 MovieClip [shake2] Frame 100
stop();
_root.shake2.onPress = function () {
};
Symbol 156 MovieClip [klant1] Frame 1
stop();
best._visible = false;
Symbol 156 MovieClip [klant1] Frame 2
function countDown() {
_root.klant1.time_total = _root.klant1.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant1.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant1.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant1.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant1.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant1.countDown, 1000);
if (tijd == 0) {
_root.klant1.gotoAndPlay(116);
}
var i = 3;
onEnterFrame = function () {
if (_root.klant1._x < 100) {
_root.klant1._x = _root.klant1._x + i;
}
};
stop();
Symbol 156 MovieClip [klant1] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 156 MovieClip [klant1] Frame 84
stop();
Symbol 156 MovieClip [klant1] Frame 85
clearInterval(this.intervalID);
Symbol 156 MovieClip [klant1] Frame 115
stop();
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 156 MovieClip [klant1] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 158 MovieClip [klant3] Frame 1
stop();
best._visible = false;
Symbol 158 MovieClip [klant3] Frame 2
function countDown() {
_root.klant3.time_total = _root.klant3.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant3.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant3.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant3.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant3.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant3.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant3._x > 470) {
_root.klant3._x = _root.klant3._x - i;
}
};
stop();
Symbol 158 MovieClip [klant3] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 158 MovieClip [klant3] Frame 60
stop();
Symbol 158 MovieClip [klant3] Frame 85
clearInterval(this.intervalID);
Symbol 158 MovieClip [klant3] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 158 MovieClip [klant3] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 160 MovieClip [klant2] Frame 1
stop();
best._visible = false;
Symbol 160 MovieClip [klant2] Frame 2
function countDown() {
_root.klant2.time_total = _root.klant2.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant2.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant2.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant2.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant2.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant2.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant2._x < 280) {
_root.klant2._x = _root.klant2._x + i;
}
};
stop();
Symbol 160 MovieClip [klant2] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 160 MovieClip [klant2] Frame 84
stop();
Symbol 160 MovieClip [klant2] Frame 85
clearInterval(this.intervalID);
Symbol 160 MovieClip [klant2] Frame 115
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 160 MovieClip [klant2] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 162 MovieClip [klant4] Frame 1
stop();
best._visible = false;
Symbol 162 MovieClip [klant4] Frame 2
function countDown() {
_root.klant4.time_total = _root.klant4.time_total - 1;
var _local3 = 0;
var _local4 = "";
var _local2 = _root.klant4.time_total;
while ((_local2 - 59) > 0) {
minuten = minuten + 1;
_local2 = _local2 - 60;
}
_local3 = _local2;
if (_local2 == 0) {
_root.klant4.gotoAndPlay(116);
}
if (_local3 < 10) {
_local4 = "0";
}
_root.klant4.left_time.text = _local3;
if (time_total <= 0) {
clearInterval(_root.klant4.intervalID);
}
}
stop();
var intervalID = new Number();
intervalID = setInterval(_root.klant4.countDown, 1000);
var i = 3;
onEnterFrame = function () {
if (_root.klant4._x > 655) {
_root.klant4._x = _root.klant4._x - i;
}
};
stop();
Symbol 162 MovieClip [klant4] Frame 54
stop();
this.gotoAndPlay(85);
Symbol 162 MovieClip [klant4] Frame 84
stop();
Symbol 162 MovieClip [klant4] Frame 85
clearInterval(this.intervalID);
Symbol 162 MovieClip [klant4] Frame 115
stop();
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 162 MovieClip [klant4] Frame 140
stop();
this._x = -1000;
this._y = -1000;
this._visible = false;
Symbol 178 MovieClip Frame 291
stop();
if (bestands_grote == al_geladen) {
_root.gotoAndPlay(5);
}
Symbol 183 Button
on (release) {
getURL ("http://www.gamegirly.com", _blank);
}
Symbol 188 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 1
stop();
terug.onRelease = function () {
prevFrame();
};
vooruit.onRelease = function () {
nextFrame();
};
startt.onRelease = function () {
gotoAndStop (20);
};
Symbol 233 MovieClip Frame 2
stop();
terug.onRelease = function () {
prevFrame();
};
vooruit.onRelease = function () {
nextFrame();
};
startt.onRelease = function () {
gotoAndStop (20);
};
Symbol 233 MovieClip Frame 3
stop();
terug.onRelease = function () {
prevFrame();
};
vooruit.onRelease = function () {
nextFrame();
};
Symbol 233 MovieClip Frame 4
stop();
terug.onRelease = function () {
prevFrame();
};
vooruit.onRelease = function () {
nextFrame();
};
startt.onRelease = function () {
_root.gotoAndStop(20);
};
menu.onRelease = function () {
_root.gotoAndStop(5);
_root.s0.setVolume(0);
};
Symbol 245 Button
on (release) {
getURL ("http://www.gamegirly.com/Game/6751/Smoothie_Maker.html", _blank);
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 269 Button
on (press) {
s2.start();
}
Symbol 270 Button
on (press) {
s2.start();
}
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
_root.s3.start();
Symbol 275 MovieClip Frame 32
stop();
Symbol 278 MovieClip Frame 2
stop();
Symbol 278 MovieClip Frame 241
stop();
this._visible = false;
Symbol 280 Button
on (press) {
s2.start();
}
Symbol 282 Button
on (press) {
s2.start();
}
Symbol 283 Button
on (press) {
s2.start();
}
Symbol 284 Button
on (press) {
s2.start();
}
Symbol 285 Button
on (press) {
s2.start();
}
Symbol 286 Button
on (press) {
s2.start();
}
Symbol 287 Button
on (press) {
s2.start();
}
Symbol 288 Button
on (press) {
s2.start();
}
Symbol 289 Button
on (press) {
s2.start();
}
Symbol 290 Button
on (press) {
s2.start();
}
Symbol 291 Button
on (press) {
s2.start();
}
Symbol 300 MovieClip Frame 1560
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 18
stop();
this.gotoAndStop(1);
Symbol 307 MovieClip Frame 24
_root.time--;
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 4
_root.tip.swapDepths(this.getNextHighestDepth());
_root.tip.removeMovieClip();
Symbol 338 MovieClip Frame 5
_root.tip2.swapDepths(this.getNextHighestDepth());
_root.tip2.removeMovieClip();
Symbol 338 MovieClip Frame 6
_root.tip3.swapDepths(this.getNextHighestDepth());
_root.tip3.removeMovieClip();
_root.tip4.swapDepths(this.getNextHighestDepth());
_root.tip4.removeMovieClip();
Symbol 338 MovieClip Frame 8
_root.tip7.swapDepths(this.getNextHighestDepth());
_root.tip7.removeMovieClip();
Symbol 338 MovieClip Frame 44
this._visible = false;
Symbol 361 Button
on (release) {
_root.s0.setVolume(0);
_root.s1.setVolume(0);
_root.s2.setVolume(0);
_root.s3.setVolume(0);
_root.shake2.stopAllSounds();
_root.shake1.stopAllSounds();
nextFrame();
}
on (rollOver) {
geluidgeel._visible = true;
}
on (rollOut) {
geluidgeel._visible = false;
}
Symbol 367 Button
on (release) {
prevFrame();
_root.s0.setVolume(100);
_root.s1.setVolume(100);
_root.s2.setVolume(100);
_root.s3.setVolume(100);
}
on (rollOver) {
geluidgeel._visible = true;
}
on (rollOut) {
geluidgeel._visible = false;
}
Symbol 368 MovieClip Frame 1
geluidgeel._visible = false;
stop();
Symbol 368 MovieClip Frame 2
geluidgeel._visible = false;
stop();
Symbol 382 MovieClip Frame 1
stop();
beeldgeel._visible = false;
this.onRelease = function () {
nextFrame();
_quality = "medium";
};
this.onRollOver = function () {
beeldgeel._visible = true;
};
this.onRollOut = function () {
beeldgeel._visible = false;
};
Symbol 382 MovieClip Frame 2
stop();
beeldgeel._visible = false;
this.onRelease = function () {
nextFrame();
_quality = "low";
};
this.onRollOver = function () {
beeldgeel._visible = true;
};
this.onRollOut = function () {
beeldgeel._visible = false;
};
Symbol 382 MovieClip Frame 3
stop();
beeldgeel._visible = false;
this.onRelease = function () {
gotoAndStop (1);
_quality = "high";
};
this.onRollOver = function () {
beeldgeel._visible = true;
};
this.onRollOut = function () {
beeldgeel._visible = false;
};
Symbol 388 MovieClip Frame 1
stop();
web.onRollOver = function () {
nextFrame();
};
web.onRelease = function () {
getURL ("http://www.spelle.nl/freegames", _blank);
};
Symbol 388 MovieClip Frame 2
stop();
web2.onRollOut = function () {
gotoAndStop (1);
};
web2.onRelease = function () {
getURL ("http://www.spelle.nl/freegames", _blank);
};
Symbol 418 MovieClip Frame 1200
stop();
Symbol 436 MovieClip Frame 1440
stop();
Symbol 494 MovieClip Frame 1920
stop();
Symbol 588 MovieClip Frame 2160
stop();