Frame 1
stop();
Mouse.hide();
startDrag (_root.cursor);
_root.ball.swapDepths(10000);
_root.levelNo.swapDepths(100000);
_root.shade._visible = 0;
_root.shade.swapDepths(10000000);
_root.blockSpeed = 1;
setInterval(function () {
_root.mouseX = _root._xmouse;
_root.mouseY = _root._ymouse;
_root.dummy.flag = 1;
}, 100);
Instance of Symbol 5 MovieClip in Frame 1
onClipEvent (enterFrame) {
_y = (_y + (_root.blockSpeed / 2));
if (_y > 750) {
_y = 290;
}
}
Instance of Symbol 32 MovieClip in Frame 1
onClipEvent (enterFrame) {
if ((_x - (_width / 2)) > 100) {
_x = (_x - 25);
}
}
Instance of Symbol 45 MovieClip in Frame 1
onClipEvent (load) {
a = 1;
timesmorz = 1;
maxang = 10;
n_osc = 1;
}
onClipEvent (enterFrame) {
setProperty(this, _rotation , (Math.sin(n_osc * a) * Math.pow(timesmorz, a)) * maxang);
a = a + 0.1;
}
Instance of Symbol 56 MovieClip "pend" in Frame 1
onClipEvent (load) {
a = 1;
timesmorz = 1;
maxang = 15;
n_osc = 1;
}
onClipEvent (enterFrame) {
setProperty(_root.pend, _rotation , (Math.sin(n_osc * a) * Math.pow(timesmorz, a)) * maxang);
a = a + 0.1;
}
Instance of Symbol 64 MovieClip "cursor" in Frame 1
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
stop();
_root.ball.swapDepths(10000);
_root.levelNo.swapDepths(100000);
_root.shade._visible = 0;
_root.shade.swapDepths(10000000);
_root.blockSpeed = 1;
Instance of Symbol 73 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((_x - (_width / 2)) > 100) {
_x = (_x - 25);
}
}
Frame 3
stop();
_root.ball.swapDepths(10000);
_root.levelNo.swapDepths(100000);
_root.shade._visible = 0;
_root.shade.swapDepths(10000000);
_root.blockSpeed = 1;
Instance of Symbol 45 MovieClip in Frame 3
onClipEvent (load) {
a = 1;
timesmorz = 1;
maxang = 10;
n_osc = 1;
}
onClipEvent (enterFrame) {
setProperty(this, _rotation , (Math.sin(n_osc * a) * Math.pow(timesmorz, a)) * maxang);
a = a + 0.1;
}
Instance of Symbol 89 MovieClip in Frame 3
onClipEvent (enterFrame) {
if ((_x - (_width / 2)) > 70) {
_x = (_x - 25);
}
}
Frame 4
_root.cursor._visible = 0;
_root.cursor.swapDepths(999999999);
stop();
_root.ball.swapDepths(10000);
_root.levelNo.swapDepths(10001);
_root.shade.swapDepths(10002);
_root.warning.swapDepths(10003);
_root.blockSpeed = 1.1;
_root.originalBlockSpeed = _root.blockSpeed;
_root.spaceLocked = false;
_root.spacePressed = false;
_root.base = _root.myFloor;
_root.gravity = 1;
_root.shade._visible = 0;
_root.menu._visible = 0;
_root.menu.swapDepths(99999999);
_root.trailC = 0;
_root.warning.gotoAndStop(2);
_root.myFloorY = _root.myFloor._y;
_root.objectsArray = new Array();
Instance of Symbol 97 MovieClip in Frame 4
onClipEvent (load) {
lockedLeft = true;
lockedRight = true;
acc = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (lockedLeft)) {
_root.ball._x = _root.ball._x + (3 + acc);
acc = acc * 1.05;
lockedRight = false;
lockedLeft = true;
_root.ball.speed = 0;
_root.ball.left = false;
_root.ball.right = false;
ctr++;
} else if (!lockedRight) {
acc = 1;
_root.ball.right = true;
_root.ball.speed = ctr / 10;
ctr = 0;
lockedRight = true;
}
if (Key.isDown(37) && (lockedRight)) {
_root.ball._x = _root.ball._x - (3 + acc);
acc = acc * 1.05;
lockedLeft = false;
lockedRight = true;
_root.ball.speed = 0;
_root.ball.left = false;
_root.ball.right = false;
ctr++;
} else if (!lockedLeft) {
acc = 1;
_root.ball.left = true;
_root.ball.speed = ctr / 10;
ctr = 0;
lockedLeft = true;
}
}
Instance of Symbol 99 MovieClip "duplicator" in Frame 4
onClipEvent (load) {
i = 1;
level = 0;
delay = 75;
mod = 10;
blockArray = new Array("blockExtended", "blockNormal", "blockLittle");
blockArray2 = new Array("blockLittle", "blockSpecial", "blockSpecialB");
trackBlocks = new Array();
}
onClipEvent (enterFrame) {
if (level < 50) {
rand = 2;
mod = 10;
} else if (level < 100) {
rand = 3;
mod = 25;
} else if (level < 200) {
rand = 3;
mod = 50;
} else if (level < 300) {
rand = 1;
} else if (level < 400) {
rand = 2;
}
if (level < 200) {
myBlock = blockArray[random(rand)];
} else if (level < 400) {
myBlock = blockArray2[random(rand)];
} else {
myBlock = blockArray2[2];
}
if ((_root.lastBlock._y > 60) && (_root.ball.death == false)) {
level++;
if ((level != 0) && ((level % mod) == 0)) {
x = 0;
duplicateMovieClip ("_root.sparks", "sparks" + i, i + 100);
_root.objectsArray.push(_root["sparks" + i]);
_root.lastBlock = _root["sparks" + i];
_root["sparks" + i]._y = -5;
_root["sparks" + i]._x = 200;
_root.levelNo._y = _root["sparks" + i]._y;
_root.levelNo._x = _root["sparks" + i]._x;
_root.levelNo.myText = level;
if (i > 50) {
i = 0;
} else {
i++;
}
} else {
x = 0;
duplicateMovieClip (_root[myBlock], myBlock + i, i + 50);
_root.objectsArray.push(_root[myBlock + i]);
_root.lastBlock = _root[myBlock + i];
randWidth = random(300);
if (level == 1) {
_root.starter = _root[myBlock + i];
}
_root[myBlock + i].myLevel = level;
_root[myBlock + i]._x = (random((400 - _root[myBlock + i]._width) - 60) + (_root[myBlock + i]._width / 2)) + 30;
_root[myBlock + i]._y = -10;
if (i > 50) {
i = 0;
} else {
i++;
}
}
} else {
x++;
}
}
Instance of Symbol 117 MovieClip "lastBlock" in Frame 4
onClipEvent (enterFrame) {
if (_y < 580) {
_y = (_y+1);
}
if (_root.retry) {
_root.retry = false;
_root.lastBlock = this;
_y = -25;
}
}
Instance of Symbol 119 MovieClip "myFloor" in Frame 4
onClipEvent (load) {
lockedMyFloor = false;
}
onClipEvent (enterFrame) {
if ((_root.base != _root.myFloor) || ((_root.starter._y - (_root.starter._height / 2)) > 550)) {
down = _root.blockSpeed;
_root.clock.hand.startFlag = true;
}
_y = (_y + down);
if (hitTest("_root.ball")) {
if (!lockedMyFloor) {
_root.ball.ticket = true;
lockedMyFloor = true;
_root.myFloorCorrect.play();
}
}
}
Instance of Symbol 126 MovieClip in Frame 4
/* no clip actions */
Instance of Symbol 132 MovieClip "stars" in Frame 4
onClipEvent (load) {
gravity = 1;
yspeed = 15;
xspeed = 5;
if (random(2) == 1) {
xspeed = -xspeed;
}
drag = 0.98;
bounce = 0.8;
}
onClipEvent (enterFrame) {
if (this != _root.stars) {
_y = (_y - yspeed);
_x = (_x + xspeed);
if (_y > 580) {
_y = 580;
yspeed = (-yspeed) * bounce;
}
if (_x > (400 - (_width / 2))) {
_x = (400 - (_width / 2));
xspeed = -xspeed;
} else if (_x < (0 + (_width / 2))) {
_x = (0 + (_width / 2));
xspeed = -xspeed;
}
yspeed = (yspeed * drag) - gravity;
if (j > 100) {
this.removeMovieClip();
} else {
j++;
}
}
}
Instance of Symbol 134 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + _root.blockSpeed);
if ((_y - (_height / 2)) > 550) {
_y = (-(_height / 2));
}
}
Instance of Symbol 134 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + _root.blockSpeed);
if ((_y - (_height / 2)) > 550) {
_y = (-(_height / 2));
}
}
Instance of Symbol 134 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + _root.blockSpeed);
if ((_y - (_height / 2)) > 550) {
_y = (-(_height / 2));
}
}
Instance of Symbol 134 MovieClip in Frame 4
onClipEvent (enterFrame) {
_y = (_y + _root.blockSpeed);
if ((_y - (_height / 2)) > 550) {
_y = (-(_height / 2));
}
}
Instance of Symbol 137 MovieClip "ball" in Frame 4
onClipEvent (load) {
death = false;
gravity = _root.gravity;
yspeed = 15;
backupYspeed = yspeed;
originalYspeed = yspeed;
drag = 0.95;
friction = 0;
speed = 0;
ticket = true;
rxSpeed = 5;
}
onClipEvent (enterFrame) {
if (_x <= 30) {
_x = 30;
_root.ball.left = false;
}
if (_x >= 370) {
_x = 370;
_root.ball.right = false;
}
if ((_y > 550) && (!locked)) {
_root.warning.score = _root.myScore;
locked = true;
tempBlockSpeed = _root.blockSpeed;
_root.blockSpeed = 0;
_root.ball.death = true;
_root.warning._visible = 1;
_root.warning.gotoAndStop(1);
_root.shade._visible = 1;
_root.menu._visible = 1;
_root.cursor._visible = 1;
}
if (_root.trailC > 100) {
_root.trailC = 0;
}
duplicateMovieClip ("_root.trail", "trail" + _root.trailC, _root.trailC + 6000);
_root["trail" + _root.trailC]._x = (this._x - (this._width / 4)) + random(this._width / 2);
_root["trail" + _root.trailC]._y = (this._y + (this._height / 2)) + random(this._height);
_root["trail" + _root.trailC]._y = this._y;
_root["trail" + _root.trailC]._width = (myRand = random(5));
_root["trail" + _root.trailC]._height = myRand;
_root["trail" + _root.trailC].play();
_root.trailC++;
duplicateMovieClip ("_root.trail", "trail" + _root.trailC, _root.trailC + 6000);
_root["trail" + _root.trailC]._x = (this._x - (this._width / 4)) + random(this._width / 2);
_root["trail" + _root.trailC]._y = (this._y + (this._height / 2)) + random(this._height);
_root["trail" + _root.trailC]._y = this._y;
_root["trail" + _root.trailC]._width = (myRand = random(5));
_root["trail" + _root.trailC]._height = myRand;
_root["trail" + _root.trailC].play();
_root.trailC++;
if (right) {
speed = speed * 0.95;
_x = (_x + speed);
_root.rightCorrect.play();
}
if (left) {
speed = speed * 0.95;
_x = (_x - speed);
_root.leftCorrect.play();
}
_y = (_y + yspeed);
if ((_y + (_height / 2)) > (_root.base._y - (_root.base._height / 2))) {
yspeed = (-yspeed) * friction;
_y = ((_root.base._y - (_root.base._height / 2)) - (_height / 2));
}
yspeed = (yspeed * drag) + gravity;
}
Instance of Symbol 139 MovieClip "higherHelper" in Frame 4
onClipEvent (load) {
temp = _root.blockSpeed;
flag = false;
flag2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ball._y < 275) && (_root.blockSpeed < 1.5)) {
flag = true;
flag2 = false;
if (!locked) {
temp = _root.blockSpeed;
locked = true;
tempBackupYspeed = _root.ball.backupYspeed;
}
_root.blockSpeed = temp * 2;
_root.ball.backupYspeed = tempBackupYspeed / 1.1;
_root.higher = true;
} else if (flag) {
flag2 = true;
flag = false;
_root.blockSpeed = temp;
_root.ball.backupYspeed = _root.ball.originalYspeed;
locked = false;
_root.higher = false;
}
}
Instance of Symbol 155 MovieClip "blockSpecial" in Frame 4
onClipEvent (load) {
locked = false;
red = false;
mySpeed = 0.5;
if (random(2) == 1) {
mySpeed = -mySpeed;
}
}
onClipEvent (enterFrame) {
if (this != _root.blockSpecial) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (!red) {
_x = (_x + mySpeed);
if (mySpeed.toString().substring(0, 1) == "-") {
if ((_x - (_width / 2)) < 20) {
red = true;
}
} else if ((_x + (_width / 2)) > 380) {
red = true;
}
} else {
mySpeed = -mySpeed;
red = false;
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 161 MovieClip "blockExtended" in Frame 4
onClipEvent (load) {
locked = false;
}
onClipEvent (enterFrame) {
if (this != _root.blockExtended) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 165 MovieClip "blockLittle" in Frame 4
onClipEvent (load) {
locked = false;
mySpeed = 0.5;
}
onClipEvent (enterFrame) {
if (this != _root.blockLittle) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 168 MovieClip "levelNo" in Frame 4
onClipEvent (enterFrame) {
_y = (_y + _root.blockSpeed);
}
Instance of Symbol 155 MovieClip "blockNormal" in Frame 4
onClipEvent (load) {
locked = false;
}
onClipEvent (enterFrame) {
if (this != _root.blockNormal) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 165 MovieClip "blockSpecialB" in Frame 4
onClipEvent (load) {
locked = false;
red = false;
mySpeed = 0.5;
if (random(2) == 1) {
mySpeed = -mySpeed;
}
}
onClipEvent (enterFrame) {
if (this != _root.blockSpecialB) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (!red) {
_x = (_x + mySpeed);
if (mySpeed.toString().substring(0, 1) == "-") {
if ((_x - (_width / 2)) < 20) {
red = true;
}
} else if ((_x + (_width / 2)) > 380) {
red = true;
}
} else {
mySpeed = -mySpeed;
red = false;
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 169 MovieClip "sparks" in Frame 4
onClipEvent (load) {
locked = false;
}
onClipEvent (enterFrame) {
if (this != _root.blockExtended) {
if (this != _root.sparks) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
if ((!myLock) && ((_root.levelNo.myText % 100) == 0)) {
o = 0;
while (o < 15) {
duplicateMovieClip ("_root.stars", "stars" + o, o + 700);
_root["stars" + o].gotoAndStop(random(5) + 1);
_root["stars" + o]._y = random(50) + _y;
_root["stars" + o]._x = random(400);
o++;
}
}
myLock = true;
_root.ball.gotoAndStop(2);
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
}
Frame 5
_root.cursor._visible = 0;
_root.cursor.swapDepths(999999999);
stop();
_root.ball.swapDepths(10000);
_root.levelNo.swapDepths(10001);
_root.shade.swapDepths(10002);
_root.warning.swapDepths(10003);
_root.blockSpeed = 1.1;
_root.originalBlockSpeed = _root.blockSpeed;
_root.spaceLocked = false;
_root.spacePressed = false;
_root.base = _root.myFloor;
_root.gravity = 1;
_root.shade._visible = 0;
_root.menu._visible = 0;
_root.menu.swapDepths(99999999);
_root.trailC = 0;
_root.warning.gotoAndStop(2);
_root.myFloorY = _root.myFloor._y;
_root.objectsArray = new Array();
Instance of Symbol 137 MovieClip "ball" in Frame 5
onClipEvent (load) {
death = false;
gravity = _root.gravity;
yspeed = 15;
backupYspeed = yspeed;
originalYspeed = yspeed;
drag = 0.95;
friction = 0;
speed = 0;
ticket = true;
rxSpeed = 5;
}
onClipEvent (enterFrame) {
if (_x <= 30) {
_x = 30;
_root.ball.left = false;
}
if (_x >= 370) {
_x = 370;
_root.ball.right = false;
}
if ((_y > 550) && (!locked)) {
_root.warning.score = _root.myScore;
locked = true;
tempBlockSpeed = _root.blockSpeed;
_root.blockSpeed = 0;
_root.ball.death = true;
_root.warning._visible = 1;
_root.warning.gotoAndStop(1);
_root.shade._visible = 1;
_root.menu._visible = 1;
_root.cursor._visible = 1;
}
if (_root.trailC > 100) {
_root.trailC = 0;
}
duplicateMovieClip ("_root.trail", "trail" + _root.trailC, _root.trailC + 6000);
_root["trail" + _root.trailC]._x = (this._x - (this._width / 4)) + random(this._width / 2);
_root["trail" + _root.trailC]._y = (this._y + (this._height / 2)) + random(this._height);
_root["trail" + _root.trailC]._y = this._y;
_root["trail" + _root.trailC]._width = (myRand = random(5));
_root["trail" + _root.trailC]._height = myRand;
_root["trail" + _root.trailC].play();
_root.trailC++;
duplicateMovieClip ("_root.trail", "trail" + _root.trailC, _root.trailC + 6000);
_root["trail" + _root.trailC]._x = (this._x - (this._width / 4)) + random(this._width / 2);
_root["trail" + _root.trailC]._y = (this._y + (this._height / 2)) + random(this._height);
_root["trail" + _root.trailC]._y = this._y;
_root["trail" + _root.trailC]._width = (myRand = random(5));
_root["trail" + _root.trailC]._height = myRand;
_root["trail" + _root.trailC].play();
_root.trailC++;
if (right) {
speed = speed * 0.95;
_x = (_x + speed);
_root.rightCorrect.play();
}
if (left) {
speed = speed * 0.95;
_x = (_x - speed);
_root.leftCorrect.play();
}
_y = (_y + yspeed);
if ((_y + (_height / 2)) > (_root.base._y - (_root.base._height / 2))) {
yspeed = (-yspeed) * friction;
_y = ((_root.base._y - (_root.base._height / 2)) - (_height / 2));
}
yspeed = (yspeed * drag) + gravity;
}
Instance of Symbol 97 MovieClip in Frame 5
onClipEvent (load) {
lockedLeft = true;
lockedRight = true;
acc = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (lockedLeft)) {
_root.ball._x = _root.ball._x + (3 + acc);
acc = acc * 1.05;
lockedRight = false;
lockedLeft = true;
_root.ball.speed = 0;
_root.ball.left = false;
_root.ball.right = false;
ctr++;
} else if (!lockedRight) {
acc = 1;
_root.ball.right = true;
_root.ball.speed = ctr / 10;
ctr = 0;
lockedRight = true;
}
if (Key.isDown(37) && (lockedRight)) {
_root.ball._x = _root.ball._x - (3 + acc);
acc = acc * 1.05;
lockedLeft = false;
lockedRight = true;
_root.ball.speed = 0;
_root.ball.left = false;
_root.ball.right = false;
ctr++;
} else if (!lockedLeft) {
acc = 1;
_root.ball.left = true;
_root.ball.speed = ctr / 10;
ctr = 0;
lockedLeft = true;
}
}
Instance of Symbol 155 MovieClip "blockSpecial" in Frame 5
onClipEvent (load) {
locked = false;
red = false;
mySpeed = 0.5;
if (random(2) == 1) {
mySpeed = -mySpeed;
}
}
onClipEvent (enterFrame) {
if (this != _root.blockSpecial) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (!red) {
_x = (_x + mySpeed);
if (mySpeed.toString().substring(0, 1) == "-") {
if ((_x - (_width / 2)) < 20) {
red = true;
}
} else if ((_x + (_width / 2)) > 380) {
red = true;
}
} else {
mySpeed = -mySpeed;
red = false;
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 161 MovieClip "blockExtended" in Frame 5
onClipEvent (load) {
locked = false;
}
onClipEvent (enterFrame) {
if (this != _root.blockExtended) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 99 MovieClip "duplicator" in Frame 5
onClipEvent (load) {
i = 1;
level = 0;
delay = 75;
mod = 10;
blockArray = new Array("blockExtended", "blockNormal", "blockLittle");
blockArray2 = new Array("blockLittle", "blockSpecial", "blockSpecialB");
trackBlocks = new Array();
}
onClipEvent (enterFrame) {
if (level < 50) {
rand = 2;
mod = 10;
} else if (level < 100) {
rand = 3;
mod = 25;
} else if (level < 200) {
rand = 3;
mod = 50;
} else if (level < 300) {
rand = 1;
} else if (level < 400) {
rand = 2;
}
if (level < 200) {
myBlock = blockArray[random(rand)];
} else if (level < 400) {
myBlock = blockArray2[random(rand)];
} else {
myBlock = blockArray2[2];
}
if ((_root.lastBlock._y > 60) && (_root.ball.death == false)) {
level++;
if ((level != 0) && ((level % mod) == 0)) {
x = 0;
duplicateMovieClip ("_root.sparks", "sparks" + i, i + 100);
_root.objectsArray.push(_root["sparks" + i]);
_root.lastBlock = _root["sparks" + i];
_root["sparks" + i]._y = -5;
_root["sparks" + i]._x = 200;
_root.levelNo._y = _root["sparks" + i]._y;
_root.levelNo._x = _root["sparks" + i]._x;
_root.levelNo.myText = level;
if (i > 50) {
i = 0;
} else {
i++;
}
} else {
x = 0;
duplicateMovieClip (_root[myBlock], myBlock + i, i + 50);
_root.objectsArray.push(_root[myBlock + i]);
_root.lastBlock = _root[myBlock + i];
randWidth = random(300);
if (level == 1) {
_root.starter = _root[myBlock + i];
}
_root[myBlock + i].myLevel = level;
_root[myBlock + i]._x = (random((400 - _root[myBlock + i]._width) - 60) + (_root[myBlock + i]._width / 2)) + 30;
_root[myBlock + i]._y = -10;
if (i > 50) {
i = 0;
} else {
i++;
}
}
} else {
x++;
}
}
Instance of Symbol 139 MovieClip "higherHelper" in Frame 5
onClipEvent (load) {
temp = _root.blockSpeed;
flag = false;
flag2 = false;
}
onClipEvent (enterFrame) {
if ((_root.ball._y < 275) && (_root.blockSpeed < 1.5)) {
flag = true;
flag2 = false;
if (!locked) {
temp = _root.blockSpeed;
locked = true;
tempBackupYspeed = _root.ball.backupYspeed;
}
_root.blockSpeed = temp * 2;
_root.ball.backupYspeed = tempBackupYspeed / 1.1;
_root.higher = true;
} else if (flag) {
flag2 = true;
flag = false;
_root.blockSpeed = temp;
_root.ball.backupYspeed = _root.ball.originalYspeed;
locked = false;
_root.higher = false;
}
}
Instance of Symbol 165 MovieClip "blockLittle" in Frame 5
onClipEvent (load) {
locked = false;
mySpeed = 0.5;
}
onClipEvent (enterFrame) {
if (this != _root.blockLittle) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 168 MovieClip "levelNo" in Frame 5
onClipEvent (enterFrame) {
_y = (_y + _root.blockSpeed);
}
Instance of Symbol 117 MovieClip "lastBlock" in Frame 5
onClipEvent (enterFrame) {
if (_y < 580) {
_y = (_y+1);
}
if (_root.retry) {
_root.retry = false;
_root.lastBlock = this;
_y = -25;
}
}
Instance of Symbol 119 MovieClip "myFloor" in Frame 5
onClipEvent (load) {
lockedMyFloor = false;
}
onClipEvent (enterFrame) {
if ((_root.base != _root.myFloor) || ((_root.starter._y - (_root.starter._height / 2)) > 550)) {
down = _root.blockSpeed;
_root.clock.hand.startFlag = true;
}
_y = (_y + down);
if (hitTest("_root.ball")) {
if (!lockedMyFloor) {
_root.ball.ticket = true;
lockedMyFloor = true;
_root.myFloorCorrect.play();
}
}
}
Instance of Symbol 123 MovieClip "soundJump" in Frame 5
onClipEvent (load) {
stop();
}
Instance of Symbol 126 MovieClip in Frame 5
/* no clip actions */
Instance of Symbol 155 MovieClip "blockNormal" in Frame 5
onClipEvent (load) {
locked = false;
}
onClipEvent (enterFrame) {
if (this != _root.blockNormal) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 165 MovieClip "blockSpecialB" in Frame 5
onClipEvent (load) {
locked = false;
red = false;
mySpeed = 0.5;
if (random(2) == 1) {
mySpeed = -mySpeed;
}
}
onClipEvent (enterFrame) {
if (this != _root.blockSpecialB) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (!red) {
_x = (_x + mySpeed);
if (mySpeed.toString().substring(0, 1) == "-") {
if ((_x - (_width / 2)) < 20) {
red = true;
}
} else if ((_x + (_width / 2)) > 380) {
red = true;
}
} else {
mySpeed = -mySpeed;
red = false;
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
_root.ball.gotoAndStop(2);
_root.ball.sid.play();
_root.myScore = this.myLevel;
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
Instance of Symbol 132 MovieClip "stars" in Frame 5
onClipEvent (load) {
gravity = 1;
yspeed = 15;
xspeed = 5;
if (random(2) == 1) {
xspeed = -xspeed;
}
drag = 0.98;
bounce = 0.8;
}
onClipEvent (enterFrame) {
if (this != _root.stars) {
_y = (_y - yspeed);
_x = (_x + xspeed);
if (_y > 580) {
_y = 580;
yspeed = (-yspeed) * bounce;
}
if (_x > (400 - (_width / 2))) {
_x = (400 - (_width / 2));
xspeed = -xspeed;
} else if (_x < (0 + (_width / 2))) {
_x = (0 + (_width / 2));
xspeed = -xspeed;
}
yspeed = (yspeed * drag) - gravity;
if (j > 100) {
this.removeMovieClip();
} else {
j++;
}
}
}
Instance of Symbol 169 MovieClip "sparks" in Frame 5
onClipEvent (load) {
locked = false;
}
onClipEvent (enterFrame) {
if (this != _root.blockExtended) {
if (this != _root.sparks) {
if ((_y + (_height / 2)) < 580) {
_y = (_y + _root.blockSpeed);
} else {
_root.objectsArray.shift();
this.removeMovieClip();
}
if (((_root.ball._y + (_root.ball._height / 2)) < (_y + 100)) && ((_root.ball._y + (_root.ball._height / 2)) > ((_y - (_height / 2)) - 100))) {
if (_root.ball.yspeed.toString().substring(0, 1) != "-") {
eligible = true;
} else {
eligible = false;
}
if ((hitTest("_root.ball") && (eligible)) && (((_root.ball._y + (_root.ball._height / 2)) > (_y - (_height / 2))) && ((_root.ball._y + (_root.ball._height / 2)) < ((_y - (_height / 2)) + 15)))) {
if (_root.levelNo.myText == 10) {
trace("s");
}
if ((!myLock) && ((_root.levelNo.myText % 100) == 0)) {
o = 0;
while (o < 15) {
duplicateMovieClip ("_root.stars", "stars" + o, o + 700);
_root["stars" + o].gotoAndStop(random(5) + 1);
_root["stars" + o]._y = random(50) + _y;
_root["stars" + o]._x = random(400);
o++;
}
}
myLock = true;
_root.ball.gotoAndStop(2);
_root.ball.ticket = true;
locked = true;
_root.base = this;
flag = true;
if (locked) {
_root.ball.yspeed = 0;
}
stickToMe = true;
} else if (flag) {
_root.baseBackup = this;
_root.base = _root.myFloor;
flag = false;
_root.ball.ticket = true;
}
if (stickToMe) {
if ((_root.ball._x + (_root.ball._width / 2)) < (_x - (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else if ((_root.ball._x - (_root.ball._width / 2)) > (_x + (_width / 2))) {
_root.ball.gravity = 1;
stickToMe = false;
_root.ball.ticket = false;
} else {
_root.ball._y = (_y - (_root.ball._height / 2)) - (_height / 2);
_root.ball.gravity = 0;
}
}
}
}
}
}
Symbol 16 Button
on (press) {
_root.gotoAndStop("controls");
}
Symbol 22 Button
on (press) {
_root.gotoAndStop("plays");
}
Symbol 28 Button
on (release) {
getURL ("http://flash-world.50webs.com");
}
Symbol 37 MovieClip Frame 25
_root.myFloor.lockedMyFloor = false;
stop();
Symbol 58 MovieClip Frame 25
stop();
Symbol 68 Button
on (press) {
_root.gotoAndStop("low");
}
Symbol 71 Button
on (press) {
_root.gotoAndStop("high");
}
Symbol 82 Button
on (press) {
_root.gotoAndStop(1);
}
Symbol 83 MovieClip Frame 10
stop();
Symbol 95 Button
on (keyPress "<Space>") {
if (!_root.spaceLocked) {
if (!_root.ball.death) {
if (_root.ball.ticket) {
_root.soundJump.play();
_root.baseBackup.stickToMe = false;
_root.ball.yspeed = _root.ball.backupYspeed;
_root.ball.locked = false;
_root.ball.gravity = _root.gravity;
_root.ball.yspeed = -_root.ball.yspeed;
_root.base.locked = false;
_root.ball.ticket = false;
}
}
}
}
Symbol 101 MovieClip Frame 30
this.removeMovieClip();
Symbol 104 MovieClip Frame 40
_root.ball.left = false;
stop();
Symbol 105 MovieClip Frame 40
_root.ball.right = false;
stop();
Symbol 112 MovieClip Frame 200
stop();
this._parent._visible = 0;
Symbol 114 MovieClip Frame 150
stop();
this._parent._visible = 0;
Symbol 115 MovieClip Frame 1
stop();
_root.spaceDelay.flag = true;
if (((score == "") || (score == null)) || (score == undefined)) {
score = 0;
}
Symbol 115 MovieClip Frame 2
stop();
Symbol 115 MovieClip Frame 3
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Symbol 132 MovieClip Frame 3
stop();
Symbol 132 MovieClip Frame 4
stop();
Symbol 132 MovieClip Frame 5
stop();
Symbol 136 MovieClip Frame 12
this._parent.gotoAndStop(1);
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 145 Button
on (press) {
_root.ball.death = false;
i = 0;
while (i < _root.objectsArray.length) {
removeMovieClip(_root.objectsArray[i]);
i++;
}
_root.blockSpeed = _root.originalBlockSpeed;
_root.warning._visible = 0;
_root.shade._visible = 0;
_root.ball.locked = true;
_root.myFloor._y = _root.myFloorY;
_root.ball._y = (_root.myFloor._y - (_root.myFloor._height / 2)) - (_root.ball._height / 2);
_root.duplicator.i = 1;
_root.duplicator.level = 0;
_root.retry = true;
_root.levelNo._x = -100;
_root.clock.hand._rotation = 0;
_root.clock.hand.startFlag = false;
_root.warning._visible = 1;
_root.warning.gotoAndStop(2);
_root.warning.getReady.play();
_root.myFloor.down = 0;
_root.menu._visible = 0;
_root.cursor._visible = 0;
}
Symbol 149 Button
on (release) {
getURL ("http://flash-world.50webs.com", "_blank");
}
Symbol 175 MovieClip Frame 1
stop();
Instance of Symbol 172 MovieClip "hand" in Symbol 175 MovieClip Frame 1
onClipEvent (load) {
c = 0;
startFlag = false;
x = 0;
}
onClipEvent (enterFrame) {
if (startFlag) {
_rotation = (_rotation + 0.3);
}
if ((_rotation > 45) && (_rotation < 90)) {
locked = false;
}
if (_root.higher) {
speed = _root.higherHelper.temp;
} else {
speed = _root.blockSpeed;
}
if ((_rotation < 0) && (_rotation > -10)) {
if (!locked) {
if ((!_root.ball.death) && (speed <= 2.1)) {
_root.blockSpeed = _root.blockSpeed + 0.05;
_root.warning._visible = 1;
_root.warning.gotoAndStop(3);
_root.warning.faster.play();
}
locked = true;
trace(_root.blockSpeed);
}
}
if ((_rotation < -10) && (_rotation > -45)) {
if (x < 10) {
this._parent._alpha = 50;
x++;
} else if ((x >= 10) && (x < 20)) {
this._parent._alpha = 25;
x++;
} else {
x = 0;
}
} else {
this._parent._alpha = 25;
}
}