Frame 2
movheight = 390;
movwidth = 392;
stop();
Instance of Symbol 21 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = _root.wejio._x;
_xscale = (308 - _root.wejio._y);
_yscale = (308 - _root.wejio._y);
_alpha = (100 - ((208 - _root.wejio._y) * 0.75));
}
Instance of Symbol 26 MovieClip "q" in Frame 2
onClipEvent (load) {
gravity = 11;
bounce = 0.8;
friction = 0.94;
radius = this._width / 2;
dragging = false;
}
onClipEvent (enterFrame) {
oldx = x;
oldy = y;
x = this._x;
y = this._y;
if (!dragging) {
vy = vy + gravity;
x = x + (vx / 10);
y = y + (vy / 10);
if (x < radius) {
x = radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (x > (_root.movwidth - radius)) {
x = _root.movwidth - radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (y > (_root.movheight - radius)) {
y = _root.movheight - radius;
vy = vy * (-bounce);
vx = vx * friction;
}
} else {
vx = (_x - oldx) * 5;
vy = (_y - oldy) * 5;
oldx = _x;
oldy = _y;
}
setProperty(this, _x , x);
setProperty(this, _y , y);
}
Instance of Symbol 31 MovieClip "Ball" in Frame 2
onClipEvent (load) {
gravity = 13;
bounce = 0.7;
friction = 0.94;
radius = this._width / 2;
dragging = false;
}
onClipEvent (enterFrame) {
oldx = x;
oldy = y;
x = this._x;
y = this._y;
if (!dragging) {
vy = vy + gravity;
x = x + (vx / 10);
y = y + (vy / 10);
if (x < radius) {
x = radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (x > (_root.movwidth - radius)) {
x = _root.movwidth - radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (y > (_root.movheight - radius)) {
y = _root.movheight - radius;
vy = vy * (-bounce);
vx = vx * friction;
}
} else {
vx = (_x - oldx) * 5;
vy = (_y - oldy) * 5;
oldx = _x;
oldy = _y;
}
setProperty(this, _x , x);
setProperty(this, _y , y);
}
Instance of Symbol 37 MovieClip "zaff" in Frame 2
onClipEvent (load) {
gravity = 10;
bounce = 1;
friction = 0.94;
radius = this._width / 2;
dragging = false;
}
onClipEvent (enterFrame) {
oldx = x;
oldy = y;
x = this._x;
y = this._y;
if (!dragging) {
vy = vy + gravity;
x = x + (vx / 10);
y = y + (vy / 10);
if (x < radius) {
x = radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (x > (_root.movwidth - radius)) {
x = _root.movwidth - radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (y > (_root.movheight - radius)) {
y = _root.movheight - radius;
vy = vy * (-bounce);
vx = vx * friction;
}
} else {
vx = (_x - oldx) * 5;
vy = (_y - oldy) * 5;
oldx = _x;
oldy = _y;
}
setProperty(this, _x , x);
setProperty(this, _y , y);
}
Instance of Symbol 21 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = _root.Ball._x;
_xscale = (308 - _root.Ball._y);
_yscale = (308 - _root.Ball._y);
_alpha = (100 - ((208 - _root.Ball._y) * 0.75));
}
Instance of Symbol 26 MovieClip "wejio" in Frame 2
onClipEvent (load) {
gravity = 11;
bounce = 0.8;
friction = 0.94;
radius = this._width / 2;
dragging = false;
}
onClipEvent (enterFrame) {
oldx = x;
oldy = y;
x = this._x;
this._rotation = vx;
y = this._y;
if (!dragging) {
vy = vy + gravity;
x = x + (vx / 10);
y = y + (vy / 10);
if (x < radius) {
x = radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (x > (_root.movwidth - radius)) {
x = _root.movwidth - radius;
vy = vy * bounce;
vx = vx * (-bounce);
}
if (y > (_root.movheight - radius)) {
y = _root.movheight - radius;
vy = vy * (-bounce);
vx = vx * friction;
}
} else {
vx = (_x - oldx) * 5;
vy = (_y - oldy) * 5;
oldx = _x;
oldy = _y;
}
setProperty(this, _x , x);
setProperty(this, _y , y);
}
Instance of Symbol 21 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = _root.zaff._x;
_xscale = (308 - _root.zaff._y);
_yscale = (308 - _root.zaff._y);
_alpha = (100 - ((208 - _root.zaff._y) * 0.75));
}
Instance of Symbol 21 MovieClip in Frame 2
onClipEvent (enterFrame) {
_x = _root.q._x;
_xscale = (308 - _root.q._y);
_yscale = (308 - _root.q._y);
_alpha = (100 - ((208 - _root.q._y) * 0.75));
}
Instance of Symbol 40 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.zaff.gravity + 30;
_root.zaff._y = 20;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_root.ball.gravity + 30;
_root.ball._y = 20;
}
}
Symbol 9 Button
on (release) {
_root.play();
}
Symbol 10 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 25 MovieClip in Symbol 26 MovieClip Frame 1
on (press) {
with (_parent) {
dragging = true;
vy = 0;
vx = 0;
}
startDrag (_parent);
}
on (release, releaseOutside) {
_parent.dragging = false;
stopDrag();
}
Instance of Symbol 30 MovieClip in Symbol 31 MovieClip Frame 1
on (press) {
with (_parent) {
dragging = true;
vy = 0;
vx = 0;
}
startDrag (_parent);
}
on (release, releaseOutside) {
_parent.dragging = false;
stopDrag();
}
Instance of Symbol 36 MovieClip in Symbol 37 MovieClip Frame 1
on (press) {
with (_parent) {
dragging = true;
vy = 0;
vx = 0;
}
startDrag (_parent);
}
on (release, releaseOutside) {
_parent.dragging = false;
stopDrag();
}