Frame 1
play();
ifFrameLoaded (8) {
gotoAndPlay (6);
}
Frame 3
gotoAndPlay (1);
Frame 6
play();
Frame 7
play();
Frame 8
sounds = 1;
stop();
Instance of Symbol 13 MovieClip "schieber_rechts" in Frame 8
onClipEvent (enterFrame) {
if (this.hittest(_root.mc.p1.ball)) {
_parent.mc.stepx = -15;
}
}
Instance of Symbol 14 MovieClip "schieber_links" in Frame 8
onClipEvent (enterFrame) {
if (hittest(_root.mc.p1.ball)) {
_parent.mc.stepx = 15;
}
}
Instance of Symbol 88 MovieClip "mc" in Frame 8
onClipEvent (load) {
_rotation = "-7";
}
onClipEvent (enterFrame) {
_x = (_x + stepx);
stepx = stepx * 0.7;
}
Instance of Symbol 106 MovieClip "controls" in Frame 8
onClipEvent (load) {
swapDepths(991);
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip Frame 1
onClipEvent (enterFrame) {
alles = _root.getBytesTotal();
teil = _root.getBytesLoaded();
pro = int((100 * teil) / alles);
}
onClipEvent (load) {
pro = 0;
}
Symbol 10 Button
on (release) {
getURL ("http://www.flashspiele.de", "_blank");
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
play();
Symbol 73 MovieClip Frame 10
_parent.altitude = 0;
_parent.b1._x = _parent.ax;
_parent.b1._y = _parent.ay;
play();
Symbol 81 Button
on (press) {
if ((_parent.b1.stepx == 0) && (_parent.b1.stepy == 0)) {
_parent.stopper = 0;
mausx = _parent._xmouse;
mausy = _parent._ymouse;
xx = _x - mausx;
yy = _y - mausy;
speed = Math.sqrt((xx * xx) + (yy * yy));
winkel = zeiger._rotation;
if (winkel < 0) {
winkel = 360 + winkel;
}
_parent.b1.stepx = (Math.cos(winkel / 57.3248407643312) * speed) / 2;
_parent.b1.stepy = (Math.sin(winkel / 57.3248407643312) * speed) / 2;
}
}
on (keyPress "<Space>") {
_parent.b1.stepx = 0;
_parent.b1.stepy = 0;
}
on (rollOver) {
rolls = 1;
if ((_parent.b1.stepx == 0) && (_parent.b1.stepy == 0)) {
hitter._visible = 1;
}
}
on (rollOut, release, releaseOutside) {
hitter._visible = 0;
rolls = 0;
}
Symbol 84 MovieClip Frame 1
stop();
Instance of Symbol 77 MovieClip "senk" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 79 MovieClip "zeiger" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 83 MovieClip "hitter" in Symbol 84 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
mausx = _parent._xmouse;
mausy = _parent._ymouse;
xx = _x - mausx;
yy = _y - mausy;
speed = Math.sqrt((xx * xx) + (yy * yy));
_xscale = (44 + speed);
_yscale = (44 + speed);
if (((_root.mc.b1.stepx == 0) && (_root.mc.b1.stepy == 0)) && (_parent.rolls == 1)) {
_visible = 1;
}
}
Symbol 84 MovieClip Frame 24
_parent.pod.home.Play();
Symbol 87 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
function klonen(vor, ziel) {
x = fpx - vor._x;
y1 = fpuy - vor._y;
y2 = fpuy - fpy;
fakx = x / ((y2 / x) + (y1 / x));
i = (y2 / x) * fakx;
h = (y1 / x) * fakx;
ziel._x = vor._x + h;
faky = y1 / ((x / y2) + (x / y1));
j = (x / y2) * faky;
alt = altitude * (i / (i + h));
ort_y = vor._y + j;
ziel._y = ort_y - alt;
ziel._yscale = 100 * (i / (i + h));
ziel._xscale = 100 * (i / (i + h));
}
function klonen2(vor, ziel) {
x = fpx - vor._x;
y1 = fpuy - vor._y;
y2 = fpuy - fpy;
fakx = x / ((y2 / x) + (y1 / x));
i = (y2 / x) * fakx;
h = (y1 / x) * fakx;
ziel._x = vor._x + h;
faky = y1 / ((x / y2) + (x / y1));
j = (x / y2) * faky;
ziel._y = vor._y + j;
ziel._visible = 0;
vor._visible = vis;
}
function blitz() {
linie.Play();
linie2.Play();
}
function move(wer) {
aax = wer._x;
aay = wer._y;
wer._x = wer._x + wer.stepx;
wer._y = wer._y + wer.stepy;
wer.stepy = wer.stepy * 0.98;
wer.stepx = wer.stepx * 0.98;
if ((((wer.stepx < 0.2) and (-0.2 < wer.stepx)) and (wer.stepy < 0.2)) and (-0.2 < wer.stepy)) {
wer.stepy = 0;
wer.stepx = 0;
}
if ((wer._y < oben) && (wer.stepy < 0)) {
wer.stepy = wer.stepy * -1;
wer._x = aax;
wer._y = aay;
sou.Play();
blitz();
}
if ((wer._x < links) && (wer.stepx < 0)) {
wer.stepx = wer.stepx * -1;
wer._x = aax;
wer._y = aay;
sou.Play();
blitz();
}
if ((rechts < wer._x) && (0 < wer.stepx)) {
wer.stepx = wer.stepx * -1;
sou.Play();
wer._x = aax;
wer._y = aay;
blitz();
}
if ((unten < wer._y) && (0 < wer.stepy)) {
wer.stepy = wer.stepy * -1;
sou.Play();
wer._x = aax;
wer._y = aay;
blitz();
}
}
function koll(ich, du) {
if (ich.HitTest(du)) {
dy = du._y - ich._y;
dx = du._x - ich._x;
ich._x = ich._x - (0.3 * dx);
du._x = du._x + (0.3 * dx);
ich._y = ich._y - (0.3 * dy);
du._y = du._y + (0.3 * dy);
istepy = (ich.stepy + du.stepy) + (1 * dy);
dstepy = (du.stepy + ich.stepy) - (1 * dy);
istepx = (ich.stepx + du.stepx) + (1 * dx);
dstepx = (du.stepx + ich.stepx) - (1 * dx);
ich.stepy = -0.2 * istepy;
du.stepy = -0.2 * dstepy;
ich.stepx = -0.2 * istepx;
du.stepx = -0.2 * dstepx;
}
}
function stopball() {
b1.stepx = 0;
b1.stepy = 0;
loch.Play();
p1.Play();
}
oo = ob._y;
ll = li._x;
ll2 = li2._x;
rr = re._x;
uu = un._y;
uu2 = un2._y;
oben = ob._y;
links = li._x;
rechts = re._x;
unten = un._y;
fpuy = fluchtunten._y;
fpy = flucht._y;
fpx = flucht._x;
vis = 0;
altitude = 0;
stop();
ax = b1._x;
ay = b1._y;
Instance of Symbol 16 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent.b1)) {
_parent.rechts = _parent.rr;
_parent.links = _parent.ll;
_parent.unten = _parent.uu2;
_parent.oben = _parent.oo;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 18 MovieClip "flucht" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.fpy = _y;
_parent.fpx = _x;
}
onClipEvent (load) {
_visible = 1;
}
Instance of Symbol 19 MovieClip "fluchtunten" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.fpuy = _y;
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 26 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.HitTest(_parent.b1)) {
_parent.rechts = _parent.rr;
_parent.links = _parent.ll;
_parent.unten = _parent.boden._y;
_parent.oben = _parent.oo;
_parent.altitude = _parent.rampe1._width / 4;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 27 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.HitTest(_parent.b1)) {
_parent.rechts = _parent.rr;
_parent.links = _parent.ll2;
_parent.unten = _parent.boden._y;
_parent.oben = _parent.oo;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 29 MovieClip "rampe1" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
_visible = _parent.vis;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.b1)) {
_parent.rechts = _parent.rr;
_parent.links = _parent.ll;
_parent.unten = _parent.uu2;
_parent.oben = _parent.oo;
_parent.altitude = (_parent.b1._x - _x) / 4;
_parent.b1.stepx = _parent.b1.stepx - 0.3;
}
}
Instance of Symbol 31 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.HitTest(_parent.b1)) {
_parent.rechts = _parent.ganzrechts._x;
_parent.links = _parent.ll2;
_parent.unten = _parent.boden._y;
_parent.oben = _parent.ob._y;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 32 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.HitTest(_parent.b1)) {
_parent.rechts = _parent.ganzrechts._x;
_parent.links = _parent.reli._x;
_parent.unten = _parent.boden._y;
_parent.oben = _parent.ob._y;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 31 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.HitTest(_parent.b1)) {
_parent.rechts = _parent.ganzrechts._x;
_parent.links = _parent.ll2;
_parent.unten = _parent.boden._y;
_parent.oben = _parent.ob._y;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 33 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.HitTest(_parent.b1)) {
_parent.oben = _parent.reob._y;
_parent.rechts = _parent.ganzrechts._x;
_parent.links = _parent.ll2;
_parent.unten = _parent.boden._y;
}
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 36 MovieClip "b1" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.move(_parent.b1);
}
onClipEvent (load) {
_visible = _parent.vis;
}
Instance of Symbol 38 MovieClip "li_k" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen2(_parent.li, _parent.li_k);
sin = _parent.fpx - _x;
cos = _parent.fpy - _y;
_rotation = ((Math.atan2(cos, sin) * 57.3248407643312) + 90);
}
Instance of Symbol 40 MovieClip "ob_k" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen2(_parent.ob, _parent.ob_k);
}
Instance of Symbol 42 MovieClip "re_k" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen2(_parent.re, _parent.re_k);
sin = _parent.fpx - _x;
cos = _parent.fpy - _y;
_rotation = ((Math.atan2(cos, sin) * 57.3248407643312) + 90);
}
Instance of Symbol 43 MovieClip "un_k" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen2(_parent.un, _parent.un_k);
}
Instance of Symbol 45 MovieClip "li2_k" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen2(_parent.li2, _parent.li2_k);
sin = _parent.fpx - _x;
cos = _parent.fpy - _y;
_rotation = ((Math.atan2(cos, sin) * 57.3248407643312) + 90);
}
Instance of Symbol 47 MovieClip "un2_k" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen2(_parent.un2, _parent.un2_k);
}
Instance of Symbol 61 MovieClip "linie" in Symbol 88 MovieClip Frame 1
onClipEvent (load) {
swapDepths(10000);
}
Instance of Symbol 73 MovieClip "loch" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.pp.hitTest(_parent.p1.pp)) {
_parent.stopball();
}
}
Instance of Symbol 84 MovieClip "p1" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.klonen(_parent.b1, _parent.p1);
if (rolls == 1) {
richtung();
}
}
onClipEvent (load) {
function richtung() {
sin = _x - _parent.fpx;
cos = _y - _parent.fpy;
senk._rotation = Math.atan2(cos, sin) * 57.3248407643312;
_parent.rotation = senk._rotation;
cos = _x - _parent._xmouse;
sin = _y - _parent._ymouse;
hitter._rotation = Math.atan2(sin, cos) * 57.3248407643312;
_parent.hi_rot = hitter._rotation;
hit = hitter._rotation;
w = senk._rotation;
gw = 180 - w;
if ((hit >= 0) && (hit < w)) {
ausgabe = 90 / (w / hit);
}
if ((hit >= w) and (hit < 180)) {
ausgabe = 90 + (90 / (gw / (hit - w)));
}
if ((hit < 0) && ((-gw) < hit)) {
ausgabe = -90 / ((-gw) / hit);
}
if (hit < (-gw)) {
ausgabe = (90 / (w / (180 + hit))) + 180;
}
zeiger._rotation = ausgabe;
}
}
Symbol 92 Button
on (release) {
if (_root.sounds == 1) {
unloadMovieNum (1);
_root.sounds = 0;
play();
}
}
Symbol 95 Button
on (release) {
if (_root.sounds == 0) {
loadMovieNum ("musik.swf", 1);
_root.sounds = 1;
play();
}
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 3
stop();
Symbol 103 Button
on (release) {
setProperty("/", _xscale , low);
setProperty("/", _yscale , low);
setProperty("/", _x , lowx);
setProperty("/", _y , lowy);
_root.perf = 1;
}
on (release) {
tellTarget ("rollover1") {
gotoAndStop (3);
};
}
Symbol 104 Button
on (release) {
setProperty("/", _xscale , mid);
setProperty("/", _yscale , mid);
setProperty("/", _x , midx);
setProperty("/", _y , midy);
_root.perf = 2;
}
on (release) {
tellTarget ("rollover1") {
gotoAndStop (2);
};
}
Symbol 105 Button
on (release) {
setProperty("/", _xscale , hig);
setProperty("/", _yscale , hig);
setProperty("/", _x , higx);
setProperty("/", _y , higy);
_root.perf = 3;
}
on (release) {
tellTarget ("rollover1") {
gotoAndStop (1);
};
}
Symbol 106 MovieClip Frame 1
low = "80";
mid = "90";
hig = "100";
higx = 0;
higy = 0;
midx = 0;
midy = 0;
lowx = 0;
lowy = 0;
stop();