Frame 1
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
prel.gotoAndStop(tgPrel);
if (b1 >= b2) {
gotoAndPlay ("intro");
}
Frame 4
if (Math.round(b1 / 1024) <= 35) {
gotoAndPlay ("loop1");
}
Frame 5
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgprel - 2;
if (tg <= 9) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 9
if (Math.round(b1 / 1024) <= 100) {
gotoAndPlay ("loop2");
}
Frame 11
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgPrel - 2;
if (tgPrel <= 9) {
procent = "0" + tg;
trace(procent);
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay ("loop3");
}
Frame 15
procent = "--";
prel.gotoAndStop(100);
Frame 175
_root.menuVisible = undefined;
trace("coperta");
_root.play();
Frame 176
fscommand ("allowscale", false);
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Instance of Symbol 191 MovieClip "butoane" in Frame 176
//component parameters
onClipEvent (initialize) {
wynume = "JewelThief";
wyculoare = 3413264 /* 0x341510 */;
wyasezare = "Vertical";
wyaliniere = "Dreapta";
wypozitie = "Jos";
wyinstructions = true;
}
Instance of Symbol 206 MovieClip "instructions" in Frame 176
onClipEvent (load) {
this._visible = false;
}
Frame 178
delete _root.onEnterFrame;
stopAllSounds();
stop();
Frame 179
function playerMove() {
var _local1 = _root;
if (!movingLock) {
if (Key.isDown(39)) {
player._x = player._x + speed;
player.animation.play();
}
if (Key.isDown(37)) {
player._x = player._x - speed;
player.animation.play();
}
if (Key.isDown(38)) {
player._y = player._y - speed;
player.animation.play();
}
if (Key.isDown(40)) {
player._y = player._y + speed;
player.animation.play();
}
if (player.hitTest(_local1.wall_left)) {
player._x = player._x + speed;
}
if (player.hitTest(_local1.wall_right)) {
player._x = player._x - speed;
}
if (player.hitTest(_local1.wall_top)) {
player._y = player._y + speed;
}
if (player.hitTest(_local1.wall_down)) {
player._y = player._y - speed;
}
if (Key.isDown(38)) {
if (Key.isDown(37)) {
player._rotation = 315;
} else if (Key.isDown(39)) {
player._rotation = 45;
} else {
player._rotation = 0;
}
}
if (Key.isDown(40)) {
if (Key.isDown(37)) {
player._rotation = 225;
} else if (Key.isDown(39)) {
player._rotation = 135;
} else {
player._rotation = 180;
}
}
if (Key.isDown(37)) {
if (Key.isDown(38)) {
player._rotation = 315;
} else if (Key.isDown(40)) {
player._rotation = 225;
} else {
player._rotation = 270;
}
}
if (Key.isDown(39)) {
player._rotation = 135;
if (Key.isDown(38)) {
player._rotation = 45;
} else if (Key.isDown(40)) {
} else {
player._rotation = 90;
}
}
i = 1;
while (i <= obsLeft) {
if (player.hitTest("_root.obsLeft" + i) && (Key.isDown(39))) {
player._x = player._x - speed;
}
i++;
}
i = 1;
while (i <= obsRight) {
if (player.hitTest("_root.obsRight" + i) && (Key.isDown(37))) {
player._x = player._x + speed;
}
i++;
}
i = 1;
while (i <= obsTop) {
if (player.hitTest("_root.obsTop" + i) && (Key.isDown(40))) {
player._y = player._y - speed;
}
i++;
}
i = 1;
while (i <= obsDown) {
if (player.hitTest("_root.obsDown" + i) && (Key.isDown(38))) {
player._y = player._y + speed;
}
i++;
}
if (player.hitTest(security1.left) or player.hitTest(security2.left)) {
player._x = player._x - speed;
}
if (player.hitTest(security1.right) or player.hitTest(security2.right)) {
player._x = player._x + speed;
}
if (player.hitTest(security1.top) or player.hitTest(security2.top)) {
player._y = player._y - speed;
}
if (player.hitTest(security1.down) or player.hitTest(security2.down)) {
player._y = player._y + speed;
}
}
}
function controlSound() {
if (soundsLock) {
stepSound.setVolume(0);
sirenaSound.setVolume(0);
lazerSound.setVolume(0);
} else {
sirenaSound.setVolume(100);
if (lazerSound != undefined) {
lazerSound.setVolume(100);
}
if ((((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(38))) && (!Key.isDown(40))) {
stepSound.setVolume(0);
} else if (!soundsLock) {
stepSound.setVolume(100);
}
}
}
function playerTheft(itemsNumber) {
var _local2 = _root;
var _local3 = _global;
if (Key.isDown(32)) {
var _local1 = 1;
while (_local1 <= itemsNumber) {
if (player.hitTest(_local2["item" + _local1])) {
_local3.allarm = true;
_local2["item" + _local1]._visible = 0;
if (itemsNumber == 2) {
if ((_local2.item1._visible == 0) && (_local2.item2._visible == 0)) {
_local3.theft = true;
}
} else if (itemsNumber == 1) {
if (_local2.item1._visible == 0) {
_local3.theft = true;
}
}
}
_local1++;
}
}
}
function playerExit() {
var _local1 = _global;
if (player.hitTest(_root.doors)) {
if (theft) {
player._visible = false;
_root.menu_next._visible = 1;
_local1.movingLock = true;
_local1.theft = false;
_local1.allarm = false;
lazerSound.stop();
}
}
}
function passedTime() {
if (!clockStop) {
timer = getTimer();
var _local1 = Math.ceil(((timer - beginTime) - pEnd) / 1000);
var _local2 = Math.floor(_local1 / 60);
if ((_local1 % 60) < 10) {
passedSeconds = "0" + (_local1 % 60);
} else {
passedSeconds = _local1 % 60;
}
if (_local2 < 10) {
passedMinuts = "0" + _local2;
} else {
passedMinuts = _local2;
}
time = (passedMinuts + ":") + passedSeconds;
_global.fullTime = (_local2 * 60) + (_local1 % 60);
timeLast.text = time;
}
}
function pauseEnd() {
pEnd = pEnd + (getTimer() - pStart);
clockStop = false;
return(pEnd);
}
function nextLevel() {
player._x = nextX;
player._y = nextY;
this.onEnterFrame = null;
nextFrame();
}
stop();
_global.itemsCount = 1;
_global.items = 1;
_global.currX = 490;
_global.currY = 560;
_global.nextX = 340;
_global.nextY = 560;
obsLeft = 6;
obsRight = 7;
obsTop = 8;
obsDown = 8;
_global.camers = 3;
_global.securitys = 2;
_global.mans = 2;
_global.lasers = 0;
_global.movingLock = false;
_global.speed = 6;
_global.theft = false;
_global.allarm = false;
player = _root.player;
rotation = player._rotation;
_global.Play = true;
pEnd = 0;
if (beginTime == undefined) {
beginTime = getTimer();
}
_root.createEmptyMovieClip("stepClip", 1);
var stepSound = new Sound(stepClip);
stepSound.attachSound("stepMP3");
stepSound.start(0, 9999);
_root.createEmptyMovieClip("sirenaClip", 2);
var sirenaSound = new Sound(sirenaClip);
sirenaSound.attachSound("sirenaMP3");
_global.soundsLock = false;
player.gotoAndStop("day");
setInterval(passedTime, 100);
this.onEnterFrame = function () {
if (Play) {
playerMove();
playerExit();
playerTheft(1);
scoreTime();
controlSound();
}
};
Instance of Symbol 245 MovieClip "player" in Frame 179
onClipEvent (load) {
}
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = this.hitCam1._x;
point1.y = this.hitCam1._y;
point2 = new Object();
point2.x = this.hitCam2._x;
point2.y = this.hitCam2._y;
point3 = new Object();
point3.x = this.hitCam3._x;
point3.y = this.hitCam3._y;
point4 = new Object();
point4.x = this.hitCam4._x;
point4.y = this.hitCam4._y;
lPoint1 = new Object();
lPoint1.x = this.animation.hitLsr1._x;
lPoint1.y = this.animation.hitLsr1._y;
lPoint2 = new Object();
lPoint2.x = this.animation.hitLsr2._x;
lPoint2.y = this.animation.hitLsr2._y;
lPoint3 = new Object();
lPoint3.x = this.animation.hitLsr3._x;
lPoint3.y = this.animation.hitLsr3._y;
lPoint4 = new Object();
lPoint4.x = this.animation.hitLsr4._x;
lPoint4.y = this.animation.hitLsr4._y;
localToGlobal(point1);
localToGlobal(point2);
localToGlobal(point3);
localToGlobal(point4);
localToGlobal(lPoint1);
localToGlobal(lPoint2);
localToGlobal(lPoint3);
localToGlobal(lPoint4);
if (allarm) {
i = 1;
while (i <= camers) {
if (((_root["camera" + i].hitTest(point1.x, point1.y, true) or _root["camera" + i].hitTest(point2.x, point2.y, true)) or _root["camera" + i].hitTest(point3.x, point3.y, true)) or _root["camera" + i].hitTest(point4.x, point4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["camera" + i].light.gotoAndStop("red");
}
i++;
}
j = 1;
while (j <= securitys) {
if (_root["security" + j].hitTest(_x, _y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["security" + j].stop();
_root["security" + j].security1.stop();
_root["security" + j].security1.light.gotoAndStop("red");
}
j++;
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(this.hitLsr1) or _root["laser" + m].hitTest(this.hitLsr2)) or _root["laser" + m].hitTest(this.hitLsr3)) or _root["laser" + m].hitTest(this.hitLsr4)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
}
m++;
}
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(this.hitLsr1) or _root["laser" + m].hitTest(this.hitLsr2)) or _root["laser" + m].hitTest(this.hitLsr3)) or _root["laser" + m].hitTest(this.hitLsr4)) {
trace("hit " + getTimer());
}
m++;
}
}
Instance of Symbol 252 MovieClip in Frame 179
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 179
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 179
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 179
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 179
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 179
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 179
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 294 MovieClip "man2" in Frame 179
onClipEvent (load) {
lb = true;
}
onClipEvent (enterFrame) {
if (!lb) {
this.stop();
}
}
Instance of Symbol 323 MovieClip "menu_lose" in Frame 179
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this._visible) {
if (_root.menuVisible == undefined) {
trace("_root.menuVisible: " + _root.menuVisible);
_root.pStart = getTimer();
_root.clockStop = true;
_root.menuVisible = true;
}
}
}
Instance of Symbol 329 MovieClip "menu_next" in Frame 179
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this._visible) {
if (_root.menuVisible == undefined) {
_root.pStart = getTimer();
_root.clockStop = true;
_root.menuVisible = true;
}
}
}
Instance of Symbol 333 MovieClip "menu_door" in Frame 179
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this._visible) {
_global.movingLock = true;
if (_root.menuVisible == undefined) {
_root.pStart = getTimer();
_root.clockStop = true;
_root.menuVisible = true;
}
}
}
Instance of Symbol 380 MovieClip in Frame 179
//component parameters
onClipEvent (initialize) {
wxnume = "JewelThief";
wxaliniere = "Stanga-Sus";
wxculoare = 7017492 /* 0x6B1414 */;
wxdownload = true;
wxpause = false;
wxsound = false;
}
Frame 180
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 340;
_global.currY = 560;
_global.nextX = 312;
_global.nextY = 560;
obsLeft = 6;
obsRight = 4;
obsTop = 4;
obsDown = 6;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 30;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 20;
passedTime = getTimer();
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 180
onClipEvent (load) {
rotCam = false;
rotation = 30;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 180
onClipEvent (load) {
rotCam = true;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation >= rotation) {
rotCam = !rotCam;
}
if (this.light._rotation <= (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 180
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation >= rotation) {
rotCam = !rotCam;
}
if (this.light._rotation <= (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 180
onClipEvent (load) {
rotCam = false;
rotation = 20;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 181
stop();
_global.itemsCount = 0;
_global.items = 2;
_global.currX = 312;
_global.currY = 560;
_global.nextX = 555;
_global.nextY = 300;
_global.nextRot = -90;
obsLeft = 9;
obsRight = 8;
obsTop = 8;
obsDown = 9;
_global.camers = 2;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(2);
_root.camera1.light.cameraRotation = 50;
_root.camera2.light.cameraRotation = -50;
passedTime = getTimer();
controlSound();
};
Instance of Symbol 258 MovieClip "camera2" in Frame 181
onClipEvent (load) {
rotCam = false;
rotation = -42;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 181
onClipEvent (load) {
rotCam = false;
rotation = 42;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 182
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 555;
_global.currY = 300;
_global.currRot = -90;
_global.nextX = 436;
_global.nextY = 560;
obsLeft = 5;
obsRight = 5;
obsTop = 6;
obsDown = 6;
_global.camers = 4;
_global.securitys = 1;
_global.mans = 1;
_global.lasers = 0;
player.gotoAndStop("day");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 40;
_local1.camera2.light.cameraRotation = 40;
_local1.camera3.light.cameraRotation = 40;
_local1.camera4.light.cameraRotation = 40;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 182
onClipEvent (load) {
rotCam = false;
rotation = 40;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 182
onClipEvent (load) {
rotCam = false;
rotation = 40;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 182
onClipEvent (load) {
rotCam = false;
rotation = 40;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 182
onClipEvent (load) {
rotCam = false;
rotation = 40;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 183
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 436;
_global.currY = 560;
_global.nextX = 436;
_global.nextY = 560;
obsLeft = 8;
obsRight = 8;
obsTop = 6;
obsDown = 9;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 40;
_local1.camera2.light.cameraRotation = -20;
_local1.camera3.light.cameraRotation = 30;
_local1.camera4.light.cameraRotation = 25;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 183
onClipEvent (load) {
rotCam = false;
rotation = 15;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 183
onClipEvent (load) {
rotCam = false;
rotation = 25;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 183
onClipEvent (load) {
rotCam = false;
rotation = -50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 183
onClipEvent (load) {
rotCam = false;
rotation = 30;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 184
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 436;
_global.currY = 560;
_global.nextX = 320;
_global.nextY = 560;
obsLeft = 3;
obsRight = 4;
obsTop = 3;
obsDown = 4;
_global.camers = 0;
_global.lasers = 2;
_global.securitys = 0;
player.gotoAndStop("night");
_root.createEmptyMovieClip("lazerClip", 3);
var lazerSound = new Sound(lazerClip);
lazerSound.attachSound("lazerMP3");
lazerSound.start(0, 999);
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
controlSound();
};
Instance of Symbol 245 MovieClip "player" in Frame 184
onClipEvent (load) {
}
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = this.hitCam1._x;
point1.y = this.hitCam1._y;
point2 = new Object();
point2.x = this.hitCam2._x;
point2.y = this.hitCam2._y;
point3 = new Object();
point3.x = this.hitCam3._x;
point3.y = this.hitCam3._y;
point4 = new Object();
point4.x = this.hitCam4._x;
point4.y = this.hitCam4._y;
lPoint1 = new Object();
lPoint1.x = this.hitLsr1._x;
lPoint1.y = this.hitLsr1._y;
lPoint2 = new Object();
lPoint2.x = this.hitLsr2._x;
lPoint2.y = this.hitLsr2._y;
lPoint3 = new Object();
lPoint3.x = this.hitLsr3._x;
lPoint3.y = this.hitLsr3._y;
lPoint4 = new Object();
lPoint4.x = this.hitLsr4._x;
lPoint4.y = this.hitLsr4._y;
localToGlobal(point1);
localToGlobal(point2);
localToGlobal(point3);
localToGlobal(point4);
localToGlobal(lPoint1);
localToGlobal(lPoint2);
localToGlobal(lPoint3);
localToGlobal(lPoint4);
if (allarm) {
i = 1;
while (i <= camers) {
if (((_root["camera" + i].hitTest(point1.x, point1.y, true) or _root["camera" + i].hitTest(point2.x, point2.y, true)) or _root["camera" + i].hitTest(point3.x, point3.y, true)) or _root["camera" + i].hitTest(point4.x, point4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["camera" + i].light.gotoAndStop("red");
}
i++;
}
j = 1;
while (j <= securitys) {
if (_root["security" + j].hitTest(_x, _y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["security" + j].security1.stop();
_root["security" + j].stop();
_root["security" + j].security1.light.gotoAndStop("red");
}
j++;
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(lPoint1.x, lPoint1.y, true) or _root["laser" + m].hitTest(lPoint2.x, lPoint2.y, true)) or _root["laser" + m].hitTest(lPoint3.x, lPoint3.y, true)) or _root["laser" + m].hitTest(lPoint4.x, lPoint4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
}
m++;
}
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(lPoint1.x, lPoint1.y, true) or _root["laser" + m].hitTest(lPoint2.x, lPoint2.y, true)) or _root["laser" + m].hitTest(lPoint3.x, lPoint3.y, true)) or _root["laser" + m].hitTest(lPoint4.x, lPoint4.y, true)) {
trace("hit " + getTimer());
}
m++;
}
}
Frame 185
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 320;
_global.currY = 560;
_global.nextX = 320;
_global.nextY = 560;
obsLeft = 1;
obsRight = 1;
obsTop = 1;
obsDown = 1;
_global.camers = 2;
_global.lasers = 0;
_global.securitys = 2;
_global.mans = 2;
player.gotoAndStop("day");
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_root.camera1.light.cameraRotation = 50;
_root.camera2.light.cameraRotation = -50;
controlSound();
};
Instance of Symbol 245 MovieClip "player" in Frame 185
onClipEvent (load) {
}
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = this.hitCam1._x;
point1.y = this.hitCam1._y;
point2 = new Object();
point2.x = this.hitCam2._x;
point2.y = this.hitCam2._y;
point3 = new Object();
point3.x = this.hitCam3._x;
point3.y = this.hitCam3._y;
point4 = new Object();
point4.x = this.hitCam4._x;
point4.y = this.hitCam4._y;
lPoint1 = new Object();
lPoint1.x = this.animation.hitLsr1._x;
lPoint1.y = this.animation.hitLsr1._y;
lPoint2 = new Object();
lPoint2.x = this.animation.hitLsr2._x;
lPoint2.y = this.animation.hitLsr2._y;
lPoint3 = new Object();
lPoint3.x = this.animation.hitLsr3._x;
lPoint3.y = this.animation.hitLsr3._y;
lPoint4 = new Object();
lPoint4.x = this.animation.hitLsr4._x;
lPoint4.y = this.animation.hitLsr4._y;
localToGlobal(point1);
localToGlobal(point2);
localToGlobal(point3);
localToGlobal(point4);
localToGlobal(lPoint1);
localToGlobal(lPoint2);
localToGlobal(lPoint3);
localToGlobal(lPoint4);
if (allarm) {
i = 1;
while (i <= camers) {
if (((_root["camera" + i].hitTest(point1.x, point1.y, true) or _root["camera" + i].hitTest(point2.x, point2.y, true)) or _root["camera" + i].hitTest(point3.x, point3.y, true)) or _root["camera" + i].hitTest(point4.x, point4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["camera" + i].light.gotoAndStop("red");
}
i++;
}
j = 1;
while (j <= securitys) {
if (_root["security" + j].hitTest(_x, _y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["security" + j].stop();
_root["security" + j].security1.stop();
_root["security" + j].security1.light.gotoAndStop("red");
if (_root["security" + j].security1 == undefined) {
}
}
j++;
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(this.hitLsr1) or _root["laser" + m].hitTest(this.hitLsr2)) or _root["laser" + m].hitTest(this.hitLsr3)) or _root["laser" + m].hitTest(this.hitLsr4)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
}
m++;
}
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(this.hitLsr1) or _root["laser" + m].hitTest(this.hitLsr2)) or _root["laser" + m].hitTest(this.hitLsr3)) or _root["laser" + m].hitTest(this.hitLsr4)) {
trace("hit " + getTimer());
}
m++;
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 185
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 185
onClipEvent (load) {
rotCam = false;
rotation = -50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 186
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 320;
_global.currY = 560;
_global.nextX = 320;
_global.nextY = 560;
obsLeft = 2;
obsRight = 2;
obsTop = 2;
obsDown = 2;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 40;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 186
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 186
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 186
onClipEvent (load) {
rotCam = false;
rotation = 20;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 187
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 320;
_global.currY = 560;
_global.nextX = 320;
_global.nextY = 560;
obsLeft = 6;
obsRight = 6;
obsTop = 3;
obsDown = 6;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 258 MovieClip "camera3" in Frame 187
onClipEvent (load) {
rotCam = false;
rotation = 25;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 187
onClipEvent (load) {
rotCam = false;
rotation = 40;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 187
onClipEvent (load) {
rotCam = false;
rotation = 90;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 188
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 320;
_global.currY = 560;
_global.nextX = 320;
_global.nextY = 560;
obsLeft = 8;
obsRight = 8;
obsTop = 7;
obsDown = 7;
_global.camers = 3;
_global.lasers = 0;
_global.securitys = 2;
player.gotoAndStop("night");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 30;
_local1.camera2.light.cameraRotation = -40;
_local1.camera1.light.cameraRotation = 40;
controlSound();
};
Instance of Symbol 258 MovieClip "camera2" in Frame 188
onClipEvent (load) {
rotCam = false;
rotation = -40;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 188
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 188
onClipEvent (load) {
rotCam = false;
rotation = 30;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 189
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 320;
_global.currY = 560;
_global.nextX = 310;
_global.nextY = 560;
obsLeft = 6;
obsRight = 9;
obsTop = 8;
obsDown = 8;
_global.camers = 0;
_global.lasers = 4;
_global.securitys = 0;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
controlSound();
};
Instance of Symbol 245 MovieClip "player" in Frame 189
onClipEvent (load) {
}
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = this.hitCam1._x;
point1.y = this.hitCam1._y;
point2 = new Object();
point2.x = this.hitCam2._x;
point2.y = this.hitCam2._y;
point3 = new Object();
point3.x = this.hitCam3._x;
point3.y = this.hitCam3._y;
point4 = new Object();
point4.x = this.hitCam4._x;
point4.y = this.hitCam4._y;
lPoint1 = new Object();
lPoint1.x = this.hitLsr1._x;
lPoint1.y = this.hitLsr1._y;
lPoint2 = new Object();
lPoint2.x = this.hitLsr2._x;
lPoint2.y = this.hitLsr2._y;
lPoint3 = new Object();
lPoint3.x = this.hitLsr3._x;
lPoint3.y = this.hitLsr3._y;
lPoint4 = new Object();
lPoint4.x = this.hitLsr4._x;
lPoint4.y = this.hitLsr4._y;
localToGlobal(point1);
localToGlobal(point2);
localToGlobal(point3);
localToGlobal(point4);
localToGlobal(lPoint1);
localToGlobal(lPoint2);
localToGlobal(lPoint3);
localToGlobal(lPoint4);
if (allarm) {
i = 1;
while (i <= camers) {
if (((_root["camera" + i].hitTest(point1.x, point1.y, true) or _root["camera" + i].hitTest(point2.x, point2.y, true)) or _root["camera" + i].hitTest(point3.x, point3.y, true)) or _root["camera" + i].hitTest(point4.x, point4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["camera" + i].light.gotoAndStop("red");
}
i++;
}
j = 1;
while (j <= securitys) {
if (_root["security" + j].hitTest(_x, _y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["security" + j].security1.stop();
_root["security" + j].stop();
_root["security" + j].security1.light.gotoAndStop("red");
}
j++;
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(lPoint1.x, lPoint1.y, true) or _root["laser" + m].hitTest(lPoint2.x, lPoint2.y, true)) or _root["laser" + m].hitTest(lPoint3.x, lPoint3.y, true)) or _root["laser" + m].hitTest(lPoint4.x, lPoint4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
}
m++;
}
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(lPoint1.x, lPoint1.y, true) or _root["laser" + m].hitTest(lPoint2.x, lPoint2.y, true)) or _root["laser" + m].hitTest(lPoint3.x, lPoint3.y, true)) or _root["laser" + m].hitTest(lPoint4.x, lPoint4.y, true)) {
trace("hit " + getTimer());
}
m++;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Frame 190
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 310;
_global.currY = 560;
_global.nextX = 315;
_global.nextY = 560;
obsLeft = 6;
obsRight = 7;
obsTop = 6;
obsDown = 6;
_global.camers = 0;
_global.lasers = 11;
_global.securitys = 0;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 190
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 190
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 190
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 190
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Frame 191
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 315;
_global.currY = 560;
_global.nextX = 300;
_global.nextY = 40;
obsLeft = 6;
obsRight = 9;
obsTop = 6;
obsDown = 5;
_global.camers = 2;
_global.lasers = 3;
_global.securitys = 1;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_root.camera1.light.cameraRotation = 50;
_root.camera2.light.cameraRotation = -50;
controlSound();
};
Instance of Symbol 245 MovieClip "player" in Frame 191
onClipEvent (load) {
}
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = this.hitCam1._x;
point1.y = this.hitCam1._y;
point2 = new Object();
point2.x = this.hitCam2._x;
point2.y = this.hitCam2._y;
point3 = new Object();
point3.x = this.hitCam3._x;
point3.y = this.hitCam3._y;
point4 = new Object();
point4.x = this.hitCam4._x;
point4.y = this.hitCam4._y;
lPoint1 = new Object();
lPoint1.x = this.animation.hitLsr1._x;
lPoint1.y = this.animation.hitLsr1._y;
lPoint2 = new Object();
lPoint2.x = this.animation.hitLsr2._x;
lPoint2.y = this.animation.hitLsr2._y;
lPoint3 = new Object();
lPoint3.x = this.animation.hitLsr3._x;
lPoint3.y = this.animation.hitLsr3._y;
lPoint4 = new Object();
lPoint4.x = this.animation.hitLsr4._x;
lPoint4.y = this.animation.hitLsr4._y;
localToGlobal(point1);
localToGlobal(point2);
localToGlobal(point3);
localToGlobal(point4);
localToGlobal(lPoint1);
localToGlobal(lPoint2);
localToGlobal(lPoint3);
localToGlobal(lPoint4);
if (allarm) {
i = 1;
while (i <= camers) {
if (((_root["camera" + i].hitTest(point1.x, point1.y, true) or _root["camera" + i].hitTest(point2.x, point2.y, true)) or _root["camera" + i].hitTest(point3.x, point3.y, true)) or _root["camera" + i].hitTest(point4.x, point4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["camera" + i].light.gotoAndStop("red");
}
i++;
}
j = 1;
while (j <= securitys) {
if (_root["security" + j].hitTest(_x, _y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["security" + j].security1.stop();
_root["security" + j].stop();
_root["security" + j].security1.light.gotoAndStop("red");
}
j++;
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(this.hitLsr1) or _root["laser" + m].hitTest(this.hitLsr2)) or _root["laser" + m].hitTest(this.hitLsr3)) or _root["laser" + m].hitTest(this.hitLsr4)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
}
m++;
}
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(this.hitLsr1) or _root["laser" + m].hitTest(this.hitLsr2)) or _root["laser" + m].hitTest(this.hitLsr3)) or _root["laser" + m].hitTest(this.hitLsr4)) {
trace("hit " + getTimer());
}
m++;
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 191
onClipEvent (load) {
rotCam = false;
rotation = -50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 191
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 192
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 300;
_global.currY = 40;
_global.nextX = 40;
_global.nextY = 270;
obsLeft = 8;
obsRight = 9;
obsTop = 7;
obsDown = 7;
_global.camers = 3;
_global.lasers = 5;
_global.securitys = 0;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 192
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 192
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 192
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 193
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 40;
_global.currY = 270;
_global.nextX = 500;
_global.nextY = 560;
obsLeft = 7;
obsRight = 7;
obsTop = 7;
obsDown = 7;
_global.camers = 8;
_global.lasers = 3;
_global.securitys = 0;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 50;
_local1.camera5.light.cameraRotation = 50;
_local1.camera6.light.cameraRotation = 50;
_local1.camera7.light.cameraRotation = 50;
_local1.camera8.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 193
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 193
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 193
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 193
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 258 MovieClip "camera7" in Frame 193
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera8" in Frame 193
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 193
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera6" in Frame 193
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera5" in Frame 193
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 194
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 500;
_global.currY = 560;
_global.nextX = 500;
_global.nextY = 560;
obsLeft = 4;
obsRight = 4;
obsTop = 5;
obsDown = 6;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
menu_door._visible = true;
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 194
onClipEvent (load) {
rotCam = false;
rotation = 30;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 194
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 252 MovieClip in Frame 194
onClipEvent (keyDown) {
if (allarm) {
if (this.hitTest(_root.player)) {
_root.menu_door._visible = true;
}
}
}
Frame 195
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 500;
_global.currY = 560;
_global.nextX = 304;
_global.nextY = 560;
obsLeft = 6;
obsRight = 6;
obsTop = 6;
obsDown = 7;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
menu_door._visible = true;
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 258 MovieClip "camera3" in Frame 195
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 195
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 195
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 252 MovieClip in Frame 195
onClipEvent (keyDown) {
if (allarm) {
if (this.hitTest(_root.player)) {
_root.menu_door._visible = true;
}
}
}
Frame 196
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 304;
_global.currY = 560;
_global.nextX = 304;
_global.nextY = 560;
obsLeft = 4;
obsRight = 3;
obsTop = 3;
obsDown = 5;
_global.camers = 4;
_global.lasers = 0;
_global.securitys = 0;
player.gotoAndStop("night");
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 258 MovieClip "camera3" in Frame 196
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera1" in Frame 196
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Instance of Symbol 258 MovieClip "camera2" in Frame 196
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 197
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 304;
_global.currY = 560;
_global.nextX = 304;
_global.nextY = 560;
obsLeft = 7;
obsRight = 7;
obsTop = 7;
obsDown = 7;
_global.camers = 4;
_global.lasers = 7;
_global.securitys = 0;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
var _local1 = _root;
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
_local1.camera1.light.cameraRotation = 50;
_local1.camera2.light.cameraRotation = 50;
_local1.camera3.light.cameraRotation = 50;
_local1.camera4.light.cameraRotation = 50;
controlSound();
};
Instance of Symbol 245 MovieClip "player" in Frame 197
onClipEvent (load) {
}
onClipEvent (enterFrame) {
point1 = new Object();
point1.x = this.hitCam1._x;
point1.y = this.hitCam1._y;
point2 = new Object();
point2.x = this.hitCam2._x;
point2.y = this.hitCam2._y;
point3 = new Object();
point3.x = this.hitCam3._x;
point3.y = this.hitCam3._y;
point4 = new Object();
point4.x = this.hitCam4._x;
point4.y = this.hitCam4._y;
lPoint1 = new Object();
lPoint1.x = this.hitLsr1._x;
lPoint1.y = this.hitLsr1._y;
lPoint2 = new Object();
lPoint2.x = this.hitLsr2._x;
lPoint2.y = this.hitLsr2._y;
lPoint3 = new Object();
lPoint3.x = this.hitLsr3._x;
lPoint3.y = this.hitLsr3._y;
lPoint4 = new Object();
lPoint4.x = this.hitLsr4._x;
lPoint4.y = this.hitLsr4._y;
localToGlobal(point1);
localToGlobal(point2);
localToGlobal(point3);
localToGlobal(point4);
localToGlobal(lPoint1);
localToGlobal(lPoint2);
localToGlobal(lPoint3);
localToGlobal(lPoint4);
if (allarm) {
i = 1;
while (i <= camers) {
if (((_root["camera" + i].hitTest(point1.x, point1.y, true) or _root["camera" + i].hitTest(point2.x, point2.y, true)) or _root["camera" + i].hitTest(point3.x, point3.y, true)) or _root["camera" + i].hitTest(point4.x, point4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["camera" + i].light.gotoAndStop("red");
}
i++;
}
j = 1;
while (j <= securitys) {
if (_root["security" + j].hitTest(_x, _y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
_root["security" + j].security1.stop();
_root["security" + j].stop();
_root["security" + j].security1.light.gotoAndStop("red");
}
j++;
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(lPoint1.x, lPoint1.y, true) or _root["laser" + m].hitTest(lPoint2.x, lPoint2.y, true)) or _root["laser" + m].hitTest(lPoint3.x, lPoint3.y, true)) or _root["laser" + m].hitTest(lPoint4.x, lPoint4.y, true)) {
_global.movingLock = true;
_root.sirenaSound.start(0, 999);
_root.menu_lose._visible = 1;
}
m++;
}
}
m = 1;
while (m <= lasers) {
if (((_root["laser" + m].hitTest(lPoint1.x, lPoint1.y, true) or _root["laser" + m].hitTest(lPoint2.x, lPoint2.y, true)) or _root["laser" + m].hitTest(lPoint3.x, lPoint3.y, true)) or _root["laser" + m].hitTest(lPoint4.x, lPoint4.y, true)) {
trace("hit " + getTimer());
}
m++;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
_root.player._y = _root.player._y + speed;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Frame 197
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
_root.player._y = _root.player._y - speed;
}
}
Instance of Symbol 258 MovieClip "camera4" in Frame 197
onClipEvent (load) {
rotCam = false;
rotation = 50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 198
stop();
_global.itemsCount = 0;
_global.items = 1;
_global.currX = 304;
_global.currY = 560;
_global.nextX = null;
_global.nextY = null;
obsLeft = 0;
obsRight = 0;
obsTop = 0;
obsDown = 0;
_global.camers = 2;
_global.lasers = 9;
_global.securitys = 0;
player.gotoAndStop("night");
lazerSound.start(0, 9999);
this.onEnterFrame = function () {
scoreTime();
this.outScore.text = _global.Score;
theftFunc();
playerMove();
playerExit();
playerTheft(1);
controlSound();
};
Instance of Symbol 258 MovieClip "camera2" in Frame 198
onClipEvent (load) {
rotCam = false;
rotation = -50;
}
onClipEvent (enterFrame) {
if (!movingLock) {
if (this.light._rotation == rotation) {
rotCam = !rotCam;
}
if (this.light._rotation == (-rotation)) {
rotCam = !rotCam;
}
if (rotCam) {
this.light._rotation++;
} else {
this.light._rotation--;
}
}
}
Frame 199
stop();
stopAllSounds();
delete _root.onEnterFrame;
_root.pStart = getTimer();
clockStop = true;
this.scor = 10001 - Math.floor(100 * (900 / Number(fullTime)));
trace(fullTime);
Instance of Symbol 191 MovieClip in Frame 199
//component parameters
onClipEvent (initialize) {
wynume = "JewelThief";
wyculoare = 11484191 /* 0xAF3C1F */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Sus";
wyinstructions = false;
}
Frame 200
stopAllSounds();
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
Frame 201
_root.menu.removeMovieClip();
_root.gameid = "JewelThief";
_root.best = _global.zcore;
_global.zcore = 0;
_root.updated = 0;
_root.done = 0;
done = 0;
i = 1;
while (i <= 100) {
_root["score" + i] = null;
_root["name" + i] = null;
_root["escore" + i] = null;
_root["ename" + i] = null;
i++;
}
Frame 203
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 204
if (false) {
}
Frame 211
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 215
monthnume = new Array();
monthscor = new Array();
i = 1;
while (i <= 100) {
monthnume[i] = _root["name" + i];
monthscor[i] = Number(_root["score" + i].slice(0, _root["score" + i].length - 1));
i++;
}
evernume = new Array();
everscor = new Array();
i = 1;
while (i <= 100) {
evernume[i] = _root["ename" + i];
everscor[i] = Number(_root["escore" + i].slice(0, _root["escore" + i].length - 1));
i++;
}
Frame 216
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 1 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 23 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 32 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 33 MovieClip [UpArrow] Frame 1
stop();
Symbol 33 MovieClip [UpArrow] Frame 2
stop();
Symbol 33 MovieClip [UpArrow] Frame 3
stop();
Symbol 39 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 48 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 53 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 54 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 62 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 70 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 78 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 79 MovieClip [DownArrow] Frame 1
stop();
Symbol 79 MovieClip [DownArrow] Frame 2
stop();
Symbol 79 MovieClip [DownArrow] Frame 3
stop();
Symbol 81 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 82 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
var _local1 = this;
if (_local1._height == 4) {
} else {
_local1.init();
_local1.minPos = (_local1.maxPos = (_local1.pageSize = (_local1.largeScroll = 0)));
_local1.smallScroll = 1;
_local1.width = (_local1.horizontal ? (_local1._width) : (_local1._height));
_local1._xscale = (_local1._yscale = 100);
_local1.setScrollPosition(0);
_local1.tabEnabled = false;
if (_local1._targetInstanceName.length > 0) {
_local1.setScrollTarget(_local1._parent[_local1._targetInstanceName]);
}
_local1.tabChildren = false;
_local1.setSize(_local1.width);
}
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.horizontal && (!_local2)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.pageSize = pSize;
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1.scrollPosition = Math.max(_local1.minPos, _local1.scrollPosition);
_local1.scrollPosition = Math.min(_local1.maxPos, _local1.scrollPosition);
if ((_local1.maxPos - _local1.minPos) <= 0) {
_local1.scrollThumb_mc.removeMovieClip();
_local1.upArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = null));
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = null));
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onRelease = null);
_local1.scrollTrack_mc.onDragOut = (_local1.scrollTrack_mc.onRollOut = null);
_local1.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = _local1.getScrollPosition();
_local1.upArrow_mc.gotoAndStop(1);
_local1.downArrow_mc.gotoAndStop(1);
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onDragOver = _local1.startUpScroller);
_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = _local1.stopScrolling);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onDragOver = _local1.startDownScroller);
_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = _local1.stopScrolling);
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onDragOver = _local1.startTrackScroller);
_local1.scrollTrack_mc.onRelease = _local1.stopScrolling;
_local1.scrollTrack_mc.onDragOut = _local1.stopScrolling;
_local1.scrollTrack_mc.onRollOut = _local1.stopScrolling;
_local1.scrollTrack_mc.useHandCursor = false;
_local1.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
_local1.scrollThumb_mc._x = 0;
_local1.scrollThumb_mc._y = _local1.upArrow_mc._height;
_local1.scrollThumb_mc.onPress = _local1.startDragThumb;
_local1.scrollThumb_mc.controller = _local1;
_local1.scrollThumb_mc.onRelease = (_local1.scrollThumb_mc.onReleaseOutside = _local1.stopDragThumb);
_local1.scrollThumb_mc.useHandCursor = false;
_local1.thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local1.trackSize;
_local1.thumbMid_mc = _local1.scrollThumb_mc.mc_sliderMid;
_local1.thumbTop_mc = _local1.scrollThumb_mc.mc_sliderTop;
_local1.thumbBot_mc = _local1.scrollThumb_mc.mc_sliderBot;
_local1.thumbHeight = Math.max(_local1.thumbHeight, 6);
_local1.midHeight = (_local1.thumbHeight - _local1.thumbTop_mc._height) - _local1.thumbBot_mc._height;
_local1.thumbMid_mc._yScale = (_local1.midHeight * 100) / _local1.thumbMid_mc._height;
_local1.thumbMid_mc._y = _local1.thumbTop_mc._height;
_local1.thumbBot_mc._y = _local1.thumbTop_mc._height + _local1.midHeight;
_local1.scrollTop = _local1.scrollThumb_mc._y;
_local1.trackHeight = _local1.trackSize - _local1.thumbHeight;
_local1.scrollBot = _local1.trackHeight + _local1.scrollTop;
_local2 = Math.min(_local2, _local1.maxPos);
_local1.setScrollPosition(Math.max(_local2, _local1.minPos));
}
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
var _local1 = this;
var _local2 = pos;
_local1.scrollPosition = _local2;
if (_local1.scrollThumb_mc != undefined) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
}
_local1.scrollThumb_mc._y = (((_local2 - _local1.minPos) * _local1.trackHeight) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTop;
_local1.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
var _local3 = _local1.enable;
if (_local2 && (!_local3)) {
_local1.enable = _local2;
if (_local1.textField != undefined) {
_local1.setScrollTarget(_local1.textField);
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.cachedMinPos, _local1.cachedMaxPos);
_local1.setScrollPosition(_local1.cachedPos);
}
_local1.clickFilter = undefined;
} else if ((!_local2) && (_local3)) {
_local1.textField.removeListener(_local1);
_local1.cachedPos = _local1.getScrollPosition();
_local1.cachedMinPos = _local1.minPos;
_local1.cachedMaxPos = _local1.maxPos;
if (_local1.clickFilter == undefined) {
_local1.setScrollProperties(_local1.pageSize, 0, 0);
} else {
_local1.clickFilter = true;
}
_local1.enable = _local2;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
var _local1 = this;
if (_local1._height == 1) {
} else {
_local1.width = hgt;
_local1.scrollTrack_mc._yscale = 100;
_local1.scrollTrack_mc._yscale = (100 * _local1.width) / _local1.scrollTrack_mc._height;
if (_local1.upArrow_mc == undefined) {
_local1.attachMovie("UpArrow", "upArrow_mc", 1);
_local1.attachMovie("DownArrow", "downArrow_mc", 2);
_local1.downArrow_mc.controller = (_local1.upArrow_mc.controller = _local1);
_local1.upArrow_mc.useHandCursor = (_local1.downArrow_mc.useHandCursor = false);
_local1.upArrow_mc._x = (_local1.upArrow_mc._y = 0);
_local1.downArrow_mc._x = 0;
}
_local1.scrollTrack_mc.controller = _local1;
_local1.downArrow_mc._y = _local1.width - _local1.downArrow_mc._height;
_local1.trackSize = _local1.width - (2 * _local1.downArrow_mc._height);
if (_local1.textField != undefined) {
_local1.onTextChanged();
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos);
}
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "one") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1.getScrollPosition() + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
_local1.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
var _local1 = this;
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.controller.scrollTop) {
_local1.scrollMove = _local1.controller.scrollTop;
} else if (_local1.scrollMove > _local1.controller.scrollBot) {
_local1.scrollMove = _local1.controller.scrollBot;
}
_local1._y = _local1.scrollMove;
var _local2 = _local1.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (_local1._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
_local1.controller.isScrolling = true;
updateAfterEvent();
_local1.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
var _local1 = this;
_local1.controller.trackScroller();
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", 35, _local2, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.thumbHeight) < _local1._ymouse) {
_local1.scrollIt("page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(1);
_local1.controller.upArrow_mc.gotoAndStop(1);
clearInterval(_local1.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
var _local1 = this;
_local1.controller.upArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", -1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", 1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
var _local1 = this;
var _local2 = tF;
if (_local2 == undefined) {
_local1.textField.removeListener(_local1);
delete _local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")];
if ((_local1.textField.hScroller != undefined) && (_local1.textField.vScroller != undefined)) {
_local1.textField.unwatch("text");
_local1.textField.unwatch("htmltext");
}
}
_local1.textField = undefined;
if (!(_local2 instanceof TextField)) {
} else {
_local1.textField = _local2;
_local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")] = _local1;
_local1.onTextChanged();
_local1.onChanged = function () {
this.onTextChanged();
};
_local1.onScroller = function () {
var _local1 = this;
if (!_local1.isScrolling) {
if (!_local1.horizontal) {
_local1.setScrollPosition(_local1.textField.scroll);
} else {
_local1.setScrollPosition(_local1.textField.hscroll);
}
}
};
_local1.textField.addListener(_local1);
_local1.textField.watch("text", _local1.callback);
_local1.textField.watch("htmlText", _local1.callback);
}
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
var _local1 = this;
clearInterval(_local1.hScroller.synchScroll);
clearInterval(_local1.vScroller.synchScroll);
_local1.hScroller.synchScroll = setInterval(_local1.hScroller, "onTextChanged", 50);
_local1.vScroller.synchScroll = setInterval(_local1.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
var _local1 = this;
if ((!_local1.enable) || (_local1.textField == undefined)) {
} else {
clearInterval(_local1.synchScroll);
if (_local1.horizontal) {
var _local2 = _local1.textField.hscroll;
_local1.setScrollProperties(_local1.textField._width, 0, _local1.textField.maxhscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxhscroll));
} else {
var _local2 = _local1.textField.scroll;
var _local3 = _local1.textField.bottomScroll - _local1.textField.scroll;
_local1.setScrollProperties(_local3, 1, _local1.textField.maxscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxscroll));
}
}
};
FScrollBarClass.prototype.executeCallBack = function () {
var _local1 = this;
if (_local1.textField == undefined) {
super.executeCallBack();
} else if (_local1.horizontal) {
_local1.textField.hscroll = _local1.getScrollPosition();
} else {
_local1.textField.scroll = _local1.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 85 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?JewelThief", "_blank");
}
Symbol 89 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 50
stop();
_parent.play();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 141 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?JewelThief", "_blank");
}
Symbol 147 Button
on (release) {
_root.beginTime = getTimer();
_root.pausa = false;
_root.pauseEnd();
_root.play();
}
Symbol 150 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 158 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 158 MovieClip Frame 2
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 158 MovieClip Frame 3
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 159 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 166 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 166 MovieClip Frame 2
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 166 MovieClip Frame 3
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 167 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 170 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 170 MovieClip Frame 2
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 170 MovieClip Frame 3
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 175 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 179 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 181 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 188 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 188 MovieClip Frame 2
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 188 MovieClip Frame 3
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 189 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 190 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 1
function instructionsFunction() {
_root.butoane._visible = false;
_root.instructions._visible = true;
}
stop();
if ((wyasezare == "Orizontal") && (wyinstructions == false)) {
this.gotoAndStop(2);
}
if (((wyasezare == "Vertical") && (wyinstructions == true)) && (wypozitie == "Sus")) {
this.gotoAndStop(3);
}
if (((wyasezare == "Vertical") && (wyinstructions == true)) && (wypozitie == "Jos")) {
this.gotoAndStop(4);
}
if (((wyasezare == "Orizontal") && (wyinstructions == true)) && (wypozitie == "Sus")) {
this.gotoAndStop(5);
}
if (((wyasezare == "Orizontal") && (wyinstructions == true)) && (wypozitie == "Jos")) {
this.gotoAndStop(6);
}
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 191 MovieClip Frame 2
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 191 MovieClip Frame 3
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 191 MovieClip Frame 4
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 191 MovieClip Frame 5
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 191 MovieClip Frame 6
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 196 MovieClip Frame 1
stop();
Symbol 202 Button
on (release) {
_root.butoane._visible = true;
_root.instructions._visible = false;
}
Symbol 231 MovieClip Frame 1
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 2
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 3
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 4
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 5
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 6
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 7
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 8
stop();
_root.stepSound.setVolume(0);
Symbol 231 MovieClip Frame 9
!!!ERROR
Symbol 244 MovieClip Frame 1
!!!ERROR
Symbol 244 MovieClip Frame 2
!!!ERROR
Symbol 244 MovieClip Frame 3
!!!ERROR
Symbol 244 MovieClip Frame 4
!!!ERROR
Symbol 244 MovieClip Frame 5
!!!ERROR
Symbol 244 MovieClip Frame 6
!!!ERROR
Symbol 244 MovieClip Frame 7
!!!ERROR
Symbol 244 MovieClip Frame 8
!!!ERROR
Symbol 244 MovieClip Frame 9
!!!ERROR
Symbol 245 MovieClip Frame 1
!!!ERROR
Symbol 245 MovieClip Frame 2
!!!ERROR
Instance of Symbol 244 MovieClip "animation" in Symbol 245 MovieClip Frame 2
/* no clip actions */
Symbol 256 MovieClip Frame 1
!!!ERROR
Symbol 256 MovieClip Frame 2
!!!ERROR
Symbol 264 MovieClip Frame 1
!!!ERROR
Symbol 264 MovieClip Frame 2
!!!ERROR
Symbol 272 MovieClip Frame 70
!!!ERROR
Symbol 272 MovieClip Frame 121
!!!ERROR
Symbol 276 MovieClip Frame 1
!!!ERROR
Symbol 276 MovieClip Frame 2
!!!ERROR
Symbol 286 MovieClip Frame 1
function hitTestMans(obst, party) {
var _local1 = _root;
var _local2 = this;
var _local3 = party;
if (!_local1.pausa) {
if (_local3 == "left") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x - speed;
if (Key.isDown(39)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(37))) {
_local2.play();
}
}
if (_local3 == "right") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x + speed;
if (Key.isDown(37)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "up") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y - speed;
if (Key.isDown(40)) {
_local2.stop();
}
} else if (((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "down") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y + speed;
if (Key.isDown(38)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
}
}
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 16
onClipEvent (enterFrame) {
!!!ERROR
Symbol 286 MovieClip Frame 52
!!!ERROR
Symbol 286 MovieClip Frame 113
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 113
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 122
onClipEvent (enterFrame) {
!!!ERROR
Symbol 286 MovieClip Frame 217
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 283
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Symbol 286 MovieClip Frame 300
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 286 MovieClip Frame 300
onClipEvent (enterFrame) {
!!!ERROR
Symbol 286 MovieClip Frame 496
!!!ERROR
Symbol 286 MovieClip Frame 541
!!!ERROR
Symbol 286 MovieClip Frame 568
!!!ERROR
Symbol 286 MovieClip Frame 627
!!!ERROR
Symbol 294 MovieClip Frame 1
function hitTestMans(obst, party) {
var _local1 = _root;
var _local2 = this;
var _local3 = party;
if (_local3 == "left") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x - speed;
if (Key.isDown(39)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(37))) {
_local2.play();
}
}
if (_local3 == "right") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x + speed;
if (Key.isDown(37)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "up") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y - speed;
if (Key.isDown(40)) {
_local2.stop();
}
} else if (((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "down") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y + speed;
if (Key.isDown(38)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
}
man_two.stop();
Instance of Symbol 252 MovieClip in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Symbol 294 MovieClip Frame 132
!!!ERROR
Symbol 294 MovieClip Frame 176
!!!ERROR
Symbol 294 MovieClip Frame 264
!!!ERROR
Symbol 294 MovieClip Frame 310
!!!ERROR
Symbol 306 Button
on (release) {
if (!_root.pausa) {
_root.sb = !_root.sb;
if (_root.sb) {
_global.soundsLock = true;
} else {
_global.soundsLock = false;
}
}
}
Symbol 309 Button
on (release, keyPress "p") {
if ((this.menu_lose._visible == false) && (this.menu_next._visible == false)) {
lb = !lb;
if (lb) {
_root.pausa = true;
_root.pStart = getTimer();
clockStop = true;
_global.movingLock = true;
i = 1;
while (i <= securitys) {
this["security" + i].stop();
this["security" + i].security1.stop();
i++;
}
i = 1;
while (i <= lasers) {
this["laser" + i].stop();
i++;
}
i = 1;
while (i <= mans) {
this["man" + i].stop();
this["man" + i].man_two.stop();
this["man" + i].lb = false;
i++;
}
if (_root._currentframe == 9) {
_root.ohrannik_l6.stop();
}
tmpSndLck = soundsLock;
_global.soundsLock = true;
} else {
_root.pausa = false;
pauseEnd();
_global.movingLock = false;
i = 1;
while (i <= securitys) {
this["security" + i].play();
this["security" + i].security1.play();
i++;
}
i = 1;
while (i <= lasers) {
this["laser" + i].play();
i++;
}
i = 1;
while (i <= mans) {
this["man" + i].play();
this["man" + i].man_two.play();
this["man" + i].lb = true;
i++;
}
if (_root._currentframe == 9) {
_root.ohrannik_l6.play();
}
if (!tmpSndLck) {
_global.soundsLock = false;
}
}
}
}
Symbol 317 Button
on (press, keyPress "<Enter>") {
!!!ERROR
Symbol 320 Button
on (release) {
_root.xdada = 0;
_global.zcore = 10001 - Math.floor(100 * (900 / Number(fullTime)));
trace("scor: " + _global.zcore);
_root.gotoAndPlay("submitScore");
}
Instance of Symbol 191 MovieClip in Symbol 323 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
!!!ERROR
Symbol 327 Button
on (press, keyPress "<Enter>") {
this.play();
_global.movingLock = false;
_global.theft = false;
_global.allarm = false;
}
Symbol 329 MovieClip Frame 1
!!!ERROR
Symbol 329 MovieClip Frame 15
this._visible = 0;
_root.nextLevel();
this._parent.player._visible = true;
_root.pauseEnd();
delete _root.menuVisible;
Symbol 332 Button
on (release, keyPress "<Enter>") {
this._visible = false;
_root.player._x = 496;
_root.player._y = 540;
_global.movingLock = false;
_parent.pauseEnd();
delete _root.menuVisible;
}
Symbol 335 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 336 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 337 Button
on (release) {
!!!ERROR
Symbol 338 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 339 Button
on (release, keyPress "p") {
!!!ERROR
Symbol 340 Button
on (release, keyPress "s") {
!!!ERROR
Symbol 351 MovieClip Frame 1
stop();
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
_parent.wxbutno = 6;
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == true)) {
this.gotoAndStop(2);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(3);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(4);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(5);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(6);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(7);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(8);
_parent.wxbutno = 3;
}
Symbol 351 MovieClip Frame 2
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 351 MovieClip Frame 3
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 351 MovieClip Frame 4
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 351 MovieClip Frame 5
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 351 MovieClip Frame 6
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 351 MovieClip Frame 7
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 351 MovieClip Frame 8
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 356 Button
on (press) {
!!!ERROR
Symbol 359 MovieClip Frame 1
stop();
if (_parent.wxaliniere == "Dreapta-Jos") {
this.gotoAndStop(2);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(3);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(5);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(6);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(7);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(4);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(8);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(9);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(10);
}
Symbol 359 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 359 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 359 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 359 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 359 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 359 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 359 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 359 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 359 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 378 MovieClip Frame 1
stop();
this.onRollOver = function () {
if (_parent._parent._currentframe <= 10) {
_parent._parent.gotoAndPlay(11);
}
};
if (_parent._parent.wxbutno == 5) {
this.gotoAndStop(2);
}
if (_parent._parent.wxbutno == 4) {
this.gotoAndStop(3);
}
if (_parent._parent.wxbutno == 3) {
this.gotoAndStop(4);
}
Symbol 379 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 380 MovieClip Frame 1
function pauseFunction() {
var _local1 = _root;
var _local2 = _global;
if ((_local1.menu_lose._visible == false) && (_local1.menu_next._visible == false)) {
lb = !lb;
if (lb) {
_local1.pausa = true;
_local1.pStart = getTimer();
clockStop = true;
_local2.movingLock = true;
i = 1;
while (i <= securitys) {
_local1["security" + i].stop();
_local1["security" + i].security1.stop();
i++;
}
i = 1;
while (i <= lasers) {
_local1["laser" + i].stop();
i++;
}
i = 1;
while (i <= mans) {
_local1["man" + i].stop();
_local1["man" + i].man_two.stop();
_local1["man" + i].lb = false;
i++;
}
if (_local1._currentframe == 9) {
_local1.ohrannik_l6.stop();
}
tmpSndLck = soundsLock;
_local2.soundsLock = true;
} else {
_local1.pausa = false;
pauseEnd();
_local2.movingLock = false;
i = 1;
while (i <= securitys) {
_local1["security" + i].play();
_local1["security" + i].security1.play();
i++;
}
i = 1;
while (i <= lasers) {
_local1["laser" + i].play();
i++;
}
i = 1;
while (i <= mans) {
_local1["man" + i].play();
_local1["man" + i].man_two.play();
_local1["man" + i].lb = true;
i++;
}
if (_local1._currentframe == 9) {
_local1.ohrannik_l6.play();
}
if (!tmpSndLck) {
_local2.soundsLock = false;
}
}
}
}
function soundFunction() {
var _local1 = _root;
if (!_local1.pausa) {
_local1.sb = !_local1.sb;
if (_local1.sb) {
_global.soundsLock = true;
} else {
_global.soundsLock = false;
}
}
}
function mainMenuFunction() {
delete _parent.onEnterFrame;
_root.gotoAndStop("coperta");
}
stop();
wxnguides._alpha = 0;
my_color = new Color(my_mc);
my_color.setRGB(wxculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wxnmenu.tg);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3 = new Color(wxnfer);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
Symbol 380 MovieClip Frame 10
!!!ERROR
Symbol 413 MovieClip Frame 70
!!!ERROR
Symbol 413 MovieClip Frame 121
!!!ERROR
Symbol 414 MovieClip Frame 1
function hitTestMans(obst, party) {
var _local1 = _root;
var _local2 = this;
var _local3 = party;
if (!_local1.pausa) {
if (_local3 == "left") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x - speed;
if (Key.isDown(39)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(37))) {
_local2.play();
}
}
if (_local3 == "right") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x + speed;
if (Key.isDown(37)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "up") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y - speed;
if (Key.isDown(40)) {
_local2.stop();
}
} else if (((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "down") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y + speed;
if (Key.isDown(38)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
}
}
this.man_two.stop();
man_two.stop();
Instance of Symbol 252 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Symbol 414 MovieClip Frame 84
!!!ERROR
Symbol 414 MovieClip Frame 185
!!!ERROR
Symbol 414 MovieClip Frame 287
!!!ERROR
Symbol 414 MovieClip Frame 311
!!!ERROR
Symbol 414 MovieClip Frame 355
!!!ERROR
Symbol 414 MovieClip Frame 383
!!!ERROR
Symbol 414 MovieClip Frame 452
!!!ERROR
Symbol 414 MovieClip Frame 499
!!!ERROR
Symbol 414 MovieClip Frame 511
!!!ERROR
Symbol 457 MovieClip Frame 1
function hitTestMans(obst, party) {
var _local1 = _root;
var _local2 = this;
var _local3 = party;
if (!_local1.pausa) {
if (_local3 == "left") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x - speed;
if (Key.isDown(39)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(37))) {
_local2.play();
}
}
if (_local3 == "right") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x + speed;
if (Key.isDown(37)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "up") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y - speed;
if (Key.isDown(40)) {
_local2.stop();
}
} else if (((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "down") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y + speed;
if (Key.isDown(38)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
}
}
this.man_two.stop();
Instance of Symbol 252 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Symbol 457 MovieClip Frame 21
!!!ERROR
Symbol 457 MovieClip Frame 90
!!!ERROR
Symbol 457 MovieClip Frame 208
!!!ERROR
Symbol 457 MovieClip Frame 269
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 457 MovieClip Frame 269
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x - speed;
}
}
Instance of Symbol 252 MovieClip in Symbol 457 MovieClip Frame 269
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_root.player._x = _root.player._x + speed;
}
}
Symbol 458 MovieClip Frame 1
function hitTestMans(obst, party) {
var _local1 = _root;
var _local2 = this;
var _local3 = party;
if (!_local1.pausa) {
if (_local3 == "left") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x - speed;
if (Key.isDown(39)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(37))) {
_local2.play();
}
}
if (_local3 == "right") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._x = _local1.player._x + speed;
if (Key.isDown(37)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(38))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "up") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y - speed;
if (Key.isDown(40)) {
_local2.stop();
}
} else if (((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
if (_local3 == "down") {
if (obst.hitTest(_local1.player._x, _local1.player._y, true)) {
_local1.player._y = _local1.player._y + speed;
if (Key.isDown(38)) {
_local2.stop();
}
} else if (((!Key.isDown(40)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_local2.play();
}
}
}
}
this.man_two.stop();
Instance of Symbol 252 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Instance of Symbol 252 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (enterFrame) {
!!!ERROR
Symbol 586 Button
on (release) {
!!!ERROR
Symbol 587 Button
on (release) {
!!!ERROR
Symbol 588 Button
on (release) {
_root.xdada = 0;
_global.zcore = 10001 - Math.floor(100 * (900 / Number(fullTime)));
trace(_global.zcore);
_root.gotoAndPlay("submitScore");
}
Symbol 594 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 220);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
i = 1;
while (i <= 30) {
scoresScroll["n" + i].text = _root.monthnume[i];
scoresScroll["s" + i].text = _root.monthscor[i];
i++;
}
Symbol 601 Button
on (release) {
!!!ERROR
Symbol 906 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 915);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
q = 1;
while (q <= 100) {
scoresScroll["n" + q].text = _root.evernume[q];
scoresScroll["s" + q].text = _root.everscor[q];
q++;
}
Instance of Symbol 82 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 906 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
!!!ERROR
Symbol 912 Button
on (release) {
!!!ERROR
Symbol 928 Button
on (release) {
i = 1;
while (i <= 100) {
if (_root.best > _root.monthscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.monthscor[k] = _root.monthscor[k - 1];
_root.monthnume[k] = _root.monthnume[k - 1];
k--;
}
_root.monthscor[i] = _root.best;
_root.monthnume[i] = _root.nickname;
i = 31;
}
i++;
}
i = 1;
while (i <= 100) {
if (_root.best > _root.everscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.everscor[k] = _root.everscor[k - 1];
_root.evernume[k] = _root.evernume[k - 1];
k--;
}
_root.everscor[i] = _root.best;
_root.evernume[i] = _root.nickname;
i = 31;
}
i++;
}
gotoAndPlay ("submit");
}
Symbol 934 Button
on (release) {
!!!ERROR
Symbol 938 MovieClip Frame 1
!!!ERROR
Symbol 938 MovieClip Frame 9
!!!ERROR
Symbol 938 MovieClip Frame 22
!!!ERROR
Symbol 938 MovieClip Frame 34
var my_date = new Date();
codul = Math.round(my_date.getTime() / 1000) * _root.best;
cale = (((((("http://www.freeonlinegames.com/scoreboard/update.php?game=" + _root.gameid) + "&name=") + _root.nickname) + "&score=") + _root.best) + "&code=") + codul;
loadVariablesNum (cale, 0, "GET");
gotoAndPlay ("loop");
Symbol 938 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}