Frame 1
Stage.showMenu = false;
Version = 2;
stop();
Frame 2
game = "FlashBack";
loadVariablesNum ("../login/newlogin.php", 0, "POST");
if (!Name) {
Name = "ng user";
}
Frame 20
stop();
Instance of Symbol 86 MovieClip "Scorelabel" in Frame 20
onClipEvent (enterFrame) {
_root.Welcome = "welcome " + _root.Name.toLowerCase();
if ((_root.topscore > 0) && (_root.Name != "Guest")) {
this._visible = true;
_root.top = _root.topscore + " Points";
} else if ((!_root.topscore) && (_root.Name != "Guest")) {
this._visible = true;
_root.top = "never played yet";
} else if ((_root.topscore == "0") && (_root.Name != "Guest")) {
this._visible = true;
_root.top = "dead";
} else {
this._visible = false;
_root.top = "";
}
}
Frame 21
elevstart = new Sound();
elevstart.attachSound("elevstart");
elevloop = new Sound();
elevloop.attachSound("elevloop");
elevstop = new Sound();
elevstop.attachSound("elevstop");
bumpsound = new Sound();
bumpsound.attachSound("bumpsound");
Score = 0;
secrets = 2;
Secretsfound = 0;
itemssearched = 0;
Level = 1;
stop();
Instance of Symbol 125 MovieClip "Crevass1" in Frame 21
onClipEvent (enterFrame) {
if ((((this.HitBox.hitTest(_root.Character) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (_root.Character.dead == false)) {
if (Key.isDown(38)) {
_root.Character.gotoAndStop("hide");
} else if (!Key.isDown(38)) {
_root.Character.hiding = false;
}
}
}
Instance of Symbol 125 MovieClip "Crevass2" in Frame 21
onClipEvent (enterFrame) {
if ((((this.HitBox.hitTest(_root.Character) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (_root.Character.dead == false)) {
if (Key.isDown(38)) {
_root.Character.gotoAndStop("hide");
} else if (!Key.isDown(38)) {
_root.Character.hiding = false;
}
}
}
Instance of Symbol 125 MovieClip "Crevass3" in Frame 21
onClipEvent (enterFrame) {
if ((((this.HitBox.hitTest(_root.Character) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (_root.Character.dead == false)) {
if (Key.isDown(38)) {
_root.Character.gotoAndStop("hide");
} else if (!Key.isDown(38)) {
_root.Character.hiding = false;
}
}
}
Instance of Symbol 134 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
searched = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if ((((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (searchstatus < 100)) {
_root.Character.gotoAndStop("search");
searchstatus = searchstatus + 1;
this.searchbar._visible = true;
} else if (((Key.isDown(38) && (_root.Character.running == true)) || (_root.Character.rolling == true)) || ((_root.Character.turning == true) && (searchstatus < 100))) {
searchstatus = 0;
this.searchbar._visible = false;
} else if (!Key.isDown(38)) {
searchstatus = 0;
this.searchbar._visible = false;
}
if (Key.isDown(38) && (searchstatus > 99)) {
searched = true;
_root.itemssearched = _root.itemssearched + 1;
_root.Score = _root.Score + 500;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 138 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
searched = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if ((((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (searchstatus < 100)) {
_root.Character.gotoAndStop("search");
searchstatus = searchstatus + 1;
this.searchbar._visible = true;
} else if (((Key.isDown(38) && (_root.Character.running == true)) || (_root.Character.rolling == true)) || ((_root.Character.turning == true) && (searchstatus < 100))) {
searchstatus = 0;
this.searchbar._visible = false;
} else if (!Key.isDown(38)) {
searchstatus = 0;
this.searchbar._visible = false;
}
if (Key.isDown(38) && (searchstatus > 99)) {
searched = true;
_root.itemssearched = _root.itemssearched + 1;
_root.Score = _root.Score + 300;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 152 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
searched = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if ((((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (searchstatus < 100)) {
_root.Character.gotoAndStop("search");
searchstatus = searchstatus + 0.5;
this.searchbar._visible = true;
} else if (((Key.isDown(38) && (_root.Character.running == true)) || (_root.Character.rolling == true)) || ((_root.Character.turning == true) && (searchstatus < 100))) {
searchstatus = 0;
this.searchbar._visible = false;
} else if (!Key.isDown(38)) {
searchstatus = 0;
this.searchbar._visible = false;
}
if (Key.isDown(38) && (searchstatus > 99)) {
searched = true;
_root.itemssearched = _root.itemssearched + 1;
_root.Score = _root.Score + 750;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 138 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
searched = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if ((((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (searchstatus < 100)) {
_root.Character.gotoAndStop("search");
searchstatus = searchstatus + 1;
this.searchbar._visible = true;
} else if (((Key.isDown(38) && (_root.Character.running == true)) || (_root.Character.rolling == true)) || ((_root.Character.turning == true) && (searchstatus < 100))) {
searchstatus = 0;
this.searchbar._visible = false;
} else if (!Key.isDown(38)) {
searchstatus = 0;
this.searchbar._visible = false;
}
if (Key.isDown(38) && (searchstatus > 99)) {
searched = true;
_root.itemssearched = _root.itemssearched + 1;
_root.Score = _root.Score + 300;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 152 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
}
Instance of Symbol 152 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
searched = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if ((((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (searchstatus < 100)) {
_root.Character.gotoAndStop("search");
searchstatus = searchstatus + 0.5;
this.searchbar._visible = true;
} else if (((Key.isDown(38) && (_root.Character.running == true)) || (_root.Character.rolling == true)) || ((_root.Character.turning == true) && (searchstatus < 100))) {
searchstatus = 0;
this.searchbar._visible = false;
} else if (!Key.isDown(38)) {
searchstatus = 0;
this.searchbar._visible = false;
}
if (Key.isDown(38) && (searchstatus > 99)) {
searched = true;
_root.itemssearched = _root.itemssearched + 1;
_root.Score = _root.Score + 750;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 154 MovieClip in Frame 21
onClipEvent (load) {
found = false;
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (found == false)) {
_root.Secretsfound = _root.Secretsfound + 1;
found = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 154 MovieClip in Frame 21
onClipEvent (load) {
searchstatus = 0;
searched = false;
Pause = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if (((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) {
_root.Character.gotoAndStop("search");
if (Pause == false) {
searchstatus = searchstatus + 1;
Pause = true;
}
} else if (!Key.isDown(38)) {
Pause = false;
}
if (Key.isDown(38) && (searchstatus > 4)) {
searched = true;
_root.Secretsfound = _root.Secretsfound + 1;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 210 MovieClip "Character" in Frame 21
onClipEvent (load) {
xspeed = 0;
yspeed = -1;
left = true;
right = false;
running = false;
moving = true;
ducked = false;
rolling = false;
stopping = false;
bump = false;
turning = false;
hiding = false;
dead = false;
}
onClipEvent (enterFrame) {
if (dead == false) {
if (moving == false) {
this._x = this._x + xspeed;
if (((Key.isDown(37) && (right == true)) && (running == false)) && (rolling == false)) {
xspeed = 0;
right = false;
turning = true;
this.gotoAndStop("turnleft");
} else if ((Key.isDown(37) && (left == true)) && (rolling == false)) {
running = true;
stopping = false;
this.gotoAndStop("runleft");
right = false;
left = true;
xspeed = -5;
}
if (((Key.isDown(39) && (left == true)) && (running == false)) && (rolling == false)) {
xspeed = 0;
left = false;
turning = true;
this.gotoAndStop("turnright");
} else if ((Key.isDown(39) && (right == true)) && (rolling == false)) {
running = true;
stopping = false;
this.gotoAndStop("runright");
left = false;
right = true;
xspeed = 5;
}
if ((((!Key.isDown(37)) && (left == true)) && (running == true)) && (rolling == false)) {
stopping = true;
bump = false;
this.gotoAndStop("stopleft");
xspeed = 0;
} else if ((((!Key.isDown(39)) && (left == true)) && (running == false)) && (rolling == false)) {
stopping = true;
bump = false;
this.gotoAndStop("standleft");
xspeed = 0;
}
if ((((!Key.isDown(39)) && (right == true)) && (running == true)) && (rolling == false)) {
stopping = true;
bump = false;
this.gotoAndStop("stopright");
xspeed = 0;
} else if ((((!Key.isDown(39)) && (right == true)) && (running == false)) && (rolling == false)) {
stopping = true;
bump = false;
this.gotoAndStop("standright");
xspeed = 0;
}
if ((Key.isDown(40) && (left == true)) && (running == false)) {
xspeed = 0;
this.gotoAndStop("duckleft");
} else if ((((Key.isDown(40) && (left == true)) && (running == true)) && (rolling == false)) && (stopping == false)) {
this.gotoAndStop("rollleft");
rolling = true;
}
if ((Key.isDown(40) && (right == true)) && (running == false)) {
xspeed = 0;
this.gotoAndStop("duckright");
} else if ((((Key.isDown(40) && (right == true)) && (running == true)) && (rolling == false)) && (stopping == false)) {
this.gotoAndStop("rollright");
rolling = true;
}
if (this._x < 15) {
if ((bump == false) && (running == true)) {
_root.bumpsound.start();
bump = true;
}
this._x = 15;
running = false;
rolling = false;
this.gotoAndStop("bashleft");
}
if (this._x > 535) {
if ((bump == false) && (running == true)) {
_root.bumpsound.start();
bump = true;
}
this._x = 535;
running = false;
rolling = false;
this.gotoAndStop("bashright");
}
} else if (moving == true) {
this._y = this._y + yspeed;
running = false;
ducked = false;
rolling = false;
stopping = false;
bump = false;
turning = false;
hiding = false;
if (left == true) {
this.gotoAndStop("standleft");
} else if (right == true) {
this.gotoAndStop("standright");
}
}
}
if (dead == true) {
if (left == true) {
hiding = false;
moving = true;
this.gotoAndStop("deathright");
} else if (right == true) {
hiding = false;
moving = true;
this.gotoAndStop("deathleft");
}
}
if (((right == false) && (left == false)) && (hiding == true)) {
left = true;
}
}
Instance of Symbol 214 MovieClip "robot1" in Frame 21
onClipEvent (load) {
right = true;
left = false;
moving = true;
xspeed = 0;
Pause = 0;
this.laser._visible = false;
}
onClipEvent (enterFrame) {
Pause--;
if ((_root.Character.hitTest(_x + 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if ((_root.Character.hitTest(_x - 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if (Pause < 0) {
Pause = 0;
moving = true;
}
this._x = this._x + xspeed;
if ((moving == true) && (Pause == 0)) {
if (left == true) {
xspeed = -1;
this.gotoAndStop("moveleft");
} else if (right == true) {
xspeed = 1;
this.gotoAndStop("moveright");
}
}
if (this._x > 480) {
_x = 480;
moving = false;
this.gotoAndStop("right");
Pause = 20;
xspeed = 0;
right = false;
left = true;
}
if (this._x < 80) {
_x = 80;
moving = false;
this.gotoAndStop("left");
Pause = 20;
xspeed = 0;
left = false;
right = true;
}
if (((((this._y > (_root.Character._y - 30)) && (this._y < (_root.Character._y + 30))) && (moving == true)) && (_root.Character.hiding == false)) && (_root.Character.dead == false)) {
if ((left == true) && (this._x > _root.Character._x)) {
this.laser._visible = true;
xspeed = -3;
} else if ((left == true) && (this._x < _root.Character._x)) {
this.laser._visible = false;
xspeed = -1;
}
if ((left == false) && (this._x < _root.Character._x)) {
this.laser._visible = true;
xspeed = 3;
} else if ((left == false) && (this._x > _root.Character._x)) {
this.laser._visible = false;
xspeed = 1;
}
} else {
this.laser._visible = false;
}
}
Instance of Symbol 214 MovieClip "robot2" in Frame 21
onClipEvent (load) {
right = true;
left = false;
moving = true;
xspeed = 0;
Pause = 0;
this.laser._visible = false;
}
onClipEvent (enterFrame) {
Pause--;
if ((_root.Character.hitTest(_x + 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if ((_root.Character.hitTest(_x - 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if (Pause < 0) {
Pause = 0;
moving = true;
}
this._x = this._x + xspeed;
if ((moving == true) && (Pause == 0)) {
if (left == true) {
xspeed = -1;
this.gotoAndStop("moveleft");
} else if (right == true) {
xspeed = 1;
this.gotoAndStop("moveright");
}
}
if (this._x > 480) {
_x = 480;
moving = false;
this.gotoAndStop("right");
Pause = 20;
xspeed = 0;
right = false;
left = true;
}
if (this._x < 80) {
_x = 80;
moving = false;
this.gotoAndStop("left");
Pause = 20;
xspeed = 0;
left = false;
right = true;
}
if (((((this._y > (_root.Character._y - 30)) && (this._y < (_root.Character._y + 30))) && (moving == true)) && (_root.Character.hiding == false)) && (_root.Character.dead == false)) {
if ((left == true) && (this._x > _root.Character._x)) {
this.laser._visible = true;
xspeed = -3;
} else if ((left == true) && (this._x < _root.Character._x)) {
this.laser._visible = false;
xspeed = -1;
}
if ((left == false) && (this._x < _root.Character._x)) {
this.laser._visible = true;
xspeed = 3;
} else if ((left == false) && (this._x > _root.Character._x)) {
this.laser._visible = false;
xspeed = 1;
}
} else {
this.laser._visible = false;
}
}
Instance of Symbol 223 MovieClip "lift2" in Frame 21
onClipEvent (load) {
yspeed = 0;
moving = false;
ypos = Math.round(this._y - 60);
up = false;
down = true;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if ((((this.hitTest(_root.Character) && (Key.isDown(38))) && (_root.Character.running == false)) && (up == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = -1;
yspeed = -1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (down == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = 1;
yspeed = 1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((Math.round(this._y) == ypos) && (down == true)) {
moving = false;
up = true;
down = false;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
_root.elevstop.start();
ypos = Math.round(this._y + 60);
}
if ((Math.round(this._y) == ypos) && (up == true)) {
moving = false;
up = false;
down = true;
yspeed = 0;
_root.Character.yspeed = 0;
_root.Character.moving = false;
_root.elevstop.start();
ypos = Math.round(this._y - 60);
}
}
Instance of Symbol 223 MovieClip "lift3" in Frame 21
onClipEvent (load) {
yspeed = 0;
moving = false;
ypos = Math.round(this._y - 60);
up = false;
down = true;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if ((((this.hitTest(_root.Character) && (Key.isDown(38))) && (_root.Character.running == false)) && (up == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = -1;
yspeed = -1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (down == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = 1;
yspeed = 1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((Math.round(this._y) == ypos) && (down == true)) {
moving = false;
up = true;
down = false;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
_root.elevstop.start();
ypos = Math.round(this._y + 60);
}
if ((Math.round(this._y) == ypos) && (up == true)) {
moving = false;
up = false;
down = true;
yspeed = 0;
_root.Character.yspeed = 0;
_root.Character.moving = false;
_root.elevstop.start();
ypos = Math.round(this._y - 60);
}
}
Instance of Symbol 223 MovieClip "lift4" in Frame 21
onClipEvent (load) {
yspeed = 0;
moving = false;
ypos = Math.round(this._y - 60);
up = false;
down = true;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if ((((this.hitTest(_root.Character) && (Key.isDown(38))) && (_root.Character.running == false)) && (up == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = -1;
yspeed = -1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (down == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = 1;
yspeed = 1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((Math.round(this._y) == ypos) && (down == true)) {
moving = false;
up = true;
down = false;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
_root.elevstop.start();
ypos = Math.round(this._y + 60);
}
if ((Math.round(this._y) == ypos) && (up == true)) {
moving = false;
up = false;
down = true;
yspeed = 0;
_root.Character.yspeed = 0;
_root.Character.moving = false;
_root.elevstop.start();
ypos = Math.round(this._y - 60);
}
}
Instance of Symbol 223 MovieClip "lift5" in Frame 21
onClipEvent (load) {
yspeed = 0;
moving = false;
ypos = Math.round(this._y - 60);
up = false;
down = true;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if ((((this.hitTest(_root.Character) && (Key.isDown(38))) && (_root.Character.running == false)) && (up == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = -1;
yspeed = -1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (down == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = 1;
yspeed = 1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((Math.round(this._y) == ypos) && (down == true)) {
moving = false;
up = true;
down = false;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
_root.elevstop.start();
ypos = Math.round(this._y + 60);
}
if ((Math.round(this._y) == ypos) && (up == true)) {
moving = false;
up = false;
down = true;
yspeed = 0;
_root.Character.yspeed = 0;
_root.Character.moving = false;
_root.elevstop.start();
ypos = Math.round(this._y - 60);
}
}
Instance of Symbol 223 MovieClip "lift6" in Frame 21
onClipEvent (load) {
yspeed = 0;
moving = false;
ypos = Math.round(this._y - 60);
up = false;
down = true;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if ((((this.hitTest(_root.Character) && (Key.isDown(38))) && (_root.Character.running == false)) && (up == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = -1;
yspeed = -1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (down == false)) && (moving == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = 1;
yspeed = 1;
_root.elevstart.start();
_root.elevloop.start(0, 50);
}
if ((Math.round(this._y) == ypos) && (down == true)) {
moving = false;
up = true;
down = false;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
_root.elevstop.start();
ypos = Math.round(this._y + 60);
}
if ((Math.round(this._y) == ypos) && (up == true)) {
moving = false;
up = false;
down = true;
yspeed = 0;
_root.Character.yspeed = 0;
_root.Character.moving = false;
_root.elevstop.start();
ypos = Math.round(this._y - 60);
}
}
Instance of Symbol 223 MovieClip "lift7" in Frame 21
onClipEvent (load) {
yspeed = 0;
moved = false;
moving = false;
ypos = Math.round(this._y - 100);
}
onClipEvent (enterFrame) {
this._y = this._y - yspeed;
if (((this.hitTest(_root.Character) && (Key.isDown(38))) && (moving == false)) && (_root.Character.running == false)) {
moving = true;
_root.Character.moving = true;
_root.Character.yspeed = -1;
yspeed = 1;
_root.elevstart.start();
_root.elevloop.start(0, 80);
}
if ((this._y < ypos) && (moved == false)) {
moved = true;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
_root.TimeTaken = _root.Timer.Time;
_root.Consoles = _root.itemssearched;
_root.secretstotal = _root.secrets;
_root.foundsecrets = _root.Secretsfound;
stopAllSounds();
_root.gotoAndPlay("Tally");
}
}
Instance of Symbol 223 MovieClip "lift1" in Frame 21
onClipEvent (load) {
yspeed = 1;
moved = false;
moving = true;
ypos = Math.round(this._y - 59);
_root.elevstart.start();
_root.elevloop.start(0, 55);
}
onClipEvent (enterFrame) {
this._y = this._y - yspeed;
Pause--;
if (Pause < 0) {
Pause = 0;
_root.Timer.Start = true;
}
if (((this.hitTest(_root.Character) && (Key.isDown(38))) && (moving == false)) && (_root.Character.running == false)) {
moving = true;
_root.Character.moving = true;
yspeed = 1;
}
if ((this._y < ypos) && (moved == false)) {
moved = true;
yspeed = 0;
_root.Character.moving = false;
_root.elevstop.start();
Pause = 100;
}
}
Instance of Symbol 243 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(random(180));
}
Instance of Symbol 243 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(random(180));
}
Instance of Symbol 243 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(random(180));
}
Instance of Symbol 243 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(random(180));
}
Instance of Symbol 243 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndPlay(random(180));
}
Instance of Symbol 265 MovieClip in Frame 21
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 265 MovieClip in Frame 21
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 265 MovieClip in Frame 21
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 265 MovieClip in Frame 21
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 265 MovieClip in Frame 21
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 265 MovieClip in Frame 21
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 271 MovieClip in Frame 21
onClipEvent (load) {
this.gotoAndStop(random(3) + 1);
}
Instance of Symbol 274 MovieClip "Timer" in Frame 21
onClipEvent (load) {
this.Time = 999;
Timer = 0;
Start = false;
}
onClipEvent (enterFrame) {
Timer++;
if (Start == true) {
if (Timer > 30) {
this.Time = this.Time - 1;
if (this.Time < 1) {
this.Time = 0;
}
Timer = 0;
}
}
}
Frame 25
Secretsfound = 0;
itemssearched = 0;
secrets = 3;
stop();
Instance of Symbol 134 MovieClip in Frame 25
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
searched = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
if ((this.hitTest(_root.Character) && (searched == false)) && (_root.Character.dead == false)) {
if ((((Key.isDown(38) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (searchstatus < 100)) {
_root.Character.gotoAndStop("search");
searchstatus = searchstatus + 1;
this.searchbar._visible = true;
} else if (((Key.isDown(38) && (_root.Character.running == true)) || (_root.Character.rolling == true)) || ((_root.Character.turning == true) && (searchstatus < 100))) {
searchstatus = 0;
this.searchbar._visible = false;
} else if (!Key.isDown(38)) {
searchstatus = 0;
this.searchbar._visible = false;
}
if (Key.isDown(38) && (searchstatus > 99)) {
searched = true;
_root.itemssearched = _root.itemssearched + 1;
_root.Score = _root.Score + 500;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 152 MovieClip in Frame 25
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
}
Instance of Symbol 152 MovieClip in Frame 25
onClipEvent (load) {
searchstatus = 0;
this.searchbar._visible = false;
}
onClipEvent (enterFrame) {
this.searchbar._xscale = searchstatus;
}
Instance of Symbol 154 MovieClip in Frame 25
onClipEvent (load) {
found = false;
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (found == false)) {
_root.Secretsfound = _root.Secretsfound + 1;
found = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 154 MovieClip in Frame 25
onClipEvent (load) {
found = false;
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_root.Character) && (Key.isDown(40))) && (_root.Character.running == false)) && (_root.Character.rolling == false)) && (_root.Character.turning == false)) && (found == false)) {
_root.Secretsfound = _root.Secretsfound + 1;
found = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 214 MovieClip "robot3" in Frame 25
onClipEvent (load) {
right = false;
left = true;
moving = true;
xspeed = 0;
Pause = 0;
this.laser._visible = false;
}
onClipEvent (enterFrame) {
Pause--;
if ((_root.Character.hitTest(_x + 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if ((_root.Character.hitTest(_x - 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if (Pause < 0) {
Pause = 0;
moving = true;
}
this._x = this._x + xspeed;
if ((moving == true) && (Pause == 0)) {
if (left == true) {
xspeed = -1;
this.gotoAndStop("moveleft");
} else if (right == true) {
xspeed = 1;
this.gotoAndStop("moveright");
}
}
if (this._x > 480) {
_x = 480;
moving = false;
this.gotoAndStop("right");
Pause = 20;
xspeed = 0;
right = false;
left = true;
}
if (this._x < 80) {
_x = 80;
moving = false;
this.gotoAndStop("left");
Pause = 20;
xspeed = 0;
left = false;
right = true;
}
if (((((this._y > (_root.Character._y - 30)) && (this._y < (_root.Character._y + 30))) && (moving == true)) && (_root.Character.hiding == false)) && (_root.Character.dead == false)) {
if ((left == true) && (this._x > _root.Character._x)) {
this.laser._visible = true;
xspeed = -3;
} else if ((left == true) && (this._x < _root.Character._x)) {
this.laser._visible = false;
xspeed = -1;
}
if ((left == false) && (this._x < _root.Character._x)) {
this.laser._visible = true;
xspeed = 3;
} else if ((left == false) && (this._x > _root.Character._x)) {
this.laser._visible = false;
xspeed = 1;
}
} else {
this.laser._visible = false;
}
}
Instance of Symbol 214 MovieClip "robot3" in Frame 25
onClipEvent (load) {
right = false;
left = true;
moving = true;
xspeed = 0;
Pause = 0;
this.laser._visible = false;
}
onClipEvent (enterFrame) {
Pause--;
if ((_root.Character.hitTest(_x + 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if ((_root.Character.hitTest(_x - 8, _y, true) && (_root.Character.hiding == false)) && (_root.Character.moving == false)) {
_root.Character.dead = true;
}
if (Pause < 0) {
Pause = 0;
moving = true;
}
this._x = this._x + xspeed;
if ((moving == true) && (Pause == 0)) {
if (left == true) {
xspeed = -1;
this.gotoAndStop("moveleft");
} else if (right == true) {
xspeed = 1;
this.gotoAndStop("moveright");
}
}
if (this._x > 480) {
_x = 480;
moving = false;
this.gotoAndStop("right");
Pause = 20;
xspeed = 0;
right = false;
left = true;
}
if (this._x < 80) {
_x = 80;
moving = false;
this.gotoAndStop("left");
Pause = 20;
xspeed = 0;
left = false;
right = true;
}
if (((((this._y > (_root.Character._y - 30)) && (this._y < (_root.Character._y + 30))) && (moving == true)) && (_root.Character.hiding == false)) && (_root.Character.dead == false)) {
if ((left == true) && (this._x > _root.Character._x)) {
this.laser._visible = true;
xspeed = -3;
} else if ((left == true) && (this._x < _root.Character._x)) {
this.laser._visible = false;
xspeed = -1;
}
if ((left == false) && (this._x < _root.Character._x)) {
this.laser._visible = true;
xspeed = 3;
} else if ((left == false) && (this._x > _root.Character._x)) {
this.laser._visible = false;
xspeed = 1;
}
} else {
this.laser._visible = false;
}
}
Instance of Symbol 265 MovieClip in Frame 25
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Instance of Symbol 265 MovieClip in Frame 25
onClipEvent (load) {
ypos = Math.round(this._y + 45);
dropped = false;
dropping = false;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
if (dropped == false) {
if (_root.Character.hitTest(_x, _y + 30, true) && (dropping == false)) {
dropping = true;
}
if (dropping == true) {
yspeed = yspeed + 0.5;
}
if (this._y > ypos) {
dropped = true;
yspeed = 0;
_y = ypos;
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.Character) && (_root.Character.dead == false)) && (dropped == true)) {
_root.Character.dead = true;
}
}
}
Frame 30
Time = _root.TimeTaken;
Items = _root.Consoles;
Score = _root.Score;
secrets = _root.secretstotal;
found = _root.foundsecrets;
secretsmessage = (found + "/") + secrets;
Total = 0;
Instance of Symbol 210 MovieClip "Character" in Frame 30
onClipEvent (load) {
yspeed = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + yspeed;
}
Instance of Symbol 223 MovieClip in Frame 30
onClipEvent (load) {
yspeed = 1;
moved = false;
moving = true;
ypos = Math.round(this._y - 470);
}
onClipEvent (enterFrame) {
this._y = this._y - yspeed;
if (((this.hitTest(_root.Character) && (Key.isDown(38))) && (moving == false)) && (_root.Character.running == false)) {
moving = true;
_root.Character.moving = true;
yspeed = 1;
}
if ((this._y < ypos) && (moved == false)) {
moved = true;
yspeed = 0;
_root.Character.moving = false;
_root.Character.yspeed = 0;
}
}
Frame 89
if (Time > 9) {
Time = Time - 10;
Total = Total + 10;
gotoAndPlay (88);
} else if ((Time > 0) && (Time < 10)) {
Time = Time - 1;
Total = Total + 1;
gotoAndPlay (88);
}
Frame 99
if (Items > 0) {
Items = Items - 1;
Total = Total + 100;
gotoAndPlay (90);
}
Frame 109
Total = Total + (found * 1000);
Frame 124
Score = Score + Total;
Total = 0;
Frame 129
_root.Score = Score;
Level = Level + 1;
stop();
Frame 130
Message = ((((("welldone " + _root.Name) + ", you scored ") + _root.Score) + " points and reached level ") + _root.Level) + ". please wait while your score is submitted.";
Frame 234
if (_root.Name != "ng user") {
mst.Check = 0;
mst.Name = _root.Name;
mst.pass = _root.pass;
mst.score = _root.Score;
mst.level = _root.Level;
mst.gamepass = _root.gamepass;
mst.Info = "Level " + _root.Level;
mst.game = "FlashBack";
mst.loadVariables("../scores/submit.php", "GET");
} else {
gotoAndStop ("End");
}
Frame 244
if (mst.Check == 1) {
gotoAndPlay (245);
} else {
gotoAndPlay (242);
}
Frame 245
game = "FlashBack";
loadVariablesNum ("../login/newlogin.php", 0, "POST");
Frame 254
_root.topscore = _root.Score;
stop();
Symbol 16 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
_root.gotoAndStop(2);
}
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 15
stop();
Symbol 69 MovieClip Frame 468
_root.play();
stop();
Symbol 107 Button
on (release) {
getURL ("http://www.syndicatesdomain.co.uk", "_blank");
}
Symbol 111 Button
on (release, keyPress "<Space>") {
_root.gotoAndStop("Level1");
}
Symbol 115 Button
on (rollOver) {
_root.Instructs.gotoAndPlay(2);
}
on (rollOut) {
_root.Instructs.gotoAndStop(1);
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 30
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 30
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 30
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 35
stop();
Symbol 180 MovieClip Frame 15
_parent.left = true;
_parent.turning = false;
_parent.gotoAndStop("stopleft");
Symbol 181 MovieClip Frame 15
_parent.right = true;
_parent.turning = false;
_parent.gotoAndStop("stopright");
Symbol 189 MovieClip Frame 17
_parent.running = false;
_parent.stopping = false;
_parent.gotoAndStop("standleft");
Symbol 190 MovieClip Frame 17
_parent.running = false;
_parent.stopping = false;
_parent.gotoAndStop("standright");
Symbol 192 MovieClip Frame 19
_parent.xspeed = 0;
_parent.running = false;
_parent.rolling = false;
_parent.gotoAndStop("standleft");
stop();
Symbol 193 MovieClip Frame 19
_parent.xspeed = 0;
_parent.running = false;
_parent.rolling = false;
_parent.gotoAndStop("standright");
stop();
Symbol 207 MovieClip Frame 60
stopAllSounds();
_root.gotoAndPlay("GameOver");
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 18
hiding = true;
Symbol 214 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 16
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 292 Button
on (release, keyPress "<Space>") {
if (_root.Level != 3) {
_root.gotoAndPlay("Level" + _root.Level);
} else if (_root.Level == 3) {
_root.gotoAndPlay("GameOver");
}
}
Symbol 299 MovieClip Frame 1
pos1 = "1";
pos2 = "2";
pos3 = "3";
pos4 = "4";
pos5 = "5";
pos6 = "6";
pos7 = "7";
pos8 = "8";
pos9 = "9";
pos10 = "10";
stop();
Symbol 304 Button
on (release, keyPress "<Space>") {
_root.gotoAndStop("Intro");
}