Frame 1
stop();
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.play();
}
}
Frame 38
stop();
Frame 79
_root.gotoAndPlay(_root.ziel);
Frame 80
stop();
breite = 1;
farbe = "0x000000";
alpha = 100;
tool = "pen";
Instance of Symbol 101 MovieClip in Frame 80
onClipEvent (mouseDown) {
zeichnen = true;
downx = _xmouse;
downy = _ymouse;
vorx = _xmouse;
vory = _ymouse;
this.moveTo(_xmouse, _ymouse);
}
onClipEvent (mouseUp) {
zeichnen = false;
if (_root.tool == "kreis") {
nx = downx;
ny = downy;
hx = (downx + this._xmouse) / 2;
hy = (downy + this._ymouse) / 2;
gx = _xmouse;
gy = _ymouse;
this.moveTo(hx, ny);
this.curveTo(gx, ny, gx, hy);
this.curveTo(gx, gy, hx, gy);
this.curveTo(nx, gy, nx, hy);
this.curveTo(nx, ny, hx, ny);
}
if (_root.tool == "lin") {
this.lineTo(_xmouse, _ymouse);
}
if (_root.tool == "rec") {
nx = downx;
ny = downy;
hx = (downx + this._xmouse) / 2;
hy = (downy + this._ymouse) / 2;
gx = _xmouse;
gy = _ymouse;
this.moveTo(nx, ny);
this.lineTo(gx, ny);
this.lineTo(gx, gy);
this.lineTo(nx, gy);
this.lineTo(nx, ny);
}
}
onClipEvent (load) {
zeichnen = false;
vorx = 0;
vory = 0;
downx = _xmouse;
downy = _ymouse;
}
onClipEvent (enterFrame) {
this.lineStyle(_root.breite, _root.farbe, _root.alpha);
this.pre.clear();
this.pre.lineStyle(1, 10066329, 100);
if (zeichnen == true) {
if (_root.tool == "pen") {
this.lineTo(_xmouse, _ymouse);
vorx = _xmouse;
vory = _ymouse;
}
if (_root.tool == "kreis") {
nx = downx;
ny = downy;
hx = (downx + this.pre._xmouse) / 2;
hy = (downy + this.pre._ymouse) / 2;
gx = pre._xmouse;
gy = pre._ymouse;
this.pre.moveTo(hx, ny);
this.pre.curveTo(gx, ny, gx, hy);
this.pre.curveTo(gx, gy, hx, gy);
this.pre.curveTo(nx, gy, nx, hy);
this.pre.curveTo(nx, ny, hx, ny);
}
if (_root.tool == "lin") {
this.pre.moveTo(downx - pre._x, downy - pre._y);
this.pre.lineTo(_xmouse, _ymouse);
}
if (_root.tool == "rec") {
nx = downx;
ny = downy;
hx = (downx + this.pre._xmouse) / 2;
hy = (downy + this.pre._ymouse) / 2;
gx = pre._xmouse;
gy = pre._ymouse;
this.pre.moveTo(nx, ny);
this.pre.lineTo(gx, ny);
this.pre.lineTo(gx, gy);
this.pre.lineTo(nx, gy);
this.pre.lineTo(nx, ny);
}
}
}
Frame 87
stop();
Frame 100
stop();
coins = 0;
energie = 100;
bas = 0;
Instance of Symbol 118 MovieClip "waende" in Frame 100
onClipEvent (load) {
fz = 0;
fps = 0;
fs = 0;
as = 0;
}
onClipEvent (enterFrame) {
zeit = new Date();
fs = zeit.getSeconds();
if (fs == as) {
fz++;
} else {
fps = fz;
fz = 0;
as = fs;
}
pos = Math.round((_y + 75) / 10);
}
Instance of Symbol 127 MovieClip "typ" in Frame 100
onClipEvent (load) {
speedx = 0;
speedy = 0;
}
onClipEvent (enterFrame) {
function fallen() {
if (speedy < 5) {
speedy = speedy + 0.5;
} else {
speedy = 5;
}
_root.waende._y = _root.waende._y - speedy;
}
function seite() {
if (speedx > 0.1) {
speedx = speedx - 1;
} else if (speedx < -0.1) {
speedx = speedx + 1;
} else {
speedx = 0;
}
this._x = this._x + speedx;
}
drauf = false;
if (speedy >= 0) {
if (_root.waende.innen.hitTest(this._x, this._y + 20, true)) {
if (_root.waende.innen.hitTest(this._x, this._y + 19, true)) {
if (_root.waende.innen.hitTest(this._x, this._y + 18, true)) {
if (_root.waende.innen.hitTest(this._x, this._y + 17, true)) {
if (_root.waende.innen.hitTest(this._x, this._y + 16, true)) {
if (_root.waende.innen.hitTest(this._x, this._y + 15, true)) {
_root.waende._y = _root.waende._y + 5;
} else {
_root.waende._y = _root.waende._y + 4;
}
} else {
_root.waende._y = _root.waende._y + 3;
}
} else {
_root.waende._y = _root.waende._y + 2;
}
} else {
_root.waende._y = _root.waende._y + 1;
}
}
speedy = 0;
if (Key.isDown(38)) {
speedy = -10;
}
drauf = true;
} else {
fallen();
}
} else if (_root.waende.innen.hitTest(this._x, this._y - 30, true)) {
speedy = 0;
drauf = true;
} else {
fallen();
}
if (_root.waende.innen.hitTest(this._x - 10, this._y, true) || (_root.waende.innen.hitTest(this._x - 10, this._y + 10, true))) {
if (speedx < 0) {
speedx = 0;
}
} else if (Key.isDown(37)) {
speedx = -5;
}
if (_root.waende.innen.hitTest(this._x + 10, this._y, true) || (_root.waende.innen.hitTest(this._x + 10, this._y + 10, true))) {
if (speedx > 0) {
speedx = 0;
}
} else if (Key.isDown(39)) {
speedx = 5;
}
seite();
if (speedx > 0) {
if (drauf == true) {
this.gotoAndStop("rechts");
} else {
this.gotoAndStop("dlo");
}
} else if (speedx == 0) {
if (drauf == true) {
this.gotoAndStop("stehen");
} else {
this.gotoAndStop("drehen");
}
} else if (drauf == true) {
this.gotoAndStop("links");
} else {
this.gotoAndStop("dro");
}
}
Instance of Symbol 37 MovieClip in Frame 100
onClipEvent (mouseMove) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
}
Instance of Symbol 137 MovieClip in Frame 100
onClipEvent (enterFrame) {
if (_root.energie > 0) {
_xscale = _root.energie;
} else {
_root.play();
}
}
Instance of Symbol 174 MovieClip in Frame 100
onClipEvent (enterFrame) {
if ((_root.waende._y + _root.waende.boes._y) > 420) {
_y = 400;
_x = (_root.waende._x + _root.waende.boes._x);
_root.bas = Math.round(((_root.waende._y + _root.waende.boes._y) - 400) / 5);
} else {
_x = -50;
_y = -50;
}
}
Instance of Symbol 176 MovieClip in Frame 100
onClipEvent (enterFrame) {
if ((_root.waende._y + _root.waende.boes._y) < -20) {
_y = 0;
_x = (_root.waende._x + _root.waende.boes._x);
_root.bas = Math.round((_root.waende._y + _root.waende.boes._y) / 5);
} else {
_x = -50;
_y = -50;
}
}
Frame 101
Mouse.show();
Frame 113
stop();
Frame 127
_root.gotoAndPlay(2);
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
_root.coins++;
Symbol 21 MovieClip Frame 21
_x = (Math.round(Math.random() * 500) - 300);
_y = (_y - Math.round(Math.random() * 500));
Symbol 43 Button
on (release) {
getURL ("http://www.wahnsinn.de.tl", "_blank");
}
Symbol 48 Button
on (release) {
getURL ("http://derwahnsinn.de.funpic.de/scores/draw.php", "_blank");
}
Symbol 51 Button
on (release) {
_root.ziel = "bonus";
_root.play();
}
Symbol 54 Button
on (release) {
_root.ziel = "instructions";
_root.play();
}
Symbol 57 Button
on (release) {
_root.ziel = "game";
_root.play();
}
Symbol 61 Button
on (release) {
_root.farbe = "0x000000";
}
Symbol 63 Button
on (release) {
_root.farbe = "0xFFFFFF";
}
Symbol 65 Button
on (release) {
_root.farbe = "0xFFFF00";
}
Symbol 67 Button
on (release) {
_root.farbe = "0xFFCC00";
}
Symbol 69 Button
on (release) {
_root.farbe = "0xFF0000";
}
Symbol 71 Button
on (release) {
_root.farbe = "0xCC00FF";
}
Symbol 73 Button
on (release) {
_root.farbe = "0x0000FF";
}
Symbol 75 Button
on (release) {
_root.farbe = "0x006699";
}
Symbol 77 Button
on (release) {
_root.farbe = "0x00CC00";
}
Symbol 79 Button
on (release) {
_root.farbe = "0x006600";
}
Symbol 81 Button
on (release) {
_root.farbe = "0x666666";
}
Symbol 83 Button
on (release) {
_root.farbe = "0x660000";
}
Symbol 85 Button
on (release) {
_root.farbe = "0xFF6600";
}
Symbol 87 Button
on (release) {
_root.alpha = alphanser._xmouse + 50;
}
Symbol 88 Button
on (release) {
_root.breite = weier._xmouse / 10;
}
Symbol 90 Button
on (release) {
_root.tool = "pen";
}
Symbol 92 Button
on (release) {
_root.tool = "kreis";
}
Symbol 94 Button
on (release) {
_root.tool = "rec";
}
Symbol 96 Button
on (release) {
_root.tool = "lin";
}
Symbol 98 Button
on (release) {
this.clear();
}
Symbol 104 Button
on (release) {
_root.gotoAndPlay(2);
}
Instance of Symbol 112 MovieClip in Symbol 113 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = (-_parent._parent._y) + 400;
}
Instance of Symbol 113 MovieClip "innen" in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
this.lineStyle(10, 26265, 100);
malen = false;
letzterx = 0;
letztery = 0;
}
onClipEvent (mouseDown) {
letzterx = _xmouse;
letztery = _ymouse;
malen = true;
this.moveTo(_xmouse, _ymouse);
}
onClipEvent (mouseUp) {
malen = false;
}
onClipEvent (mouseMove) {
if (malen == true) {
if ((((_root._xmouse > (_root.typ._x - 20)) && (_root._xmouse < (_root.typ._x + 20))) && (_root._ymouse > (_root.typ._y - 30))) && (_root._ymouse < (_root.typ._y + 30))) {
} else {
this.moveTo(letzterx, letztery);
this.lineTo(_xmouse, _ymouse);
}
letzterx = _xmouse;
letztery = _ymouse;
}
}
onClipEvent (keyDown) {
if (Key.isDown(32)) {
this.clear();
this.lineStyle(10, 26265, 100);
}
}
Instance of Symbol 21 MovieClip "coin" in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.typ)) {
this.play();
}
}
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
ix = _root.typ._x - _parent._x;
_x = ((ix + (9 * this._x)) / 10);
ips = _root.typ._y - _parent._y;
_y = (((ips + (9 * this._y)) / 10) - 5);
this.abst = Math.round(Math.sqrt(((this._x - _parent.coin._x) * (this._x - _parent.coin._x)) + ((this._y - _parent.coin._y) * (this._y - _parent.coin._y))) / 10);
this.clear();
this.lineStyle(3, 26265, 50);
this.moveTo((-(this._x - _parent.coin._x)) / 5, (-(this._y - _parent.coin._y)) / 5);
this.lineTo(0, 0);
}
Instance of Symbol 17 MovieClip "boes" in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
speedx = 0;
speedy = 0;
}
onClipEvent (enterFrame) {
max = 1 + (_root.coins / 20);
_rotation = (_rotation + (5 + (_root.coins / 10)));
xx = _x + _parent._x;
yy = _y + _parent._y;
if (_root.typ._x > xx) {
if (speedx < max) {
speedx = speedx + 0.05;
}
} else if (speedx > (-max)) {
speedx = speedx - 0.05;
}
if (_root.typ._y > yy) {
if (speedy < max) {
speedy = speedy + 0.05;
}
} else if (speedy > (-max)) {
speedy = speedy - 0.05;
}
_x = (_x + speedx);
_y = (_y + speedy);
if (this.hitTest(_root.typ)) {
_root.energie--;
}
}
Symbol 144 Button
on (release) {
_root._quality = "BEST";
}
Symbol 147 Button
on (release) {
_root._quality = "MEDIUM";
}
Symbol 150 Button
on (release) {
_root._quality = "LOW";
}
Symbol 153 Button
on (release) {
gotoAndPlay (1);
}
Symbol 156 Button
on (release) {
gotoAndPlay (4);
}
Symbol 159 Button
on (release) {
gotoAndPlay (6);
}
Symbol 162 Button
on (release) {
gotoAndPlay (2);
}
Symbol 170 MovieClip Frame 1
stopAllSounds();
stop();
Symbol 170 MovieClip Frame 2
stopAllSounds();
Symbol 170 MovieClip Frame 3
stop();
Symbol 170 MovieClip Frame 4
stopAllSounds();
Symbol 170 MovieClip Frame 5
stop();
Symbol 170 MovieClip Frame 6
stopAllSounds();
Symbol 170 MovieClip Frame 7
stop();
Symbol 182 MovieClip Frame 1
nam = "";
Instance of Symbol 181 MovieClip in Symbol 182 MovieClip Frame 1
on (release) {
t = new Date();
url = (((("http://derwahnsinn.de.funpic.de/scores/draw_in.php?n=" + _parent.nameh.text) + "&s=") + (1 / _root.coins)) + "&t=") + t.getTime();
getURL (url, "_blank");
_root.play();
}
Symbol 184 Button
on (release) {
_root.play();
}