Frame 1
fscommand ("showmenu", false);
removeMovieClip("vlieg");
stopAllSounds();
Frame 2
stage.scaleMode = "noBorder";
Frame 82
gotoAndStop (83);
Frame 83
leven = 0;
po = 0;
Frame 84
Stage.scaleMode = "shawAll";
Frame 93
stop();
stop();
Frame 94
stop();
Frame 103
function levenmeter() {
if (leven == 0) {
_root.levens.gotoAndStop(3);
}
if (leven == -1) {
_root.levens.gotoAndStop(2);
}
if (leven == -2) {
_root.levens.gotoAndStop(1);
}
if (leven == -3) {
gotoAndStop (107);
_root.levens.gotoAndStop(6);
}
if (leven == 1) {
_root.levens.gotoAndStop(4);
}
if (leven == 2) {
_root.levens.gotoAndStop(5);
}
}
function createvlieg() {
charpicker = random(7);
if (charpicker == 0) {
_root.attachMovie("kenny", "vlieg", 8);
_root.vlieg.gotoAndPlay(1);
}
if (charpicker == 1) {
_root.attachMovie("pico", "vlieg", 8);
_root.vlieg.gotoAndPlay(1);
}
if (charpicker == 2) {
lower = random(15);
if (lower == 0) {
_root.attachMovie("heart", "vlieg", 9999);
} else {
createvlieg();
}
}
if (charpicker == 3) {
_root.attachMovie("dexter", "vlieg", 8);
_root.vlieg.gotoAndPlay(1);
}
if (charpicker == 4) {
_root.attachMovie("spongebop", "vlieg", 8);
_root.vlieg.gotoAndPlay(1);
}
if (charpicker == 5) {
_root.attachMovie("haunter", "vlieg", 8);
_root.vlieg.gotoAndPlay(1);
}
if (charpicker == 6) {
_root.attachMovie("wade", "vlieg", 8);
_root.vlieg.gotoAndPlay(1);
}
sizer = random(1);
if ((sizer = 0)) {
vlieg._height = 10;
vlieg._width = 10;
}
}
function calculateRandom(min, max) {
return(Math.floor(Math.random() * ((max + 1) - min)) + min);
}
levenmeter();
var leven = leven;
level = 0;
hit = 0;
score = 0;
Stage.scaleMode = "exactFit";
Frame 104
Mouse.hide();
_root.attachMovie("pointer", "pointer", 0);
pointer._x = _xmouse;
pointer._y = _ymouse;
pointer._width = 25;
pointer._height = 30;
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = circle._x;
circleYpos = circle._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = circle._rotation;
if (Xpos < circleXpos) {
circle._rotation = 180 - (theta / 0.0175);
} else if (circleXpos < Xpos) {
circle._rotation = theta / 0.0175;
}
levenmeter();
Frame 105
if (hit == level) {
if (level < 8) {
level++;
}
hit = 0;
createvlieg(level);
}
prevFrame();
play();
Frame 107
if (10 >= po) {
prijs = "keychain";
}
if (10 < po) {
if (20 >= po) {
prijs = "heart shaped magnet";
}
}
if (20 < po) {
if (50 >= po) {
prijs = "a rose";
}
}
if (50 < po) {
if (100 >= po) {
prijs = "a stuffed animal";
}
}
if (100 < po) {
if (150 >= po) {
prijs = "ten roses";
}
}
if (150 < po) {
if (200 >= po) {
prijs = "a large stuffed animal";
}
}
if (200 < po) {
if (250 >= po) {
prijs = "a golden ring";
}
}
if (po >= 251) {
prijs = "a five day trip to paradise";
}
Mouse.show();
removeMovieClip("vlieg");
removeMovieClip("pointer");
Frame 108
if (10 >= po) {
oordeel = "Me your valentine. Your kidding, right!";
}
if (10 < po) {
if (20 >= po) {
oordeel = "Thanks for the present, but I don't want to be your valentine.";
}
}
if (20 < po) {
if (50 >= po) {
oordeel = "Thank you, but I'm already someone else his valentine.";
}
}
if (50 < po) {
if (100 >= po) {
oordeel = "Alright, I will be your valentine.";
}
}
if (100 < po) {
if (150 >= po) {
oordeel = "Sure, I'd like to be your valentine.";
}
}
if (150 < po) {
if (200 >= po) {
oordeel = "I'd love to be your valentine.";
}
}
if (200 < po) {
if (250 >= po) {
oordeel = "Yes, Yes, Yes, I'd love to!!";
}
}
if (po >= 251) {
oordeel = "I'm so happy you ask me to be your valentine. It's like a dream comes true.";
}
Symbol 2 MovieClip Frame 10
gotoAndPlay (1);
Symbol 8 MovieClip [haunter] Frame 1
_root.vliega == 1;
gotoAndPlay (2);
Instance of Symbol 5 MovieClip in Symbol 8 MovieClip [haunter] Frame 1
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 45;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 8 MovieClip [haunter] Frame 3
gotoAndStop (1);
Symbol 8 MovieClip [haunter] Frame 4
_root.vliega = 2;
Symbol 8 MovieClip [haunter] Frame 12
_root.vliega = 0;
removeMovieClip("");
createvlieg();
Symbol 11 MovieClip [dexter] Frame 1
_root.vliega == 1;
gotoAndPlay (2);
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip [dexter] Frame 1
onClipEvent (mouseUp) {
if (this.hitTest(_root.pijl)) {
_root.score++;
_parent.gotoAndPlay(2);
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 34;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 11 MovieClip [dexter] Frame 3
gotoAndStop (1);
Symbol 11 MovieClip [dexter] Frame 4
_root.vliega = 2;
Symbol 11 MovieClip [dexter] Frame 12
_root.vliega = 0;
removeMovieClip("");
createvlieg();
Symbol 12 MovieClip Frame 1
play();
Symbol 12 MovieClip Frame 10
gotoAndPlay (1);
Symbol 15 MovieClip [pico] Frame 1
_root.vliega == 1;
play();
Instance of Symbol 14 MovieClip in Symbol 15 MovieClip [pico] Frame 1
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 45;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 15 MovieClip [pico] Frame 3
prevFrame();
Symbol 15 MovieClip [pico] Frame 4
_root.vliega = 2;
Symbol 15 MovieClip [pico] Frame 12
_root.vliega = 0;
removeMovieClip("");
createvlieg();
Symbol 22 MovieClip [kenny] Frame 1
_root.vliega == 1;
gotoAndPlay (2);
Instance of Symbol 21 MovieClip in Symbol 22 MovieClip [kenny] Frame 1
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 45;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 22 MovieClip [kenny] Frame 3
gotoAndStop (1);
Symbol 22 MovieClip [kenny] Frame 4
_root.vliega = 2;
Symbol 22 MovieClip [kenny] Frame 12
_root.vliega = 0;
removeMovieClip("");
createvlieg();
Symbol 25 MovieClip [heart] Frame 1
_root.vliega == 1;
play();
Instance of Symbol 23 MovieClip in Symbol 25 MovieClip [heart] Frame 1
onClipEvent (mouseUp) {
if (this.hitTest(_root.pijl)) {
_root.score++;
_parent.gotoAndPlay(2);
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 34;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 25 MovieClip [heart] Frame 3
prevFrame();
Symbol 25 MovieClip [heart] Frame 4
_root.vliega = 2;
Symbol 25 MovieClip [heart] Frame 11
_root.vliega = 0;
if (_root.leven == 1) {
levens.gotoAndStop(2);
levena = 2;
}
if (_root.leven == 2) {
levens.gotoAndStop(3);
levena = 3;
}
if (_root.leven == 3) {
_root.levens.gotoAndStop(4);
levena = 4;
}
if (_root.leven == 4) {
levens.gotoAndStop(5);
levena = 5;
}
removeMovieClip("");
createvlieg();
Symbol 37 MovieClip Frame 1
play();
Symbol 37 MovieClip Frame 15
gotoAndPlay (1);
Symbol 41 MovieClip [spongebop] Frame 1
_root.vliega == 1;
gotoAndPlay (2);
Instance of Symbol 40 MovieClip in Symbol 41 MovieClip [spongebop] Frame 1
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 45;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 41 MovieClip [spongebop] Frame 3
gotoAndStop (1);
Symbol 41 MovieClip [spongebop] Frame 4
_root.vliega = 2;
Symbol 41 MovieClip [spongebop] Frame 12
_root.vliega = 0;
removeMovieClip("");
createvlieg();
Symbol 44 MovieClip [wade] Frame 1
_root.vliega == 1;
gotoAndPlay (2);
Instance of Symbol 43 MovieClip in Symbol 44 MovieClip [wade] Frame 1
onClipEvent (mouseUp) {
if (this.hitTest(_root.pijl)) {
_root.score++;
_parent.gotoAndPlay(2);
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1500, -50);
_parent._y = _root.calculateRandom(80, 200);
scale = 40;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = 34;
yStep = 4;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -xstep;
ystep = -ystep;
} else if ((670 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
ystep = -ystep;
}
}
Symbol 44 MovieClip [wade] Frame 3
gotoAndStop (1);
Symbol 44 MovieClip [wade] Frame 4
_root.vliega = 2;
Symbol 44 MovieClip [wade] Frame 12
_root.vliega = 0;
removeMovieClip("");
createvlieg();
Symbol 47 MovieClip [pijl] Frame 1
stop();
Symbol 47 MovieClip [pijl] Frame 3
stop();
Symbol 57 MovieClip [boog] Frame 1
stop();
Instance of Symbol 47 MovieClip [pijl] "pijl" in Symbol 57 MovieClip [boog] Frame 1
/* no clip actions */
Symbol 57 MovieClip [boog] Frame 2
schiet = 0;
Symbol 57 MovieClip [boog] Frame 7
schiet = 1;
stop();
Symbol 57 MovieClip [boog] Frame 13
stop();
Symbol 57 MovieClip [boog] Frame 14
stop();
Instance of Symbol 47 MovieClip [pijl] "pijl" in Symbol 57 MovieClip [boog] Frame 15
/* no clip actions */
Symbol 57 MovieClip [boog] Frame 21
stop();
Symbol 71 Button
on (release) {
_root.play();
}
Symbol 72 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 72 MovieClip Frame 2
gotoAndPlay (1);
Symbol 138 MovieClip Frame 41
gotoAndPlay (1);
Symbol 143 MovieClip Frame 21
gotoAndPlay (1);
Symbol 144 MovieClip Frame 13
gotoAndPlay (1);
Symbol 145 Button
on (release) {
gotoAndPlay (84);
}
Symbol 155 Button
on (release) {
nextFrame();
}
Symbol 165 Button
on (release) {
gotoAndPlay (103);
}
Symbol 167 Button
on (press) {
if (Key.isDown(32)) {
circle.gotoAndPlay(15);
} else {
circle.gotoAndPlay(2);
}
}
on (release) {
if (Key.isDown(32)) {
circle.gotoAndPlay(14);
_root.pijl2.gotoAndPlay(2);
_root.pijl2._x = _xmouse;
_root.pijl2._y = _ymouse;
_root.pijl2._rotation = myRotation;
} else {
circle.gotoAndPlay(14);
_root.pijl.gotoAndPlay(2);
_root.pijl._x = _xmouse;
_root.pijl._y = _ymouse;
_root.pijl._rotation = myRotation;
}
if (vliega == 0) {
if (_root.pijl.hitTest(_root.vlieg)) {
if (charpicker == 0) {
po = (po - 1) + 2;
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 1) {
po = (po - 1) + 2;
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 2) {
po = (po - 2) + 4;
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 3) {
po = (po - 1) + 2;
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 4) {
po = (po - 1) + 2;
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 5) {
po = po;
_root.vlieg.gotoAndPlay(4);
leven = leven - 1;
levenmeter();
}
if (charpicker == 6) {
po = po;
_root.vlieg.gotoAndPlay(4);
leven = leven - 1;
levenmeter();
}
}
if (_root.pijl2.hitTest(_root.vlieg)) {
if (charpicker == 0) {
leven = leven - 1;
levenmeter();
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 1) {
leven = leven - 1;
levenmeter();
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 2) {
leven = leven - 1;
levenmeter();
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 3) {
leven = leven - 1;
levenmeter();
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 4) {
leven = leven - 1;
levenmeter();
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 5) {
po = (po - 1) + 2;
_root.vlieg.gotoAndPlay(4);
}
if (charpicker == 6) {
po = (po - 1) + 2;
_root.vlieg.gotoAndPlay(4);
}
}
}
Xpos = _xmouse;
Ypos = _ymouse;
circleXpos = pijl._x;
circleYpos = pijl._y;
x = Xpos - circleXpos;
y = Ypos - circleYpos;
r = Math.sqrt((x * x) + (y * y));
sinTheta = y / r;
theta = Math.asin(sinTheta);
myRotation = pijl._rotation;
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 3
stop();
Symbol 189 MovieClip Frame 1
stop();
levena = 1;
Symbol 189 MovieClip Frame 2
levena = 2;
Symbol 189 MovieClip Frame 3
levena = 3;
Symbol 189 MovieClip Frame 4
levena = 4;
Symbol 189 MovieClip Frame 5
levena = 5;
Symbol 189 MovieClip Frame 6
leven = 0;
Symbol 204 Button
on (release) {
gotoAndStop (108);
}
Symbol 216 Button
on (release) {
gotoAndStop (83);
}