Frame 2
gotoAndPlay (37);
Frame 37
function goMenu() {
_root.bye();
_root.gotoAndStop("menu", 1);
gotoAndStop (74);
}
function goCredits() {
_root.bye();
_root.gotoAndPlay("credits", 1);
gotoAndPlay (37);
}
function goReal3() {
_root.gotoAndStop("real", 3);
gotoAndStop (88);
}
function goLose() {
_root.bye();
_root.gotoAndPlay("lose", 1);
gotoAndPlay (37);
}
function goBetween() {
_root.bye();
_root.gotoAndPlay("in between", 1);
gotoAndPlay (83);
}
function goLoadGame() {
_root.bye();
_root.gotoAndStop("load game", 1);
gotoAndStop (82);
}
function goCreator() {
_root.bye();
_root.gotoAndStop("level creator", 2);
gotoAndStop (38);
}
function nextTo(letter, i) {
var _local1 = _root;
var _local2 = letter;
var _local3 = i;
if ((_local1[_local2 + _local3]._x == _local1.main.x) or (_local1[_local2 + _local3]._y == _local1.main.y)) {
if (((_local1[_local2 + _local3]._x + 24) == _local1.main.x) and (_local1.main.facing == "left")) {
return(true);
}
if (((_local1[_local2 + _local3]._x - 24) == _local1.main.x) and (_local1.main.facing == "right")) {
return(true);
}
if (((_local1[_local2 + _local3]._y + 24) == _local1.main.y) and (_local1.main.facing == "back")) {
return(true);
}
if (((_local1[_local2 + _local3]._y - 24) == _local1.main.y) and (_local1.main.facing == "front")) {
return(true);
}
}
return(false);
}
function right() {
var _local1 = _root;
_local1.brick([_local1.main._x + 24], _local1.main._y, _local1.walkThrough);
if (occupied) {
touched++;
}
if ((_local1.main._x + 24) > 544) {
touched++;
}
if (touched == 0) {
_local1.main.x = _local1.main.x + 24;
_local1.movesMade++;
if ((_local1.main._currentframe < 161) or (_local1.main._currentframe > 240)) {
_local1.main.gotoAndPlay(161);
}
_local1.main.play();
} else {
_local1.main.gotoAndStop(161);
touched = 0;
}
}
function left() {
var _local1 = _root;
_local1.brick([_local1.main._x - 24], _local1.main._y, _local1.walkThrough);
if (occupied) {
touched++;
}
if ((_local1.main._x - 24) < 40) {
touched++;
}
if (touched == 0) {
_local1.main.x = _local1.main.x - 24;
_local1.movesMade++;
if (_local1.main._currentframe < 241) {
_local1.main.gotoAndPlay(241);
}
_local1.main.play();
} else {
_local1.main.gotoAndStop(241);
touched = 0;
}
}
function down() {
var _local1 = _root;
_local1.brick(_local1.main._x, [_local1.main._y + 24], _local1.walkThrough);
if (occupied) {
touched++;
}
if ((_local1.main._y + 24) > 382) {
touched++;
}
if (touched == 0) {
_local1.main.y = _local1.main.y + 24;
_local1.movesMade++;
if (_local1.main._currentframe > 80) {
_local1.main.gotoAndPlay(1);
}
_local1.main.play();
} else {
_local1.main.gotoAndStop(1);
touched = 0;
}
}
function up() {
var _local1 = _root;
_local1.brick(_local1.main._x, [_local1.main._y - 24], _local1.walkThrough);
if (occupied) {
touched++;
}
if ((_local1.main._y - 24) < 70) {
touched++;
}
if (touched == 0) {
_local1.main.y = _local1.main.y - 24;
_local1.movesMade++;
if ((_local1.main._currentframe < 81) or (_local1.main._currentframe > 160)) {
_local1.main.gotoAndPlay(81);
}
_local1.main.play();
} else {
_local1.main.gotoAndStop(81);
touched = 0;
}
}
function brick(x, y, ghost) {
occupied = 0;
if (_root[(("b" + x) + "x") + y]) {
occupied = 1;
}
if (ghost == 1) {
occupied = 0;
}
return(occupied);
}
function llload() {
var _local1 = _root;
_local1.loadContent = _local1.Level_Library[_local1.level];
}
function llloadCustom() {
loadFrom = ("Q/custom levels/" + _root.uno) + ".mon";
fscommand ("flashstudio.loadfromfile", "loadFrom,loadContent");
}
function llloadCustomm() {
loadFrom = "Q/tempLevel.mon";
fscommand ("flashstudio.loadfromfile", "loadFrom,loadContent");
}
function go() {
var _local1 = this;
var _local2 = _root;
while (highestCarryOn == true) {
while (carryOn == true) {
_local1["number" + i] = one.substr(location, 1);
if (_local1["number" + i] == "=") {
carryOn = false;
previousLocation = location;
location++;
_local2["max" + objectName]++;
} else {
objectName = objectName + _local1["number" + i];
i++;
previousLocation = location;
location++;
}
}
carryOn = true;
_local2.attachMovie(objectName, objectName + _local2["max" + objectName], location + 300);
while (highCarryOn == true) {
while (carryOn == true) {
_local1["number" + i] = one.substr(location, 1);
if (_local1["number" + i] == ":") {
carryOn = false;
previousLocation = location;
location++;
} else {
total = total + _local1["number" + i];
i++;
previousLocation = location;
location++;
}
}
carryOn = true;
while (carryOn == true) {
_local1["number" + i] = one.substr(location, 1);
if (_local1["number" + i] == ";") {
highCarryOn = false;
carryOn = false;
previousLocation = location;
location = location + 2;
}
if (_local1["number" + i] == ">") {
highestCarryOn = false;
highCarryOn = false;
carryOn = false;
previousLocation = location;
location++;
}
if (_local1["number" + i] == ",") {
carryOn = false;
previousLocation = location;
location++;
}
if (((_local1["number" + i] != ",") and (_local1["number" + i] != ";")) and (_local1["number" + i] != ">")) {
equal = equal + _local1["number" + i];
i++;
previousLocation = location;
location++;
}
}
if (total == "_x") {
equal = equal * 24;
}
if (total == "_y") {
equal = equal * 24;
}
if (total == "xdestination") {
equal = equal * 24;
}
if (total == "ydestination") {
equal = equal * 24;
}
if ((objectName != "_root") and (objectName != "_root+")) {
_local2[objectName + _local2["max" + objectName]][total] = equal;
} else if (objectName == "_root") {
_local2[total] = equal;
} else if (objectName == "_root+") {
}
total = "";
equal = "";
carryOn = true;
}
total = "";
equal = "";
carryOn = true;
highCarryOn = true;
objectName = "";
}
}
function monster(letter, i) {
var _local1 = _root;
var _local2 = letter;
var _local3 = i;
if ((_local1[_local2 + _local3].exists == 0) and (_local1[(_local2 + _local3) + "exists"] == 1)) {
_local1[_local2 + _local3].removeMovieClip();
_local1[(_local2 + _local3) + "exists"] = 1;
} else {
if (_local1[_local2 + _local3].getAwayTime == 0) {
_local1[_local2 + _local3].turn++;
if (_local1[_local2 + _local3].turn > 5) {
_local1[_local2 + _local3].turn = 1;
}
_local1[_local2 + _local3].moved = 0;
if ((_local1[_local2 + _local3]._x == _local1[_local2 + _local3].x) and (_local1[_local2 + _local3]._y == _local1[_local2 + _local3].y)) {
_local1[_local2 + _local3].previousLocation = [((_local2 + _local1[_local2 + _local3].x) + "x") + _local1[_local2 + _local3].y];
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x - 24;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y;
if ((Math.abs(_local1[_local2 + _local3]._x - _local1.main._x) >= Math.abs(_local1[_local2 + _local3]._y - _local1.main._y)) and ((_local1[_local2 + _local3]._x - _local1.main._x) > 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].bx >= 30)) {
_local1[_local2 + _local3].x = _local1[_local2 + _local3].x - 24;
_local1[_local2 + _local3].gotoAndPlay("left");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x + 24;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y;
if ((Math.abs(_local1[_local2 + _local3]._x - _local1.main._x) >= Math.abs(_local1[_local2 + _local3]._y - _local1.main._y)) and ((_local1[_local2 + _local3]._x - _local1.main._x) <= 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].bx < 550)) {
_local1[_local2 + _local3].x = _local1[_local2 + _local3].x + 24;
_local1[_local2 + _local3].gotoAndPlay("right");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y - 24;
if ((Math.abs(_local1[_local2 + _local3]._y - _local1.main._y) > Math.abs(_local1[_local2 + _local3]._x - _local1.main._x)) and ((_local1[_local2 + _local3]._y - _local1.main._y) > 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].by > 50)) {
_local1[_local2 + _local3].y = _local1[_local2 + _local3].y - 24;
_local1[_local2 + _local3].gotoAndPlay("up");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y + 24;
if ((Math.abs(_local1[_local2 + _local3]._y - _local1.main._y) > Math.abs(_local1[_local2 + _local3]._x - _local1.main._x)) and ((_local1[_local2 + _local3]._y - _local1.main._y) <= 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].by < 370)) {
_local1[_local2 + _local3].y = _local1[_local2 + _local3].y + 24;
_local1[_local2 + _local3].gotoAndPlay("down");
_local1[_local2 + _local3].moved++;
}
}
if (((_local1[_local2 + _local3].turn == 1) or (_local1[_local2 + _local3].turn == 2)) or (_local1[_local2 + _local3].turn == 3)) {
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x - 24;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._x - _local1.main._x) > 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].bx >= 30)) {
_local1[_local2 + _local3].x = _local1[_local2 + _local3].x - 24;
_local1[_local2 + _local3].gotoAndPlay("left");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x + 24;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._x - _local1.main._x) <= 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].bx < 550)) {
_local1[_local2 + _local3].x = _local1[_local2 + _local3].x + 24;
_local1[_local2 + _local3].gotoAndPlay("right");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y - 24;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._y - _local1.main._y) > 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].by > 53)) {
_local1[_local2 + _local3].y = _local1[_local2 + _local3].y - 24;
_local1[_local2 + _local3].gotoAndPlay("up");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y + 24;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._y - _local1.main._y) <= 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].by < 370)) {
_local1[_local2 + _local3].y = _local1[_local2 + _local3].y + 24;
_local1[_local2 + _local3].gotoAndPlay("down");
_local1[_local2 + _local3].moved++;
}
}
}
if ((_local1[_local2 + _local3].turn == 4) or (_local1[_local2 + _local3].turn == 5)) {
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x - 24;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._x - _local1.main._x) >= 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].bx >= 30)) {
_local1[_local2 + _local3].x = _local1[_local2 + _local3].x - 24;
_local1[_local2 + _local3].gotoAndPlay("left");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x + 24;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._x - _local1.main._x) < 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].bx < 550)) {
_local1[_local2 + _local3].x = _local1[_local2 + _local3].x + 24;
_local1[_local2 + _local3].gotoAndPlay("right");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y - 24;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._y - _local1.main._y) >= 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].by > 53)) {
_local1[_local2 + _local3].y = _local1[_local2 + _local3].y - 24;
_local1[_local2 + _local3].gotoAndPlay("up");
_local1[_local2 + _local3].moved++;
}
}
_local1[_local2 + _local3].bx = _local1[_local2 + _local3]._x;
_local1[_local2 + _local3].by = _local1[_local2 + _local3]._y + 24;
if ((_local1[_local2 + _local3].moved == 0) and ((_local1[_local2 + _local3]._y - _local1.main._y) < 0)) {
_local1.brick(_local1[_local2 + _local3].bx, _local1[_local2 + _local3].by, _local1[_local2 + _local3].ghost);
if ((_local1.occupied == 0) and (_local1[_local2 + _local3].by < 370)) {
_local1[_local2 + _local3].y = _local1[_local2 + _local3].y + 24;
_local1[_local2 + _local3].gotoAndPlay("down");
_local1[_local2 + _local3].moved++;
}
}
}
}
if (((int(_local1[_local2 + _local3]._x / 24) * 24) == _local1[_local2 + _local3]._x) and ((int(_local1[_local2 + _local3]._y / 24) * 24) == _local1[_local2 + _local3]._y)) {
_local1[_local2 + _local3].when = _local1[_local2 + _local3].turn;
}
if (_local1[_local2 + _local3].moved > 0) {
_local1[_local1[_local2 + _local3].previousLocation] = 0;
_local1[((_local2 + _local1[_local2 + _local3].x) + "x") + _local1[_local2 + _local3].y] = _local3;
}
if (_local1[_local2 + _local3]._x < _local1[_local2 + _local3].x) {
if ((_local1[_local2 + _local3]._x + (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor)) > _local1[_local2 + _local3].x) {
_local1[_local2 + _local3]._x = _local1[_local2 + _local3].x;
} else {
_local1[_local2 + _local3]._x = _local1[_local2 + _local3]._x + (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor);
}
}
if (_local1[_local2 + _local3]._x > _local1[_local2 + _local3].x) {
if ((_local1[_local2 + _local3]._x - (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor)) < _local1[_local2 + _local3].x) {
_local1[_local2 + _local3]._x = _local1[_local2 + _local3].x;
} else {
_local1[_local2 + _local3]._x = _local1[_local2 + _local3]._x - (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor);
}
}
if (_local1[_local2 + _local3]._y < _local1[_local2 + _local3].y) {
if ((_local1[_local2 + _local3]._y + (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor)) > _local1[_local2 + _local3].y) {
_local1[_local2 + _local3]._y = _local1[_local2 + _local3].y;
} else {
_local1[_local2 + _local3]._y = _local1[_local2 + _local3]._y + (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor);
}
}
if (_local1[_local2 + _local3]._y > _local1[_local2 + _local3].y) {
if ((_local1[_local2 + _local3]._y - (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor)) < _local1[_local2 + _local3].y) {
_local1[_local2 + _local3]._y = _local1[_local2 + _local3].y;
} else {
_local1[_local2 + _local3]._y = _local1[_local2 + _local3]._y - (_local1.monsterBaseSpeed * _local1[_local2 + _local3].supor);
}
}
}
if (_local1[_local2 + _local3].getAwayTime > 0) {
_local1[_local2 + _local3].getAwayTime--;
if (_local1[_local2 + _local3].getAwayTime < 1) {
if (_local1[_local2 + _local3].supor == 1) {
if (_local1.soundon == 1) {
rroar = new Sound(_local1[_local2 + _local3]);
rroar.attachSound("roar");
rroar.start();
}
} else if (_local1.soundon == 1) {
roarr = new Sound(_local1[_local2 + _local3]);
roarr.attachSound("roar super");
roarr.start();
}
}
}
if (_local1[_local2 + _local3]._alpha < 100) {
_local1[_local2 + _local3]._alpha++;
}
if (_local1[_local2 + _local3]._rotation != 0) {
_local1[_local2 + _local3]._rotation = _local1[_local2 + _local3]._rotation + 38;
}
if (_local1[_local2 + _local3].exists == 0) {
_local1[_local2 + _local3].removeMovieClip();
_local1[(_local2 + _local3) + "exists"] = 0;
}
}
}
function monsterFire(letter, i) {
var _local1 = _root;
var _local2 = i;
var _local3 = letter;
if ((_local1[_local3 + _local2].exists == 0) and (_local1[(_local3 + _local2) + "exists"] == 1)) {
_local1[_local3 + _local2].removeMovieClip();
_local1[(_local3 + _local2) + "exists"] = 1;
} else {
if (_local1[_local3 + _local2].getAwayTime == 0) {
_local1[_local3 + _local2].turn++;
if (_local1[_local3 + _local2].turn > 5) {
_local1[_local3 + _local2].turn = 1;
}
_local1[_local3 + _local2].moved = 0;
if (_local1[_local3 + _local2].x == _local1.main.x) {
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y - 24;
if ((((_local1[_local3 + _local2]._y - _local1.main._y) > 0) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by > 50)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y - 24;
_local1[_local3 + _local2].gotoAndPlay("up");
_local1[_local3 + _local2].moved++;
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y + 24;
if ((((_local1[_local3 + _local2]._y - _local1.main._y) <= 0) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by < 370)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y + 24;
_local1[_local3 + _local2].gotoAndPlay("down");
_local1[_local3 + _local2].moved++;
}
}
}
if (_local1[_local3 + _local2].y == _local1.main.y) {
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x - 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((_local1[_local3 + _local2]._x - _local1.main._x) > 0) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx >= 30)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x - 24;
_local1[_local3 + _local2].gotoAndPlay("left");
_local1[_local3 + _local2].moved++;
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x + 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((_local1[_local3 + _local2]._x - _local1.main._x) <= 0) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx < 550)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x + 24;
_local1[_local3 + _local2].gotoAndPlay("right");
_local1[_local3 + _local2].moved++;
}
}
}
if ((_local1[_local3 + _local2].x != _local1.main.x) and (_local1[level + _local2].y != _local1.main.y)) {
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x - 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((Math.abs(_local1[_local3 + _local2]._x - _local1.main._x) < Math.abs(_local1[_local3 + _local2]._y - _local1.main._y)) and ((_local1[_local3 + _local2]._x - _local1.main._x) > 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx >= 30)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x - 24;
_local1[_local3 + _local2].gotoAndPlay("left");
_local1[_local3 + _local2].moved++;
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x + 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((Math.abs(_local1[_local3 + _local2]._x - _local1.main._x) < Math.abs(_local1[_local3 + _local2]._y - _local1.main._y)) and ((_local1[_local3 + _local2]._x - _local1.main._x) <= 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx < 550)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x + 24;
_local1[_local3 + _local2].gotoAndPlay("right");
_local1[_local3 + _local2].moved++;
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y - 24;
if ((((Math.abs(_local1[_local3 + _local2]._y - _local1.main._y) < Math.abs(_local1[_local3 + _local2]._x - _local1.main._x)) and ((_local1[_local3 + _local2]._y - _local1.main._y) > 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by > 50)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y - 24;
_local1[_local3 + _local2].gotoAndPlay("up");
_local1[_local3 + _local2].moved++;
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y + 24;
if ((((Math.abs(_local1[_local3 + _local2]._y - _local1.main._y) < Math.abs(_local1[_local3 + _local2]._x - _local1.main._x)) and ((_local1[_local3 + _local2]._y - _local1.main._y) <= 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by < 370)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y + 24;
_local1[_local3 + _local2].gotoAndPlay("down");
_local1[_local3 + _local2].moved++;
}
}
}
if (((_local1[_local3 + _local2].turn == 1) or (_local1[_local3 + _local2].turn == 2)) or (_local1[_local3 + _local2].turn == 3)) {
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x - 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._x - _local1.main._x) > 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx >= 30)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x - 24;
_local1[_local3 + _local2].gotoAndPlay("left");
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x + 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._x - _local1.main._x) <= 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx < 550)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x + 24;
_local1[_local3 + _local2].gotoAndPlay("right");
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y - 24;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._y - _local1.main._y) > 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by > 53)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y - 24;
_local1[_local3 + _local2].gotoAndPlay("up");
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y + 24;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._y - _local1.main._y) <= 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by < 370)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y + 24;
_local1[_local3 + _local2].gotoAndPlay("down");
}
}
}
if ((_local1[_local3 + _local2].turn == 4) or (_local1[_local3 + _local2].turn == 5)) {
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x - 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._x - _local1.main._x) >= 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx >= 30)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x - 24;
_local1[_local3 + _local2].gotoAndPlay("left");
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x + 24;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._x - _local1.main._x) < 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].bx < 550)) {
_local1[_local3 + _local2].x = _local1[_local3 + _local2].x + 24;
_local1[_local3 + _local2].gotoAndPlay("right");
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y - 24;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._y - _local1.main._y) >= 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by > 53)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y - 24;
_local1[_local3 + _local2].gotoAndPlay("up");
}
}
_local1[_local3 + _local2].bx = _local1[_local3 + _local2]._x;
_local1[_local3 + _local2].by = _local1[_local3 + _local2]._y + 24;
if ((((_local1[_local3 + _local2].moved == 0) and ((_local1[_local3 + _local2]._y - _local1.main._y) < 0)) and (_local1[_local3 + _local2]._x == _local1[_local3 + _local2].x)) and (_local1[_local3 + _local2]._y == _local1[_local3 + _local2].y)) {
_local1.brick(_local1[_local3 + _local2].bx, _local1[_local3 + _local2].by, _local1[_local3 + _local2].ghost);
if ((_local1.occupied == 0) and (_local1[_local3 + _local2].by < 370)) {
_local1[_local3 + _local2].y = _local1[_local3 + _local2].y + 24;
_local1[_local3 + _local2].gotoAndPlay("down");
}
}
}
if (((int(_local1[_local3 + _local2]._x / 24) * 24) == _local1[_local3 + _local2]._x) and ((int(_local1[_local3 + _local2]._y / 24) * 24) == _local1[_local3 + _local2]._y)) {
_local1[_local3 + _local2].when = _local1[_local3 + _local2].turn;
}
if (_local1[_local3 + _local2]._x < _local1[_local3 + _local2].x) {
if ((_local1[_local3 + _local2]._x + (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor)) > _local1[_local3 + _local2].x) {
_local1[_local3 + _local2]._x = _local1[_local3 + _local2].x;
} else {
_local1[_local3 + _local2]._x = _local1[_local3 + _local2]._x + (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor);
}
}
if (_local1[_local3 + _local2]._x > _local1[_local3 + _local2].x) {
if ((_local1[_local3 + _local2]._x - (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor)) < _local1[_local3 + _local2].x) {
_local1[_local3 + _local2]._x = _local1[_local3 + _local2].x;
} else {
_local1[_local3 + _local2]._x = _local1[_local3 + _local2]._x - (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor);
}
}
if (_local1[_local3 + _local2]._y < _local1[_local3 + _local2].y) {
if ((_local1[_local3 + _local2]._y + (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor)) > _local1[_local3 + _local2].y) {
_local1[_local3 + _local2]._y = _local1[_local3 + _local2].y;
} else {
_local1[_local3 + _local2]._y = _local1[_local3 + _local2]._y + (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor);
}
}
if (_local1[_local3 + _local2]._y > _local1[_local3 + _local2].y) {
if ((_local1[_local3 + _local2]._y - (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor)) < _local1[_local3 + _local2].y) {
_local1[_local3 + _local2]._y = _local1[_local3 + _local2].y;
} else {
_local1[_local3 + _local2]._y = _local1[_local3 + _local2]._y - (_local1.monsterBaseSpeed * _local1[_local3 + _local2].supor);
}
}
}
if (_local1[_local3 + _local2].getAwayTime > 0) {
_local1[_local3 + _local2].getAwayTime--;
if (_local1[_local3 + _local2].getAwayTime < 1) {
if (_local1[_local3 + _local2].supor == 1) {
if (_local1.soundon == 1) {
rroar = new Sound(_local1[_local3 + _local2]);
rroar.attachSound("roar");
rroar.start();
}
} else if (_local1.soundon == 1) {
roarr = new Sound(_local1[_local3 + _local2]);
roarr.attachSound("roar super");
roarr.start();
}
}
}
if (_local1[_local3 + _local2]._alpha < 100) {
_local1[_local3 + _local2]._alpha++;
}
if (_local1[_local3 + _local2]._rotation != 0) {
_local1[_local3 + _local2]._rotation = _local1[_local3 + _local2]._rotation + 38;
}
if (_local1[_local3 + _local2].exists == 0) {
_local1[_local3 + _local2].removeMovieClip();
_local1[(_local3 + _local2) + "exists"] = 0;
}
}
}
function fire(letter, i) {
var _local1 = _root;
var _local2 = letter;
var _local3 = i;
if ((_local1[_local2 + _local3]._x == _local1[_local2 + _local3].x) and (_local1[_local2 + _local3]._y == _local1[_local2 + _local3].y)) {
if ((_local1[_local2 + _local3].x != _local1.main.x) or (_local1[_local2 + _local3].y != _local1.main.y)) {
if ((_local1[_local2 + _local3].x == _local1[_local2 + _local3]._x) and (_local1[_local2 + _local3].y == _local1[_local2 + _local3]._y)) {
if (_local1[_local2 + _local3].x == _local1.main.x) {
if (_local1.soundOn) {
ffire = new Sound(["fire" + _local1.maxfire]);
ffire.attachSound("fireSound");
ffire.start();
}
_local1.maxfire++;
_local1.attachMovie("fire", ["fire" + _local1.maxfire], 1000 + _local1.maxfire);
_local1["fire" + _local1.maxfire]._x = _local1[_local2 + _local3]._x;
_local1["fire" + _local1.maxfire]._y = _local1[_local2 + _local3]._y;
_local1["fire" + _local1.maxfire].what = "fire";
_local1["fire" + _local1.maxfire].exists = true;
if (_local1[_local2 + _local3].y > _local1.main.y) {
_local1["fire" + _local1.maxfire].dy = _local1.fireSpeed * -1;
_local1["fire" + _local1.maxfire].dx = 0;
_local1["fire" + _local1.maxfire]._rotation = 180;
}
if (_local1[_local2 + _local3].y < _local1.main.y) {
_local1["fire" + _local1.maxfire].dy = _local1.fireSpeed;
_local1["fire" + _local1.maxfire].dx = 0;
_local1["fire" + _local1.maxfire]._rotation = 0;
}
}
if (_local1[_local2 + _local3].y == _local1.main.y) {
if (_local1.soundOn) {
ffire = new Sound(["fire" + _local1.maxfire]);
ffire.attachSound("fireSound");
ffire.start();
}
_local1.maxfire++;
_local1.attachMovie("fire", ["fire" + _local1.maxfire], 1000 + _local1.maxfire);
_local1["fire" + _local1.maxfire]._x = _local1[_local2 + _local3]._x;
_local1["fire" + _local1.maxfire]._y = _local1[_local2 + _local3]._y;
_local1["fire" + _local1.maxfire].what = "fire";
_local1["fire" + _local1.maxfire].exists = true;
if (_local1[_local2 + _local3].x > _local1.main.x) {
_local1["fire" + _local1.maxfire].dx = _local1.fireSpeed * -1;
_local1["fire" + _local1.maxfire].dy = 0;
_local1["fire" + _local1.maxfire]._rotation = 90;
}
if (_local1[_local2 + _local3].x < _local1.main.x) {
_local1["fire" + _local1.maxfire].dx = _local1.fireSpeed;
_local1["fire" + _local1.maxfire].dy = 0;
_local1["fire" + _local1.maxfire]._rotation = 270;
}
}
}
}
}
}
function laser() {
var _local1 = _root;
direction = Math.ceil(_local1.main._currentframe / 80);
if (direction < 3) {
_local1.maxfire++;
_local1.attachMovie("laser", ["fire" + _local1.maxfire], 1000 + _local1.maxfire);
_local1["fire" + _local1.maxfire]._x = _local1.main._x;
_local1["fire" + _local1.maxfire]._y = _local1.main._y;
_local1["fire" + _local1.maxfire].what = "laser";
if (direction == 2) {
_local1["fire" + _local1.maxfire].dy = -3;
_local1["fire" + _local1.maxfire].dx = 0;
_local1["fire" + _local1.maxfire]._rotation = 180;
}
if (direction == 1) {
_local1["fire" + _local1.maxfire].dy = 3;
_local1["fire" + _local1.maxfire].dx = 0;
_local1["fire" + _local1.maxfire]._rotation = 0;
}
}
if (direction > 2) {
_local1.maxfire++;
_local1.attachMovie("laser", ["fire" + _local1.maxfire], 1000 + _local1.maxfire);
_local1["fire" + _local1.maxfire]._x = _local1.main._x;
_local1["fire" + _local1.maxfire]._y = _local1.main._y;
_local1["fire" + _local1.maxfire].what = "laser";
if (direction == 4) {
_local1["fire" + _local1.maxfire].dx = -3;
_local1["fire" + _local1.maxfire].dy = 0;
_local1["fire" + _local1.maxfire]._rotation = 90;
}
if (direction == 3) {
_local1["fire" + _local1.maxfire].dx = 3;
_local1["fire" + _local1.maxfire].dy = 0;
_local1["fire" + _local1.maxfire]._rotation = 270;
}
}
}
function edit(alpha) {
var _local1 = _root;
var _local2 = alpha;
var _local3 = this;
_local1[_local1.drag].removeMovieClip();
_local1["mx" + _local2]++;
_local1["rx" + _local2]++;
if (_local1.alpha != "z") {
_local1.last = _local2;
}
_local1.attachMovie(_local2, [_local2 + _local1["mx" + _local2]], _local1.total);
_local1[_local2 + _local1["mx" + _local2]]._width = 24;
_local1[_local2 + _local1["mx" + _local2]]._height = 24;
_local1.drag = [_local2 + _local1["mx" + _local2]];
_local1.dragPrevious = [_local2 + _local1["mx" + _local2]];
_local1.total++;
if (_local1.soundon) {
_local3.ssound = new Sound(_local3);
_local3.ssound.attachSound("small click");
_local3.ssound.start();
}
}
function editLevelSprites(l, i) {
var _local1 = l;
var _local2 = _root;
var _local3 = i;
_local2[_local1 + _local3]._width = 24;
_local2[_local1 + _local3]._height = 24;
_local2[_local1 + _local3]._x = int(_local2[_local1 + _local3]._x / 24) * 24;
_local2[_local1 + _local3]._y = int(_local2[_local1 + _local3]._y / 24) * 24;
_local2[_local1 + _local3].x = _local2[_local1 + _local3]._x;
_local2[_local1 + _local3].y = _local2[_local1 + _local3]._y;
while (_local2[_local1 + _local3].y > 0) {
_local2[_local1 + _local3].x = _local2[_local1 + _local3].x + 504;
_local2[_local1 + _local3].y = _local2[_local1 + _local3].y - 24;
}
_local2[_local1 + _local3].x = _local2[_local1 + _local3].x / 24;
_local2[_local1 + _local3].x = _local2[_local1 + _local3].x + 1;
_local2["kk" + _local2[_local1 + _local3].x] = _local1;
}
function lload(what) {
_root.loadFrom = what;
fscommand ("flashstudio.loadfromfile", "loadFrom,loadContent");
}
function editGo() {
var _local1 = _root;
var _local2 = this;
while (highestCarryOn == true) {
while (carryOn == true) {
_local2["number" + i] = one.substr(location, 1);
if (_local2["number" + i] == "=") {
carryOn = false;
previousLocation = location;
location++;
_local1["mx" + objectName]++;
} else {
objectName = objectName + _local2["number" + i];
i++;
previousLocation = location;
location++;
}
}
carryOn = true;
_local1.attachMovie(objectName, objectName + _local1["mx" + objectName], _local1.total++);
while (highCarryOn == true) {
while (carryOn == true) {
_local2["number" + i] = one.substr(location, 1);
if (_local2["number" + i] == ":") {
carryOn = false;
previousLocation = location;
location++;
} else {
totall = totall + _local2["number" + i];
i++;
previousLocation = location;
location++;
}
}
carryOn = true;
while (carryOn == true) {
_local2["number" + i] = one.substr(location, 1);
if (_local2["number" + i] == ";") {
highCarryOn = false;
carryOn = false;
previousLocation = location;
location = location + 2;
}
if (_local2["number" + i] == ">") {
highestCarryOn = false;
highCarryOn = false;
carryOn = false;
previousLocation = location;
location++;
}
if (_local2["number" + i] == ",") {
carryOn = false;
previousLocation = location;
location++;
}
if (((_local2["number" + i] != ",") and (_local2["number" + i] != ";")) and (_local2["number" + i] != ">")) {
equal = equal + _local2["number" + i];
i++;
previousLocation = location;
location++;
}
}
if (totall == "_x") {
equal = equal * 24;
}
if (totall == "_y") {
equal = equal * 24;
}
if (totall == "xdestination") {
equal = equal * 24;
}
if (totall == "ydestination") {
equal = equal * 24;
}
if ((objectName != "_root") and (objectName != "_root+")) {
_local1[objectName + _local1["mx" + objectName]][totall] = equal;
} else if (objectName == "_root") {
_local1[totall] = equal;
} else if (objectName == "_root+") {
_local1[totall] = _local1[totall] + equal;
}
totall = "";
equal = "";
carryOn = true;
}
_local1[objectName + _local1["mx" + objectName]]._x = int(_local1[objectName + _local1["mx" + objectName]]._x / 24) * 24;
_local1[objectName + _local1["mx" + objectName]]._y = int(_local1[objectName + _local1["mx" + objectName]]._y / 24) * 24;
_local1[objectName + _local1["mx" + objectName]].x = _local1[objectName + _local1["mx" + objectName]]._x;
_local1[objectName + _local1["mx" + objectName]].y = [objectName + _local1["mx" + objectName]]._y;
while (_local1[objectName + _local1["mx" + objectName]].y > 0) {
_local1[objectName + _local1["mx" + objectName]].x = _local1[objectName + _local1["mx" + objectName]].x + 504;
_local1[objectName + _local1["mx" + objectName]].y = _local1[objectName + _local1["mx" + objectName]].y - 24;
}
_local1[objectName + _local1["mx" + objectName]].x = _local1[objectName + _local1["mx" + objectName]].x / 24;
_local1[objectName + _local1["mx" + objectName]].x = _local1[objectName + _local1["mx" + objectName]].x + 1;
totall = "";
equal = "";
carryOn = true;
highCarryOn = true;
objectName = "";
}
}
function save() {
var _local1 = _root;
_local1.convertToCode();
saveTo = ("Q/custom levels/" + _local1.saveAs) + ".mon";
saveContent = _local1.uno;
fscommand ("flashstudio.savetofile", "saveTo,saveContent");
}
function convertToCode() {
var _local1 = _root;
_local1.uno = "";
_local1.uno = _local1.uno + "bar1=_x:1,_y:1; bar2=_x:1,_y:1; ";
j = _local1.charList.length;
while (j >= 0) {
k = _local1.charList[j];
i = _local1["mx" + k];
while (i > 0) {
if (_local1[k + i].x != null) {
_local1.uno = _local1.uno + k;
_local1.uno = _local1.uno + "=_x:";
_local1.uno = _local1.uno + int(_local1[k + i]._x / 24);
_local1.uno = _local1.uno + ",_y:";
_local1.uno = _local1.uno + int(_local1[k + i]._y / 24);
if (k == "w") {
_local1.uno = _local1.uno + ",xdestination:";
_local1.uno = _local1.uno + int(_local1[("aw" + i) + "destination"]._x / 24);
_local1.uno = _local1.uno + ",ydestination:";
_local1.uno = _local1.uno + int(_local1[("aw" + i) + "destination"]._y / 24);
_local1.uno = _local1.uno + "; ";
} else if (k == "x") {
_local1.uno = _local1.uno + ",xdestination:";
_local1.uno = _local1.uno + int(_local1[("cw" + i) + "destination"]._x / 24);
_local1.uno = _local1.uno + ",ydestination:";
_local1.uno = _local1.uno + int(_local1[("cw" + i) + "destination"]._y / 24);
_local1.uno = _local1.uno + "; ";
} else if (k == "y") {
_local1.uno = _local1.uno + ",xdestination:";
_local1.uno = _local1.uno + int(_local1[("ew" + i) + "destination"]._x / 24);
_local1.uno = _local1.uno + ",ydestination:";
_local1.uno = _local1.uno + int(_local1[("ew" + i) + "destination"]._y / 24);
_local1.uno = _local1.uno + "; ";
} else if (k == "k") {
_local1.uno = _local1.uno + ",ccolor:";
_local1.uno = _local1.uno + _local1[k + i].ccolor;
_local1.uno = _local1.uno + "; ";
} else if (k == "o") {
_local1.uno = _local1.uno + ",rrotate:";
_local1.uno = _local1.uno + _local1[k + i].rrotate;
_local1.uno = _local1.uno + ",openWhen:";
_local1.uno = _local1.uno + _local1[k + i].openWhen;
_local1.uno = _local1.uno + "; ";
} else if (k == "u") {
_local1.uno = _local1.uno + ",ccolor:";
_local1.uno = _local1.uno + _local1[k + i].ccolor;
_local1.uno = _local1.uno + ",rrotate:";
_local1.uno = _local1.uno + _local1[k + i].rrotate;
_local1.uno = _local1.uno + "; ";
} else {
_local1.uno = _local1.uno + "; ";
}
}
i--;
}
j--;
}
_local1.uno = _local1.uno + "_root=health:";
_local1.uno = _local1.uno + _local1.optionsTabHealth;
_local1.uno = _local1.uno + ",backgroundd:";
_local1.uno = _local1.uno + _local1.bbackground._currentframe;
_local1.uno = _local1.uno + ",zoomView:";
_local1.uno = _local1.uno + _local1.zoomView;
_local1.uno = _local1.uno + ">";
}
function getFilesDel() {
folder = "Q/custom levels";
searchMask = "*.*";
delimiter = "%";
fscommand ("flashstudio.getfilelist_del", "folder,searchMask,result,delimiter");
}
function goPreview() {
var _local1 = this;
var _local2 = _root;
while (highestCarryOn == true) {
while (carryOn == true) {
_local1["number" + i] = one.substr(location, 1);
if (_local1["number" + i] == "=") {
carryOn = false;
previousLocation = location;
location++;
_local2["max" + objectName]++;
} else {
objectName = objectName + _local1["number" + i];
i++;
previousLocation = location;
location++;
}
}
carryOn = true;
_local2.previewGen.attachMovie(objectName, objectName + _local2["max" + objectName], location + 300);
while (highCarryOn == true) {
while (carryOn == true) {
_local1["number" + i] = one.substr(location, 1);
if (_local1["number" + i] == ":") {
carryOn = false;
previousLocation = location;
location++;
} else {
total = total + _local1["number" + i];
i++;
previousLocation = location;
location++;
}
}
carryOn = true;
while (carryOn == true) {
_local1["number" + i] = one.substr(location, 1);
if (_local1["number" + i] == ";") {
highCarryOn = false;
carryOn = false;
previousLocation = location;
location = location + 2;
}
if (_local1["number" + i] == ">") {
highestCarryOn = false;
highCarryOn = false;
carryOn = false;
previousLocation = location;
location++;
}
if (_local1["number" + i] == ",") {
carryOn = false;
previousLocation = location;
location++;
}
if (((_local1["number" + i] != ",") and (_local1["number" + i] != ";")) and (_local1["number" + i] != ">")) {
equal = equal + _local1["number" + i];
i++;
previousLocation = location;
location++;
}
}
if (total == "_x") {
equal = equal * 24;
}
if (total == "_y") {
equal = equal * 24;
}
if (total == "xdestination") {
equal = equal * 24;
}
if (total == "ydestination") {
equal = equal * 24;
}
if ((objectName != "_root") and (objectName != "_root+")) {
_local2.PreviewGen[objectName + _local2["max" + objectName]][total] = equal;
} else if (objectName == "_root") {
_local2.PreviewGen[total] = equal;
} else if (objectName == "_root+") {
}
total = "";
equal = "";
carryOn = true;
}
total = "";
equal = "";
carryOn = true;
highCarryOn = true;
objectName = "";
}
}
function getFiles() {
var _local1 = _root;
_local1.folder = "Q/custom levels";
_local1.searchMask = "*.mon";
_local1.delimiter = "%";
fscommand ("flashstudio.getfilelist_del", "folder,searchMask,result,delimiter");
}
function loadGameData() {
_root.loadFrom = "Q/gameData.mon";
fscommand ("flashstudio.loadfromfile", "loadFrom,loadContent");
}
function saveGameData(num) {
_root.saveContent = num;
_root.saveTo = "Q/gameData.mon";
fscommand ("flashstudio.savetofile", "saveTo,saveContent");
}
function blowfish(mes) {
var _local1 = _root;
_local1.key = "Noah";
_local1.textToEncrypt = mes;
fscommand ("flashstudio.blowfishenc", "key,textToEncrypt,result");
return(_local1.result);
}
function decrypt(mes) {
var _local1 = _root;
_local1.key = "Noah";
_local1.textToDecrypt = mes;
fscommand ("flashstudio.blowfishdec", "key,textToDecrypt,result");
return(_local1.result);
}
function loadOptions() {
var _local1 = _root;
_local1.loadFrom = "Q/options.mon";
fscommand ("flashstudio.loadfromfile", "loadFrom,loadContent");
_local1.options = _local1.loadContent;
if (_local1.options.substr(0, 1) == "b") {
_quality = "BEST";
}
if (_local1.options.substr(0, 1) == "h") {
_quality = "HIGH";
}
if (_local1.options.substr(0, 1) == "m") {
_quality = "MEDIUM";
}
if (_local1.options.substr(0, 1) == "l") {
_quality = "LOW";
}
if (_local1.options.substr(1, 1) == "y") {
_local1.musicon = true;
}
if (_local1.options.substr(1, 1) == "n") {
_local1.musicon = false;
}
if (_local1.options.substr(2, 1) == "y") {
_local1.soundon = true;
}
if (_local1.options.substr(2, 1) == "n") {
_local1.soundon = false;
}
if ((_local1.options.substr(3, 1) == "f") and (_local1.screenWay != "f")) {
_local1.screenWay = "f";
fscommand ("flashstudio.maximize");
}
if ((_local1.options.substr(3, 1) == 8) and (_local1.screenWay != 8)) {
_local1.screenWay = 8;
fscommand ("flashstudio.restore");
fscommand ("flashstudio.size", "\"800\",\"600\"");
fscommand ("flashstudio.position", "\"0\",\"0\"");
}
if ((_local1.options.substr(3, 1) == 6) and (_local1.screenWay != 6)) {
_local1.screenWay = 6;
fscommand ("flashstudio.restore");
fscommand ("flashstudio.size", "\"600\",\"400\"");
fscommand ("flashstudio.position", "\"0\",\"0\"");
}
}
function lastScreenn() {
var _local1 = _root;
if (_local1.lastScreen == "menu") {
gotoAndStop (74);
}
if (_local1.lastScreen == "load") {
gotoAndStop (37);
}
if (_local1.lastScreen == "edit") {
gotoAndStop (37);
}
if (_local1.lastScreen == "level creator") {
gotoAndStop (37);
_local1.dontLoad = true;
}
if (_local1.lastScreen == "load level code") {
gotoAndStop (37);
}
if (_local1.lastScreen == "in between") {
gotoAndPlay(_local1.lastFrame +82);
}
if (_local1.lastScreen == "real") {
if (_local1.pause == 0) {
_local1.pause = 1;
_local1.attachMovie("pause", "ppause", 999934);
if (_local1.zoomView == true) {
_local1.ppause._width = _local1.ppause._width / 2;
_local1.ppause._height = _local1.ppause._height / 2;
_local1.ppause._x = _local1.screen._x;
_local1.ppause._y = _local1.screen._y;
}
}
_local1.dontLoad = true;
gotoAndStop (86);
_local1.pause = 1;
}
if (_local1.lastScreen == "win") {
gotoAndPlay (212);
}
if (_local1.lastScreen == "lose") {
gotoAndPlay (117);
}
if (_local1.lastScreen == "load game") {
gotoAndStop (82);
}
if (_local1.lastScreen == "instructions") {
gotoAndStop(_local1.lastFrame +36);
}
if (_local1.lastScreen == "credits") {
gotoAndStop (37);
}
}
function bye() {
var _local1 = _root;
_local1.warn1.removeMovieClip();
_local1.warn2.removeMovieClip();
_local1.warn3.removeMovieClip();
_local1.warn4.removeMovieClip();
if (_local1.lastScreen != "real") {
if (_local1.realDistorted) {
_local1._width = _local1._width / 0.95;
_local1._height = _local1._height / 0.95;
_local1._x = _local1._x - 24.6;
_local1._y = _local1._y - 7.9;
_local1.realDistorted = false;
}
}
if (_local1.lastScreen != "level creator") {
if (_local1.zoomView == true) {
_local1._width = 565;
_local1._height = 410;
_local1._x = 0;
_local1._y = 0;
_local1.zoomView = false;
}
}
if ((_local1.lastScreen != "level creator") and (_local1.creatorDistorted == true)) {
_local1._y = _local1._y - 12;
_local1.creatorDistorted = false;
}
_local1.black.removeMovieClip();
_local1.put.removeMovieClip();
_local1.cover.removeMovieClip();
_local1.covered = false;
_local1.screen.removeMovieClip();
removeMovieClip("screen");
removeMovieClip(99999999);
_local1.screen._visible = 0;
if (_local1.lastScreen != "level creator") {
_local1.optionsTab.removeMovieClip();
}
j = _local1.charList.length;
while (j >= 0) {
k = _local1.charList[j];
i = _local1["max" + k];
while (i > 0) {
_local1[((k + _local1[k + i]._x) + "x") + _local1[k + i]._y] = 0;
_local1[((k + _local1[k + i].x) + "x") + _local1[k + i].y] = 0;
_local1[_local1[k + i].previousLocation] = 0;
_local1[k + i].removeMovieClip();
i--;
}
i = _local1["mx" + k];
while (i > 0) {
_local1[((k + _local1[k + i]._x) + "x") + _local1[k + i]._y] = 0;
_local1[((k + _local1[k + i].x) + "x") + _local1[k + i].y] = 0;
_local1[_local1[k + i].previousLocation] = 0;
_local1[k + i].removeMovieClip();
i--;
}
j--;
}
_local1.warping = false;
_local1.pc2.removeMovieClip();
_local1.key.removeMovieClip();
_local1.gate.removeMovieClip();
_local1.lockedGate.removeMovieClip();
_local1.pictureViewer.removeMovieClip();
_local1.pc.removeMovieClip();
_local1.gg.removeMovieClip();
_local1.erase.removeMovieClip();
_local1.bomb.removeMovieClip();
_local1.ril.removeMovieClip();
j = 0;
while (j <= _local1.charList.length) {
k = _local1.charList[j];
i = 17;
while (i >= 0) {
_local1[((k + _local1[k + i]._x) + "x") + _local1[k + i]._y] = 0;
_local1[((k + _local1[k + i].x) + "x") + _local1[k + i].y] = 0;
_local1[_local1[k + i].previousLocation] = 0;
_local1[k + i].removeMovieClip();
i--;
}
j++;
}
i = _local1.mxw;
while (i > 0) {
_local1[("aw" + i) + "destination"].removeMovieClip();
i--;
}
i = _local1.mxx;
while (i > 0) {
_local1[("cw" + i) + "destination"].removeMovieClip();
i--;
}
i = _local1.mxy;
while (i > 0) {
_local1[("ew" + i) + "destination"].removeMovieClip();
i--;
}
j = _local1.charList.length;
while (j >= 0) {
k = _local1.charList[j];
_local1["max" + k] = 0;
_local1["mx" + k] = 0;
_local1["rx" + k] = 0;
j--;
}
_local1.drag = eval (null)();
_local1.playing = 0;
if (_local1.song == 1) {
song = 5;
} else {
song = _local1.song;
}
_local1.bg.stop(["music" + (song - 1)]);
_local1.stopAllSounds();
stopAllSounds();
i = 300;
while (i > 0) {
_local1[((k + _local1.open._x) + "x") + _local1.open._y] = 0;
_local1.open.removeMovieClip();
i--;
}
_local1.main.removeMovieClip();
_local1.ppause.removeMovieClip();
_local1.pause = 0;
_local1.health = 1;
}
function contains(containee, container) {
var _local1 = containee;
var _local2 = container;
temp = 0;
i = 0;
while (i < _local1.length) {
if (temp > 0) {
if (_local1.substr(i, 1) != _local2.substr(temp, 1)) {
temp = 0;
} else if (_local1.substr(i, 1) == _local2.substr(temp, 1)) {
temp++;
}
} else if (temp == 0) {
if (_local1.substr(i, 1) == _local2.substr(temp, 1)) {
temp++;
}
}
if (temp == _local2.length) {
return(true);
}
i++;
}
return(false);
}
_root.frameLabel = "Quit";
fscommand ("flashstudio.setexithandler", "frameLabel");
fscommand ("flashstudio.insertmenuheader", "\"File\"");
fscommand ("flashstudio.insertmenuitem", "\"File\",\"Main Menu\"");
fscommand ("flashstudio.insertmenudivider", "\"File\"");
fscommand ("flashstudio.insertmenuitem", "\"File\",\"Play\"");
fscommand ("flashstudio.insertmenudivider", "\"File\"");
fscommand ("flashstudio.insertmenuitem", "\"File\",\"Instructions\"");
fscommand ("flashstudio.insertmenudivider", "\"File\"");
fscommand ("flashstudio.insertmenuitem", "\"File\",\"Quit\"");
fscommand ("flashstudio.insertmenuheader", "\"Edit\"");
fscommand ("flashstudio.insertmenuitem", "\"Edit\",\"Custom Levels\"");
fscommand ("flashstudio.insertmenuheader", "\"Options\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Full Screen\"");
fscommand ("flashstudio.insertmenudivider", "\"Options\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Sound On\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Sound Off\"");
fscommand ("flashstudio.insertmenudivider", "\"Options\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Music On\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Music Off\"");
fscommand ("flashstudio.insertmenudivider", "\"Options\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Best Quality\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"High Quality\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Medium Quality\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Low Quality\"");
fscommand ("flashstudio.insertmenudivider", "\"Options\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Lighting On\"");
fscommand ("flashstudio.insertmenuitem", "\"Options\",\"Lighting Off\"");
Instance of Symbol 151 MovieClip "actions" in Frame 37
onClipEvent (load) {
_root.dontLoad = false;
_root.uno = "bar1=_x:1,_y:1; bar2=_x:1,_y:1; _root=health:1,backgroundd:1,zoomView:false>";
_root.Level_Library = new Array("bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:5,_y:8; u=_x:20,_y:8,ccolor:blue,rrotate:0; u=_x:16,_y:8,ccolor:green,rrotate:0; u=_x:12,_y:8,ccolor:yellow,rrotate:0; u=_x:8,_y:8,ccolor:red,rrotate:0; k=_x:22,_y:3,ccolor:blue; k=_x:17,_y:13,ccolor:green; k=_x:11,_y:3,ccolor:yellow; k=_x:2,_y:15,ccolor:red; d=_x:22,_y:8; b=_x:20,_y:10; b=_x:16,_y:10; b=_x:12,_y:10; b=_x:8,_y:10; b=_x:13,_y:12; b=_x:13,_y:14; b=_x:13,_y:13; b=_x:12,_y:9; b=_x:13,_y:11; b=_x:16,_y:15; b=_x:16,_y:13; b=_x:16,_y:9; b=_x:17,_y:11; b=_x:18,_y:11; b=_x:22,_y:11; b=_x:21,_y:11; b=_x:20,_y:9; b=_x:22,_y:5; b=_x:21,_y:5; b=_x:20,_y:7; b=_x:20,_y:6; b=_x:19,_y:5; b=_x:17,_y:5; b=_x:16,_y:7; b=_x:16,_y:6; b=_x:16,_y:4; b=_x:14,_y:5; b=_x:12,_y:7; b=_x:12,_y:6; b=_x:13,_y:5; b=_x:11,_y:5; b=_x:10,_y:5; b=_x:8,_y:6; b=_x:8,_y:7; b=_x:8,_y:9; b=_x:6,_y:15; b=_x:6,_y:14; b=_x:6,_y:13; b=_x:6,_y:12; b=_x:6,_y:11; b=_x:7,_y:11; b=_x:8,_y:5; b=_x:7,_y:5; b=_x:7,_y:4; b=_x:6,_y:3; b=_x:7,_y:3; b=_x:13,_y:15; b=_x:12,_y:4; b=_x:12,_y:3; b=_x:14,_y:4; b=_x:16,_y:3; b=_x:16,_y:12; b=_x:17,_y:12; b=_x:18,_y:14; b=_x:18,_y:15; b=_x:18,_y:13; _root=health:5,backgroundd:19,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:9,_y:9; t=_x:19,_y:4; j=_x:3,_y:9; h=_x:7,_y:9; d=_x:22,_y:4; b=_x:6,_y:7; b=_x:6,_y:8; b=_x:6,_y:9; b=_x:6,_y:10; b=_x:6,_y:11; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:21,_y:9; t=_x:20,_y:9; m=_x:2,_y:9; d=_x:12,_y:9; b=_x:4,_y:11; b=_x:4,_y:10; b=_x:4,_y:9; b=_x:4,_y:8; b=_x:6,_y:7; b=_x:7,_y:7; b=_x:8,_y:8; b=_x:8,_y:9; b=_x:7,_y:9; b=_x:7,_y:10; b=_x:7,_y:11; b=_x:6,_y:12; b=_x:11,_y:10; b=_x:10,_y:6; b=_x:11,_y:8; b=_x:11,_y:9; b=_x:9,_y:4; b=_x:8,_y:4; b=_x:10,_y:5; b=_x:10,_y:13; b=_x:9,_y:13; b=_x:8,_y:14; b=_x:13,_y:13; b=_x:14,_y:12; b=_x:14,_y:11; b=_x:14,_y:10; b=_x:13,_y:9; b=_x:12,_y:7; b=_x:13,_y:6; b=_x:13,_y:4; b=_x:12,_y:3; b=_x:17,_y:14; b=_x:17,_y:11; b=_x:17,_y:7; b=_x:18,_y:4; b=_x:19,_y:5; b=_x:19,_y:11; b=_x:20,_y:15; b=_x:21,_y:14; b=_x:18,_y:10; b=_x:18,_y:7; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:10,_y:3; t=_x:9,_y:9; o=_x:5,_y:10,rrotate:0,openWhen:2; o=_x:18,_y:10,rrotate:0,openWhen:2; m=_x:13,_y:5; m=_x:3,_y:13; m=_x:22,_y:12; d=_x:13,_y:15; b=_x:9,_y:3; b=_x:9,_y:4; b=_x:9,_y:5; b=_x:9,_y:6; b=_x:9,_y:7; b=_x:9,_y:8; b=_x:11,_y:8; b=_x:10,_y:8; b=_x:12,_y:8; b=_x:13,_y:8; b=_x:15,_y:8; b=_x:16,_y:8; b=_x:16,_y:7; b=_x:16,_y:6; b=_x:16,_y:5; b=_x:16,_y:4; b=_x:16,_y:3; b=_x:5,_y:4; b=_x:5,_y:3; b=_x:5,_y:5; b=_x:5,_y:6; b=_x:5,_y:7; b=_x:5,_y:8; b=_x:5,_y:9; b=_x:5,_y:11; b=_x:6,_y:11; b=_x:7,_y:11; b=_x:8,_y:11; b=_x:9,_y:11; b=_x:10,_y:11; b=_x:11,_y:11; b=_x:12,_y:11; b=_x:13,_y:11; b=_x:14,_y:11; b=_x:15,_y:11; b=_x:16,_y:11; b=_x:17,_y:11; b=_x:18,_y:11; b=_x:18,_y:9; b=_x:18,_y:8; b=_x:18,_y:7; b=_x:18,_y:6; b=_x:18,_y:5; b=_x:18,_y:4; b=_x:18,_y:3; _root=health:3,backgroundd:13,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:9; m=_x:4,_y:5; m=_x:19,_y:4; f=_x:12,_y:8; d=_x:12,_y:13; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:8; t=_x:3,_y:15; m=_x:20,_y:14; d=_x:6,_y:15; b=_x:10,_y:12; b=_x:10,_y:11; b=_x:11,_y:10; b=_x:10,_y:13; b=_x:12,_y:13; b=_x:15,_y:13; b=_x:15,_y:12; b=_x:15,_y:11; b=_x:16,_y:11; b=_x:17,_y:11; b=_x:16,_y:8; b=_x:15,_y:9; b=_x:14,_y:8; b=_x:14,_y:6; b=_x:15,_y:5; b=_x:12,_y:5; b=_x:9,_y:8; b=_x:8,_y:8; b=_x:8,_y:6; b=_x:7,_y:8; b=_x:6,_y:7; b=_x:7,_y:5; b=_x:5,_y:6; b=_x:6,_y:4; b=_x:4,_y:5; b=_x:5,_y:3; b=_x:4,_y:3; b=_x:3,_y:3; b=_x:3,_y:5; b=_x:2,_y:7; b=_x:3,_y:8; b=_x:2,_y:9; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:2,_y:12; b=_x:3,_y:12; b=_x:4,_y:12; b=_x:5,_y:14; b=_x:4,_y:14; b=_x:3,_y:14; b=_x:6,_y:14; b=_x:6,_y:13; b=_x:6,_y:12; b=_x:6,_y:11; b=_x:6,_y:10; b=_x:6,_y:9; b=_x:18,_y:3; b=_x:18,_y:4; b=_x:18,_y:5; b=_x:18,_y:6; b=_x:18,_y:7; b=_x:19,_y:7; b=_x:18,_y:8; b=_x:18,_y:9; b=_x:18,_y:11; b=_x:7,_y:15; _root=health:2,backgroundd:16,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:3,_y:9; t=_x:4,_y:9; q=_x:20,_y:9; d=_x:22,_y:9; b=_x:5,_y:11; b=_x:5,_y:10; b=_x:5,_y:9; b=_x:5,_y:8; b=_x:5,_y:7; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; bar2=_x:1,_y:1; bar2=_x:1,_y:1; bar2=_x:1,_y:1; bar1=_x:0,_y:1; bar1=_x:0,_y:1; bar1=_x:0,_y:1; z=_x:11,_y:9; t=_x:21,_y:13; m=_x:4,_y:9; m=_x:19,_y:9; d=_x:13,_y:13; d=_x:10,_y:5; b=_x:4,_y:10; b=_x:4,_y:8; b=_x:5,_y:7; b=_x:6,_y:6; b=_x:5,_y:11; b=_x:6,_y:12; b=_x:7,_y:13; b=_x:8,_y:13; b=_x:9,_y:13; b=_x:10,_y:14; b=_x:11,_y:14; b=_x:13,_y:14; b=_x:12,_y:14; b=_x:14,_y:13; b=_x:15,_y:13; b=_x:16,_y:13; b=_x:17,_y:12; b=_x:18,_y:11; b=_x:19,_y:10; b=_x:19,_y:8; b=_x:18,_y:7; b=_x:17,_y:6; b=_x:16,_y:5; b=_x:15,_y:5; b=_x:14,_y:5; b=_x:7,_y:5; b=_x:8,_y:5; b=_x:9,_y:5; b=_x:12,_y:4; b=_x:13,_y:4; b=_x:11,_y:4; b=_x:10,_y:4; _root=health:4,backgroundd:15>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:3,_y:8; t=_x:11,_y:13; r=_x:2,_y:11; l=_x:22,_y:6; d=_x:22,_y:8; b=_x:4,_y:3; b=_x:4,_y:4; b=_x:4,_y:5; b=_x:4,_y:7; b=_x:4,_y:6; b=_x:4,_y:8; b=_x:4,_y:9; b=_x:4,_y:10; b=_x:4,_y:11; b=_x:4,_y:12; b=_x:4,_y:13; b=_x:4,_y:14; b=_x:4,_y:15; b=_x:7,_y:3; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:7,_y:6; b=_x:7,_y:8; b=_x:7,_y:7; b=_x:7,_y:9; b=_x:7,_y:10; b=_x:7,_y:11; b=_x:7,_y:12; b=_x:7,_y:14; b=_x:7,_y:13; b=_x:7,_y:15; b=_x:10,_y:15; b=_x:10,_y:14; b=_x:10,_y:13; b=_x:10,_y:12; b=_x:10,_y:11; b=_x:10,_y:9; b=_x:10,_y:10; b=_x:10,_y:8; b=_x:10,_y:7; b=_x:10,_y:6; b=_x:10,_y:5; b=_x:10,_y:4; b=_x:10,_y:3; b=_x:13,_y:15; b=_x:13,_y:14; b=_x:13,_y:13; b=_x:13,_y:12; b=_x:13,_y:11; b=_x:13,_y:10; b=_x:13,_y:9; b=_x:13,_y:8; b=_x:13,_y:7; b=_x:13,_y:6; b=_x:13,_y:5; b=_x:13,_y:4; b=_x:13,_y:3; b=_x:17,_y:3; b=_x:17,_y:4; b=_x:17,_y:5; b=_x:17,_y:6; b=_x:17,_y:7; b=_x:17,_y:8; b=_x:17,_y:9; b=_x:17,_y:10; b=_x:17,_y:11; b=_x:17,_y:12; b=_x:17,_y:13; b=_x:17,_y:14; b=_x:17,_y:15; b=_x:20,_y:15; b=_x:20,_y:14; b=_x:20,_y:12; b=_x:20,_y:13; b=_x:20,_y:11; b=_x:20,_y:10; b=_x:20,_y:9; b=_x:20,_y:8; b=_x:20,_y:7; b=_x:20,_y:5; b=_x:20,_y:6; b=_x:20,_y:4; b=_x:20,_y:3; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:9; t=_x:18,_y:5; j=_x:10,_y:15; j=_x:5,_y:11; i=_x:9,_y:7; g=_x:13,_y:7; d=_x:18,_y:12; b=_x:8,_y:11; b=_x:8,_y:10; b=_x:8,_y:9; b=_x:8,_y:8; b=_x:8,_y:7; b=_x:8,_y:6; b=_x:9,_y:6; b=_x:10,_y:6; b=_x:12,_y:6; b=_x:13,_y:6; b=_x:14,_y:6; b=_x:14,_y:7; b=_x:14,_y:8; b=_x:14,_y:9; b=_x:14,_y:10; b=_x:14,_y:11; b=_x:12,_y:11; b=_x:9,_y:11; b=_x:10,_y:11; b=_x:11,_y:11; b=_x:13,_y:11; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:11; t=_x:10,_y:9; o=_x:15,_y:7,rrotate:90,openWhen:1; o=_x:4,_y:13,rrotate:0,openWhen:2; o=_x:5,_y:4,rrotate:0,openWhen:3; m=_x:3,_y:4; m=_x:9,_y:7; m=_x:17,_y:3; m=_x:3,_y:15; d=_x:21,_y:15; b=_x:2,_y:7; b=_x:3,_y:7; b=_x:4,_y:7; b=_x:5,_y:6; b=_x:5,_y:5; b=_x:5,_y:3; b=_x:12,_y:3; b=_x:12,_y:6; b=_x:12,_y:4; b=_x:12,_y:5; b=_x:14,_y:7; b=_x:13,_y:7; b=_x:16,_y:7; b=_x:18,_y:7; b=_x:17,_y:7; b=_x:19,_y:6; b=_x:20,_y:5; b=_x:20,_y:4; b=_x:20,_y:3; b=_x:2,_y:12; b=_x:3,_y:12; b=_x:4,_y:12; b=_x:4,_y:14; b=_x:4,_y:15; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:4; x=_x:17,_y:7,xdestination:7,ydestination:12; w=_x:8,_y:5,xdestination:16,ydestination:9; w=_x:17,_y:12,xdestination:8,ydestination:15; t=_x:4,_y:11; n=_x:21,_y:3; d=_x:21,_y:14; b=_x:12,_y:3; b=_x:12,_y:4; b=_x:12,_y:5; b=_x:12,_y:6; b=_x:12,_y:7; b=_x:12,_y:8; b=_x:12,_y:9; b=_x:12,_y:10; b=_x:12,_y:11; b=_x:12,_y:12; b=_x:12,_y:13; b=_x:12,_y:14; b=_x:12,_y:15; b=_x:18,_y:8; b=_x:19,_y:7; b=_x:17,_y:8; b=_x:16,_y:8; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; w=_x:15,_y:3,xdestination:17,ydestination:3; t=_x:4,_y:8; t=_x:11,_y:5; o=_x:9,_y:3,rrotate:0,openWhen:2; o=_x:14,_y:3,rrotate:0,openWhen:1; o=_x:21,_y:10,rrotate:90,openWhen:0; n=_x:10,_y:9; m=_x:7,_y:3; m=_x:15,_y:9; f=_x:18,_y:6; d=_x:4,_y:11; d=_x:7,_y:14; d=_x:3,_y:14; d=_x:6,_y:11; d=_x:6,_y:15; d=_x:4,_y:15; d=_x:5,_y:15; d=_x:4,_y:12; d=_x:6,_y:12; b=_x:9,_y:4; b=_x:9,_y:5; b=_x:9,_y:6; b=_x:9,_y:7; b=_x:9,_y:8; b=_x:9,_y:9; b=_x:9,_y:10; b=_x:8,_y:10; b=_x:6,_y:10; b=_x:7,_y:10; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:3,_y:10; b=_x:2,_y:10; b=_x:10,_y:10; b=_x:12,_y:10; b=_x:11,_y:10; b=_x:13,_y:10; b=_x:14,_y:10; b=_x:14,_y:9; b=_x:14,_y:8; b=_x:14,_y:7; b=_x:14,_y:6; b=_x:14,_y:5; b=_x:14,_y:4; b=_x:15,_y:10; b=_x:16,_y:10; b=_x:17,_y:10; b=_x:18,_y:10; b=_x:19,_y:10; b=_x:20,_y:10; b=_x:22,_y:10; b=_x:15,_y:4; b=_x:16,_y:4; b=_x:16,_y:3; _root=health:5,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:21,_y:15; j=_x:22,_y:3; h=_x:2,_y:15; d=_x:22,_y:15; _root=health:1,backgroundd:10,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; u=_x:22,_y:9,ccolor:green,rrotate:90; u=_x:16,_y:9,ccolor:green,rrotate:90; m=_x:2,_y:12; l=_x:3,_y:15; l=_x:22,_y:13; l=_x:16,_y:4; k=_x:2,_y:7,ccolor:green; g=_x:21,_y:7; g=_x:18,_y:5; g=_x:19,_y:4; f=_x:8,_y:3; f=_x:10,_y:3; f=_x:12,_y:3; f=_x:13,_y:3; f=_x:14,_y:3; d=_x:21,_y:15; b=_x:2,_y:4; b=_x:3,_y:4; b=_x:4,_y:4; b=_x:5,_y:4; b=_x:6,_y:4; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:7,_y:7; b=_x:6,_y:7; b=_x:5,_y:7; b=_x:4,_y:6; b=_x:2,_y:5; b=_x:3,_y:7; b=_x:4,_y:7; b=_x:5,_y:9; b=_x:4,_y:9; b=_x:2,_y:10; b=_x:3,_y:11; b=_x:2,_y:11; b=_x:3,_y:12; b=_x:4,_y:11; b=_x:6,_y:10; b=_x:6,_y:9; b=_x:6,_y:11; b=_x:6,_y:13; b=_x:4,_y:13; b=_x:3,_y:13; b=_x:8,_y:5; b=_x:9,_y:5; b=_x:8,_y:7; b=_x:7,_y:10; b=_x:8,_y:10; b=_x:10,_y:10; b=_x:9,_y:10; b=_x:12,_y:15; b=_x:12,_y:14; b=_x:12,_y:13; b=_x:12,_y:12; b=_x:12,_y:11; b=_x:12,_y:10; b=_x:12,_y:9; b=_x:13,_y:9; b=_x:14,_y:9; b=_x:17,_y:9; b=_x:19,_y:9; b=_x:20,_y:9; b=_x:21,_y:9; b=_x:22,_y:6; b=_x:18,_y:9; b=_x:15,_y:9; b=_x:9,_y:7; b=_x:9,_y:8; b=_x:11,_y:7; b=_x:13,_y:7; b=_x:15,_y:6; b=_x:16,_y:5; b=_x:12,_y:4; b=_x:13,_y:6; b=_x:17,_y:6; b=_x:17,_y:4; b=_x:19,_y:8; b=_x:16,_y:3; b=_x:13,_y:8; b=_x:10,_y:14; b=_x:9,_y:14; b=_x:8,_y:14; b=_x:7,_y:13; b=_x:5,_y:14; b=_x:4,_y:14; b=_x:3,_y:10; _root=health:2,backgroundd:7,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; bar2=_x:1,_y:1; bar2=_x:1,_y:1; bar1=_x:0,_y:1; bar1=_x:0,_y:1; z=_x:22,_y:15; t=_x:21,_y:15; t=_x:22,_y:14; t=_x:21,_y:14; n=_x:3,_y:14; n=_x:16,_y:3; n=_x:3,_y:8; g=_x:6,_y:8; g=_x:12,_y:12; d=_x:9,_y:11; b=_x:3,_y:15; b=_x:18,_y:3; b=_x:18,_y:4; b=_x:18,_y:5; b=_x:10,_y:8; b=_x:10,_y:7; b=_x:10,_y:6; b=_x:10,_y:5; b=_x:11,_y:5; b=_x:12,_y:5; b=_x:13,_y:5; b=_x:14,_y:5; b=_x:16,_y:7; b=_x:15,_y:7; b=_x:14,_y:7; b=_x:12,_y:7; b=_x:12,_y:8; b=_x:12,_y:9; b=_x:11,_y:12; b=_x:12,_y:11; b=_x:13,_y:11; b=_x:13,_y:12; b=_x:13,_y:13; b=_x:13,_y:15; b=_x:13,_y:14; b=_x:19,_y:8; b=_x:19,_y:7; b=_x:18,_y:7; b=_x:20,_y:7; b=_x:21,_y:7; b=_x:15,_y:13; b=_x:15,_y:12; b=_x:15,_y:11; b=_x:15,_y:10; b=_x:15,_y:9; b=_x:16,_y:9; b=_x:17,_y:9; b=_x:18,_y:13; b=_x:17,_y:14; b=_x:17,_y:13; b=_x:20,_y:11; b=_x:19,_y:11; b=_x:19,_y:10; b=_x:20,_y:10; b=_x:22,_y:13; b=_x:22,_y:12; b=_x:22,_y:11; b=_x:20,_y:13; b=_x:20,_y:14; b=_x:19,_y:15; b=_x:2,_y:9; b=_x:3,_y:9; b=_x:4,_y:9; b=_x:2,_y:7; b=_x:3,_y:7; b=_x:4,_y:7; b=_x:4,_y:15; b=_x:2,_y:13; b=_x:2,_y:15; b=_x:2,_y:14; b=_x:2,_y:8; b=_x:5,_y:9; b=_x:5,_y:7; b=_x:4,_y:14; b=_x:4,_y:13; b=_x:2,_y:12; b=_x:2,_y:11; b=_x:3,_y:11; b=_x:4,_y:11; b=_x:5,_y:11; b=_x:6,_y:11; b=_x:6,_y:12; b=_x:6,_y:13; b=_x:6,_y:14; b=_x:8,_y:15; b=_x:8,_y:14; b=_x:8,_y:13; b=_x:6,_y:9; b=_x:7,_y:9; b=_x:7,_y:8; b=_x:7,_y:7; b=_x:7,_y:6; b=_x:7,_y:5; b=_x:6,_y:5; b=_x:5,_y:5; b=_x:4,_y:5; b=_x:3,_y:5; b=_x:3,_y:3; b=_x:5,_y:4; b=_x:7,_y:3; _root=health:1,backgroundd:4>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:10; t=_x:5,_y:6; m=_x:9,_y:8; m=_x:17,_y:6; m=_x:17,_y:14; m=_x:9,_y:12; d=_x:21,_y:11; b=_x:11,_y:3; b=_x:10,_y:4; b=_x:9,_y:5; b=_x:8,_y:6; b=_x:7,_y:7; b=_x:6,_y:8; b=_x:5,_y:9; b=_x:4,_y:9; b=_x:4,_y:10; _root=health:2,backgroundd:5,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:9,_y:5; t=_x:11,_y:8; j=_x:5,_y:12; h=_x:12,_y:5; d=_x:20,_y:13; b=_x:9,_y:6; b=_x:9,_y:11; b=_x:11,_y:9; b=_x:8,_y:9; b=_x:9,_y:9; b=_x:11,_y:10; b=_x:11,_y:11; b=_x:11,_y:12; b=_x:8,_y:11; b=_x:10,_y:13; b=_x:10,_y:14; b=_x:9,_y:15; b=_x:6,_y:13; b=_x:5,_y:13; b=_x:7,_y:8; b=_x:7,_y:9; b=_x:7,_y:10; b=_x:7,_y:11; b=_x:7,_y:12; b=_x:7,_y:13; b=_x:7,_y:15; b=_x:2,_y:14; b=_x:3,_y:10; b=_x:2,_y:7; b=_x:4,_y:6; b=_x:4,_y:5; b=_x:4,_y:4; b=_x:5,_y:4; b=_x:6,_y:4; b=_x:7,_y:4; b=_x:8,_y:4; b=_x:11,_y:4; b=_x:17,_y:3; b=_x:17,_y:4; b=_x:17,_y:5; b=_x:17,_y:6; b=_x:16,_y:6; b=_x:13,_y:4; b=_x:14,_y:4; b=_x:15,_y:4; b=_x:12,_y:4; b=_x:15,_y:6; b=_x:14,_y:6; b=_x:13,_y:6; b=_x:12,_y:6; b=_x:11,_y:6; b=_x:10,_y:4; b=_x:9,_y:4; b=_x:9,_y:7; b=_x:10,_y:6; b=_x:4,_y:14; b=_x:4,_y:13; b=_x:4,_y:12; b=_x:4,_y:11; b=_x:4,_y:10; b=_x:4,_y:9; b=_x:4,_y:8; b=_x:8,_y:7; b=_x:7,_y:7; b=_x:4,_y:7; _root=health:3,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:8; t=_x:20,_y:12; t=_x:4,_y:3; l=_x:19,_y:8; l=_x:6,_y:8; d=_x:11,_y:13; b=_x:2,_y:6; b=_x:3,_y:6; b=_x:4,_y:6; b=_x:6,_y:4; b=_x:6,_y:5; b=_x:5,_y:7; b=_x:5,_y:8; b=_x:7,_y:7; b=_x:6,_y:12; b=_x:8,_y:13; b=_x:9,_y:13; b=_x:5,_y:11; b=_x:5,_y:12; b=_x:7,_y:13; b=_x:10,_y:13; b=_x:9,_y:10; b=_x:11,_y:12; b=_x:15,_y:12; b=_x:15,_y:11; b=_x:16,_y:10; b=_x:16,_y:8; b=_x:16,_y:7; b=_x:16,_y:5; b=_x:15,_y:5; b=_x:16,_y:4; b=_x:9,_y:4; b=_x:9,_y:5; b=_x:9,_y:6; b=_x:9,_y:7; b=_x:9,_y:8; b=_x:9,_y:9; b=_x:11,_y:8; b=_x:11,_y:9; b=_x:11,_y:10; b=_x:13,_y:11; b=_x:13,_y:10; b=_x:13,_y:7; b=_x:13,_y:8; b=_x:11,_y:6; b=_x:13,_y:5; b=_x:11,_y:5; b=_x:11,_y:4; b=_x:13,_y:4; b=_x:7,_y:3; b=_x:7,_y:5; b=_x:8,_y:9; b=_x:6,_y:10; b=_x:14,_y:8; _root=health:5,backgroundd:10,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:5,_y:4; t=_x:21,_y:13; n=_x:2,_y:4; d=_x:8,_y:4; b=_x:3,_y:6; b=_x:4,_y:6; b=_x:7,_y:6; b=_x:8,_y:5; b=_x:2,_y:7; b=_x:6,_y:8; b=_x:5,_y:7; b=_x:7,_y:9; b=_x:9,_y:8; b=_x:9,_y:7; b=_x:10,_y:10; b=_x:8,_y:11; b=_x:5,_y:11; b=_x:11,_y:11; b=_x:10,_y:13; b=_x:4,_y:13; b=_x:12,_y:7; b=_x:12,_y:8; b=_x:13,_y:9; b=_x:14,_y:11; b=_x:13,_y:12; b=_x:13,_y:13; b=_x:12,_y:13; b=_x:11,_y:15; b=_x:9,_y:15; b=_x:7,_y:14; b=_x:6,_y:13; b=_x:6,_y:9; b=_x:4,_y:9; b=_x:3,_y:9; b=_x:3,_y:11; b=_x:3,_y:12; b=_x:3,_y:14; b=_x:3,_y:15; b=_x:15,_y:15; b=_x:17,_y:14; b=_x:18,_y:11; b=_x:17,_y:11; b=_x:17,_y:12; b=_x:16,_y:12; b=_x:15,_y:13; b=_x:15,_y:9; b=_x:15,_y:8; b=_x:15,_y:7; b=_x:14,_y:7; b=_x:13,_y:5; b=_x:12,_y:5; b=_x:11,_y:5; b=_x:10,_y:5; b=_x:7,_y:4; b=_x:9,_y:3; b=_x:11,_y:4; b=_x:13,_y:3; b=_x:15,_y:5; b=_x:15,_y:3; b=_x:17,_y:5; b=_x:17,_y:4; b=_x:17,_y:3; b=_x:17,_y:7; b=_x:16,_y:9; b=_x:18,_y:9; b=_x:19,_y:7; b=_x:19,_y:4; b=_x:20,_y:4; b=_x:20,_y:6; b=_x:20,_y:9; b=_x:21,_y:10; b=_x:21,_y:11; b=_x:20,_y:14; b=_x:19,_y:15; b=_x:19,_y:13; _root=health:4,backgroundd:17,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:3,_y:9; u=_x:18,_y:13,ccolor:blue,rrotate:0; u=_x:19,_y:3,ccolor:yellow,rrotate:0; u=_x:8,_y:13,ccolor:red,rrotate:90; t=_x:7,_y:4; t=_x:7,_y:5; n=_x:21,_y:14; k=_x:21,_y:5,ccolor:blue; k=_x:11,_y:14,ccolor:yellow; k=_x:9,_y:10,ccolor:red; d=_x:11,_y:6; b=_x:19,_y:11; b=_x:12,_y:9; b=_x:12,_y:10; b=_x:12,_y:11; b=_x:9,_y:11; b=_x:10,_y:11; b=_x:11,_y:9; b=_x:10,_y:9; b=_x:9,_y:9; b=_x:8,_y:9; b=_x:8,_y:10; b=_x:8,_y:11; b=_x:3,_y:8; b=_x:4,_y:8; b=_x:5,_y:9; b=_x:5,_y:10; b=_x:5,_y:11; b=_x:4,_y:12; b=_x:3,_y:12; b=_x:7,_y:15; b=_x:7,_y:14; b=_x:7,_y:13; b=_x:9,_y:13; b=_x:10,_y:13; b=_x:11,_y:13; b=_x:12,_y:14; b=_x:12,_y:13; b=_x:12,_y:15; b=_x:19,_y:4; b=_x:19,_y:5; b=_x:19,_y:6; b=_x:22,_y:8; b=_x:21,_y:8; b=_x:20,_y:8; b=_x:19,_y:8; b=_x:19,_y:7; b=_x:22,_y:11; b=_x:21,_y:11; b=_x:20,_y:11; b=_x:18,_y:11; b=_x:18,_y:12; b=_x:18,_y:14; b=_x:18,_y:15; b=_x:15,_y:13; b=_x:15,_y:12; b=_x:15,_y:10; b=_x:15,_y:9; b=_x:15,_y:8; b=_x:15,_y:7; b=_x:15,_y:6; b=_x:15,_y:5; b=_x:15,_y:3; b=_x:12,_y:3; b=_x:12,_y:5; b=_x:12,_y:6; b=_x:12,_y:7; b=_x:11,_y:7; b=_x:10,_y:7; b=_x:9,_y:7; b=_x:8,_y:7; b=_x:7,_y:7; b=_x:6,_y:3; b=_x:6,_y:5; b=_x:6,_y:4; b=_x:6,_y:6; b=_x:6,_y:7; _root=health:4,backgroundd:15,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:4,_y:8; u=_x:6,_y:5,ccolor:green,rrotate:0; u=_x:15,_y:9,ccolor:red,rrotate:0; u=_x:15,_y:7,ccolor:yellow,rrotate:0; u=_x:7,_y:12,ccolor:blue,rrotate:0; u=_x:6,_y:12,ccolor:blue,rrotate:0; t=_x:4,_y:13; r=_x:17,_y:12; m=_x:3,_y:4; k=_x:8,_y:3,ccolor:blue; k=_x:7,_y:3,ccolor:blue; k=_x:13,_y:8,ccolor:green; k=_x:12,_y:8,ccolor:yellow; k=_x:11,_y:8,ccolor:red; f=_x:17,_y:13; d=_x:2,_y:15; b=_x:15,_y:8; b=_x:5,_y:7; b=_x:4,_y:7; b=_x:3,_y:7; b=_x:2,_y:7; b=_x:7,_y:15; b=_x:7,_y:14; b=_x:7,_y:13; b=_x:7,_y:11; b=_x:7,_y:10; b=_x:6,_y:10; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:3,_y:10; b=_x:2,_y:10; b=_x:2,_y:11; b=_x:3,_y:11; b=_x:5,_y:11; b=_x:6,_y:11; b=_x:6,_y:13; b=_x:6,_y:14; b=_x:6,_y:15; b=_x:11,_y:15; b=_x:11,_y:14; b=_x:12,_y:13; b=_x:22,_y:8; b=_x:21,_y:8; b=_x:20,_y:8; b=_x:19,_y:8; b=_x:18,_y:8; b=_x:17,_y:8; b=_x:16,_y:8; b=_x:13,_y:12; b=_x:14,_y:11; b=_x:15,_y:10; b=_x:15,_y:6; b=_x:14,_y:5; b=_x:13,_y:6; b=_x:12,_y:7; b=_x:11,_y:7; b=_x:9,_y:4; b=_x:9,_y:3; b=_x:10,_y:7; b=_x:9,_y:7; b=_x:8,_y:7; b=_x:7,_y:7; b=_x:6,_y:7; b=_x:6,_y:6; b=_x:6,_y:4; b=_x:6,_y:3; b=_x:4,_y:11; _root=health:3,backgroundd:4,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:4,_y:4; y=_x:8,_y:3,xdestination:13,ydestination:11; w=_x:6,_y:7,xdestination:9,ydestination:7; t=_x:17,_y:15; t=_x:5,_y:14; t=_x:20,_y:10; r=_x:3,_y:6; m=_x:15,_y:6; l=_x:15,_y:4; j=_x:17,_y:4; i=_x:2,_y:9; f=_x:2,_y:10; d=_x:22,_y:15; b=_x:20,_y:14; b=_x:22,_y:14; b=_x:21,_y:14; b=_x:21,_y:12; b=_x:20,_y:12; b=_x:18,_y:15; b=_x:19,_y:12; b=_x:18,_y:12; b=_x:18,_y:14; b=_x:18,_y:13; b=_x:9,_y:6; b=_x:10,_y:6; b=_x:10,_y:7; b=_x:12,_y:6; b=_x:12,_y:7; b=_x:12,_y:8; b=_x:15,_y:10; b=_x:14,_y:10; b=_x:13,_y:10; b=_x:15,_y:14; b=_x:15,_y:13; b=_x:15,_y:12; b=_x:13,_y:13; b=_x:13,_y:14; b=_x:12,_y:14; b=_x:11,_y:14; b=_x:10,_y:14; b=_x:9,_y:14; b=_x:6,_y:13; b=_x:5,_y:13; b=_x:4,_y:13; b=_x:4,_y:14; b=_x:4,_y:15; b=_x:10,_y:8; b=_x:7,_y:3; b=_x:7,_y:4; b=_x:6,_y:8; b=_x:5,_y:8; b=_x:4,_y:8; b=_x:3,_y:8; b=_x:2,_y:8; b=_x:11,_y:12; b=_x:11,_y:11; b=_x:10,_y:9; b=_x:9,_y:9; b=_x:9,_y:10; b=_x:9,_y:11; b=_x:9,_y:12; b=_x:7,_y:11; b=_x:7,_y:10; b=_x:7,_y:9; b=_x:7,_y:8; b=_x:7,_y:7; b=_x:7,_y:6; b=_x:7,_y:5; _root=health:3,backgroundd:2,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:3; t=_x:4,_y:8; j=_x:2,_y:15; j=_x:22,_y:15; j=_x:22,_y:3; j=_x:2,_y:3; d=_x:6,_y:3; b=_x:17,_y:13; b=_x:14,_y:14; b=_x:17,_y:11; b=_x:19,_y:10; b=_x:10,_y:13; b=_x:13,_y:11; b=_x:16,_y:8; b=_x:17,_y:6; b=_x:11,_y:5; b=_x:10,_y:6; b=_x:11,_y:8; b=_x:5,_y:9; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:3,_y:10; b=_x:3,_y:9; b=_x:3,_y:8; b=_x:3,_y:7; b=_x:4,_y:7; b=_x:5,_y:7; b=_x:5,_y:6; b=_x:5,_y:5; b=_x:6,_y:5; b=_x:7,_y:5; b=_x:7,_y:4; b=_x:7,_y:3; _root=health:3,backgroundd:19,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:4,_y:15; l=_x:22,_y:3; d=_x:5,_y:15; b=_x:6,_y:3; b=_x:6,_y:4; b=_x:6,_y:5; b=_x:4,_y:4; b=_x:3,_y:4; b=_x:2,_y:4; b=_x:6,_y:6; b=_x:5,_y:6; b=_x:4,_y:6; b=_x:3,_y:6; b=_x:3,_y:8; b=_x:2,_y:8; b=_x:4,_y:8; b=_x:6,_y:8; b=_x:6,_y:7; b=_x:6,_y:9; b=_x:6,_y:10; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:3,_y:10; b=_x:2,_y:12; b=_x:3,_y:12; b=_x:4,_y:12; b=_x:6,_y:12; b=_x:6,_y:11; b=_x:6,_y:13; b=_x:6,_y:14; b=_x:5,_y:14; b=_x:4,_y:14; b=_x:3,_y:14; b=_x:6,_y:15; _root=health:1,backgroundd:18,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; w=_x:4,_y:4,xdestination:3,ydestination:4; w=_x:4,_y:3,xdestination:3,ydestination:3; t=_x:2,_y:4; t=_x:22,_y:6; q=_x:22,_y:3; o=_x:3,_y:5,rrotate:90,openWhen:1; o=_x:2,_y:7,rrotate:90,openWhen:0; o=_x:3,_y:8,rrotate:0,openWhen:0; o=_x:2,_y:9,rrotate:90,openWhen:0; j=_x:2,_y:10; h=_x:5,_y:6; d=_x:2,_y:8; b=_x:22,_y:5; b=_x:21,_y:5; b=_x:20,_y:5; b=_x:19,_y:5; b=_x:18,_y:5; b=_x:17,_y:5; b=_x:15,_y:5; b=_x:14,_y:5; b=_x:16,_y:5; b=_x:13,_y:5; b=_x:12,_y:5; b=_x:11,_y:5; b=_x:10,_y:5; b=_x:9,_y:5; b=_x:8,_y:5; b=_x:6,_y:5; b=_x:7,_y:5; b=_x:5,_y:5; b=_x:4,_y:5; b=_x:2,_y:5; b=_x:3,_y:7; b=_x:3,_y:9; _root=health:1,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; u=_x:6,_y:9,ccolor:red,rrotate:90; u=_x:6,_y:10,ccolor:red,rrotate:90; u=_x:6,_y:11,ccolor:red,rrotate:90; u=_x:6,_y:12,ccolor:red,rrotate:90; u=_x:6,_y:13,ccolor:red,rrotate:90; u=_x:6,_y:14,ccolor:red,rrotate:90; t=_x:2,_y:7; t=_x:18,_y:11; t=_x:21,_y:11; q=_x:8,_y:11; o=_x:11,_y:7,rrotate:0,openWhen:0; k=_x:10,_y:3,ccolor:red; k=_x:4,_y:3,ccolor:red; k=_x:5,_y:7,ccolor:red; k=_x:8,_y:6,ccolor:red; k=_x:7,_y:4,ccolor:red; k=_x:3,_y:5,ccolor:red; j=_x:6,_y:3; j=_x:4,_y:11; h=_x:2,_y:6; h=_x:4,_y:13; f=_x:2,_y:13; f=_x:3,_y:13; d=_x:12,_y:3; b=_x:3,_y:12; b=_x:2,_y:9; b=_x:3,_y:9; b=_x:7,_y:9; b=_x:8,_y:9; b=_x:9,_y:9; b=_x:10,_y:9; b=_x:11,_y:8; b=_x:11,_y:6; b=_x:11,_y:5; b=_x:11,_y:4; b=_x:11,_y:3; b=_x:5,_y:3; b=_x:11,_y:9; b=_x:5,_y:9; b=_x:4,_y:9; b=_x:7,_y:10; b=_x:7,_y:11; b=_x:7,_y:12; b=_x:7,_y:13; b=_x:7,_y:14; b=_x:5,_y:14; b=_x:5,_y:13; b=_x:5,_y:12; b=_x:5,_y:11; b=_x:5,_y:10; b=_x:4,_y:12; b=_x:3,_y:14; b=_x:3,_y:15; b=_x:8,_y:12; b=_x:9,_y:12; b=_x:10,_y:12; b=_x:11,_y:12; b=_x:12,_y:9; b=_x:13,_y:9; b=_x:13,_y:11; b=_x:13,_y:12; b=_x:13,_y:13; b=_x:13,_y:14; b=_x:13,_y:15; b=_x:12,_y:6; b=_x:13,_y:6; b=_x:14,_y:6; b=_x:16,_y:6; b=_x:15,_y:6; b=_x:17,_y:6; b=_x:18,_y:6; b=_x:20,_y:6; b=_x:19,_y:6; b=_x:21,_y:6; b=_x:13,_y:10; b=_x:14,_y:10; b=_x:15,_y:10; b=_x:16,_y:10; b=_x:17,_y:10; b=_x:19,_y:10; b=_x:21,_y:10; b=_x:19,_y:11; b=_x:19,_y:12; b=_x:19,_y:13; b=_x:19,_y:14; b=_x:19,_y:15; b=_x:5,_y:4; _root=health:2,backgroundd:7,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:4; t=_x:15,_y:9; l=_x:15,_y:15; l=_x:6,_y:15; l=_x:3,_y:4; d=_x:3,_y:13; b=_x:16,_y:15; b=_x:15,_y:14; b=_x:14,_y:14; b=_x:13,_y:15; b=_x:13,_y:14; b=_x:12,_y:14; b=_x:11,_y:14; b=_x:11,_y:15; b=_x:7,_y:15; b=_x:7,_y:14; b=_x:6,_y:14; b=_x:5,_y:14; b=_x:5,_y:15; b=_x:13,_y:5; b=_x:13,_y:4; b=_x:15,_y:3; b=_x:15,_y:4; b=_x:13,_y:6; b=_x:14,_y:6; b=_x:15,_y:6; b=_x:16,_y:6; b=_x:17,_y:4; b=_x:19,_y:4; b=_x:19,_y:5; b=_x:18,_y:4; b=_x:20,_y:7; b=_x:17,_y:5; b=_x:21,_y:7; b=_x:18,_y:7; b=_x:19,_y:7; b=_x:18,_y:8; b=_x:22,_y:7; b=_x:20,_y:4; b=_x:21,_y:4; b=_x:2,_y:6; b=_x:4,_y:6; b=_x:3,_y:6; b=_x:5,_y:6; b=_x:6,_y:6; b=_x:9,_y:6; b=_x:11,_y:6; b=_x:12,_y:6; b=_x:10,_y:6; b=_x:8,_y:6; b=_x:7,_y:6; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; u=_x:7,_y:7,ccolor:yellow,rrotate:0; u=_x:13,_y:7,ccolor:blue,rrotate:0; u=_x:6,_y:8,ccolor:yellow,rrotate:90; u=_x:5,_y:9,ccolor:yellow,rrotate:0; t=_x:3,_y:4; q=_x:12,_y:9; o=_x:6,_y:5,rrotate:90,openWhen:2; o=_x:12,_y:8,rrotate:90,openWhen:1; o=_x:11,_y:9,rrotate:0,openWhen:1; o=_x:9,_y:10,rrotate:90,openWhen:0; n=_x:8,_y:7; m=_x:4,_y:7; m=_x:4,_y:6; m=_x:4,_y:8; m=_x:3,_y:8; m=_x:2,_y:8; k=_x:9,_y:11,ccolor:blue; k=_x:2,_y:7,ccolor:yellow; k=_x:6,_y:9,ccolor:blue; j=_x:6,_y:4; d=_x:21,_y:15; d=_x:21,_y:14; d=_x:22,_y:12; d=_x:21,_y:13; d=_x:20,_y:12; d=_x:17,_y:14; d=_x:19,_y:15; d=_x:18,_y:14; d=_x:18,_y:13; d=_x:18,_y:12; d=_x:17,_y:12; d=_x:16,_y:12; d=_x:16,_y:13; d=_x:16,_y:14; d=_x:15,_y:15; d=_x:13,_y:15; d=_x:13,_y:14; d=_x:14,_y:12; d=_x:13,_y:13; d=_x:12,_y:12; d=_x:21,_y:8; d=_x:21,_y:6; d=_x:21,_y:5; d=_x:21,_y:4; d=_x:21,_y:3; d=_x:19,_y:8; d=_x:19,_y:6; d=_x:19,_y:5; d=_x:19,_y:4; d=_x:19,_y:3; d=_x:17,_y:8; d=_x:17,_y:6; d=_x:17,_y:5; d=_x:17,_y:4; d=_x:17,_y:3; d=_x:15,_y:8; d=_x:15,_y:6; d=_x:15,_y:5; d=_x:15,_y:4; d=_x:15,_y:3; b=_x:10,_y:11; b=_x:10,_y:12; b=_x:9,_y:12; b=_x:8,_y:12; b=_x:8,_y:11; b=_x:11,_y:8; b=_x:5,_y:4; b=_x:6,_y:3; b=_x:5,_y:3; b=_x:5,_y:5; b=_x:5,_y:8; b=_x:8,_y:10; b=_x:10,_y:10; b=_x:11,_y:10; b=_x:12,_y:10; b=_x:13,_y:10; b=_x:13,_y:9; b=_x:13,_y:8; b=_x:13,_y:6; b=_x:13,_y:5; b=_x:13,_y:4; b=_x:13,_y:3; b=_x:7,_y:3; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:7,_y:6; b=_x:2,_y:10; b=_x:3,_y:10; b=_x:4,_y:10; b=_x:5,_y:10; b=_x:6,_y:10; b=_x:7,_y:10; b=_x:7,_y:9; b=_x:7,_y:8; _root=health:1,backgroundd:2,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:10; t=_x:14,_y:4; n=_x:5,_y:14; n=_x:17,_y:14; n=_x:3,_y:9; d=_x:15,_y:6; b=_x:5,_y:10; b=_x:5,_y:9; b=_x:5,_y:11; b=_x:11,_y:6; b=_x:13,_y:6; b=_x:13,_y:5; b=_x:13,_y:4; b=_x:11,_y:4; b=_x:9,_y:5; b=_x:9,_y:6; b=_x:9,_y:4; b=_x:10,_y:8; b=_x:11,_y:10; b=_x:12,_y:8; b=_x:10,_y:10; b=_x:13,_y:9; b=_x:8,_y:8; b=_x:13,_y:11; b=_x:11,_y:12; b=_x:14,_y:7; b=_x:16,_y:6; b=_x:11,_y:7; b=_x:7,_y:5; b=_x:6,_y:8; b=_x:7,_y:11; b=_x:4,_y:5; b=_x:6,_y:3; b=_x:6,_y:7; b=_x:4,_y:8; b=_x:3,_y:6; b=_x:2,_y:7; b=_x:5,_y:6; b=_x:5,_y:13; b=_x:9,_y:12; b=_x:12,_y:14; b=_x:8,_y:6; b=_x:7,_y:4; b=_x:5,_y:3; b=_x:10,_y:3; b=_x:14,_y:3; b=_x:16,_y:9; b=_x:14,_y:12; b=_x:15,_y:15; b=_x:15,_y:14; b=_x:17,_y:12; b=_x:17,_y:13; b=_x:19,_y:15; b=_x:19,_y:14; b=_x:21,_y:13; b=_x:21,_y:14; b=_x:19,_y:12; b=_x:20,_y:10; b=_x:18,_y:10; b=_x:17,_y:10; b=_x:17,_y:8; b=_x:19,_y:8; b=_x:20,_y:8; b=_x:18,_y:7; b=_x:16,_y:10; b=_x:15,_y:7; b=_x:17,_y:5; b=_x:18,_y:5; b=_x:19,_y:6; b=_x:21,_y:8; b=_x:22,_y:6; b=_x:20,_y:5; b=_x:22,_y:4; b=_x:18,_y:3; b=_x:20,_y:4; b=_x:16,_y:4; _root=health:2,backgroundd:1,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:3; w=_x:4,_y:12,xdestination:17,ydestination:5; w=_x:22,_y:3,xdestination:3,ydestination:15; w=_x:7,_y:6,xdestination:2,ydestination:12; w=_x:7,_y:4,xdestination:17,ydestination:3; w=_x:12,_y:6,xdestination:2,ydestination:3; w=_x:22,_y:5,xdestination:9,ydestination:5; u=_x:14,_y:15,ccolor:red,rrotate:0; u=_x:14,_y:14,ccolor:blue,rrotate:0; u=_x:14,_y:13,ccolor:green,rrotate:0; u=_x:14,_y:12,ccolor:yellow,rrotate:0; u=_x:14,_y:11,ccolor:red,rrotate:0; u=_x:14,_y:10,ccolor:blue,rrotate:0; u=_x:14,_y:9,ccolor:green,rrotate:0; u=_x:14,_y:7,ccolor:yellow,rrotate:0; t=_x:12,_y:7; r=_x:6,_y:13; q=_x:3,_y:14; q=_x:5,_y:3; o=_x:5,_y:13,rrotate:0,openWhen:0; j=_x:12,_y:5; i=_x:4,_y:4; h=_x:15,_y:3; f=_x:20,_y:3; d=_x:20,_y:14; d=_x:20,_y:12; d=_x:20,_y:11; d=_x:21,_y:10; d=_x:20,_y:10; d=_x:22,_y:9; d=_x:22,_y:8; d=_x:21,_y:7; d=_x:20,_y:7; d=_x:19,_y:8; b=_x:15,_y:15; b=_x:15,_y:13; b=_x:15,_y:14; b=_x:15,_y:12; b=_x:15,_y:11; b=_x:15,_y:10; b=_x:16,_y:10; b=_x:17,_y:9; b=_x:17,_y:8; b=_x:16,_y:7; b=_x:15,_y:7; b=_x:14,_y:8; b=_x:22,_y:6; b=_x:21,_y:6; b=_x:20,_y:6; b=_x:19,_y:6; b=_x:18,_y:6; b=_x:17,_y:6; b=_x:5,_y:15; b=_x:5,_y:14; b=_x:5,_y:12; b=_x:5,_y:11; b=_x:4,_y:11; b=_x:3,_y:11; b=_x:2,_y:11; b=_x:4,_y:3; b=_x:5,_y:6; b=_x:6,_y:6; b=_x:4,_y:6; b=_x:3,_y:6; b=_x:2,_y:6; b=_x:16,_y:3; b=_x:16,_y:4; b=_x:16,_y:5; b=_x:16,_y:6; b=_x:15,_y:6; b=_x:14,_y:6; b=_x:13,_y:6; b=_x:11,_y:6; b=_x:10,_y:6; b=_x:9,_y:6; b=_x:8,_y:6; b=_x:8,_y:5; b=_x:8,_y:4; b=_x:8,_y:3; b=_x:14,_y:4; b=_x:13,_y:4; b=_x:12,_y:4; b=_x:11,_y:4; b=_x:10,_y:4; _root=health:3,backgroundd:5,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; y=_x:4,_y:5,xdestination:10,ydestination:5; x=_x:12,_y:6,xdestination:12,ydestination:12; w=_x:19,_y:6,xdestination:4,ydestination:6; u=_x:22,_y:14,ccolor:green,rrotate:90; u=_x:21,_y:15,ccolor:green,rrotate:0; u=_x:10,_y:7,ccolor:blue,rrotate:90; t=_x:11,_y:12; t=_x:5,_y:5; t=_x:22,_y:3; r=_x:9,_y:15; r=_x:9,_y:14; q=_x:4,_y:10; q=_x:10,_y:6; o=_x:5,_y:11,rrotate:90,openWhen:0; o=_x:20,_y:9,rrotate:90,openWhen:1; o=_x:22,_y:6,rrotate:90,openWhen:3; n=_x:8,_y:5; m=_x:8,_y:6; l=_x:5,_y:10; k=_x:20,_y:10,ccolor:blue; j=_x:2,_y:9; i=_x:20,_y:6; h=_x:4,_y:3; f=_x:11,_y:9; d=_x:22,_y:15; b=_x:22,_y:9; b=_x:22,_y:10; b=_x:22,_y:11; b=_x:13,_y:10; b=_x:13,_y:9; b=_x:13,_y:8; b=_x:14,_y:8; b=_x:14,_y:9; b=_x:14,_y:10; b=_x:15,_y:10; b=_x:15,_y:9; b=_x:15,_y:8; b=_x:16,_y:8; b=_x:16,_y:9; b=_x:16,_y:10; b=_x:17,_y:10; b=_x:17,_y:9; b=_x:17,_y:8; b=_x:18,_y:8; b=_x:18,_y:9; b=_x:18,_y:10; b=_x:18,_y:11; b=_x:17,_y:11; b=_x:16,_y:11; b=_x:15,_y:11; b=_x:14,_y:11; b=_x:3,_y:11; b=_x:2,_y:11; b=_x:21,_y:14; b=_x:20,_y:14; b=_x:20,_y:15; b=_x:19,_y:15; b=_x:19,_y:14; b=_x:18,_y:14; b=_x:18,_y:15; b=_x:17,_y:15; b=_x:17,_y:14; b=_x:16,_y:14; b=_x:16,_y:15; b=_x:15,_y:15; b=_x:15,_y:14; b=_x:14,_y:14; b=_x:14,_y:15; b=_x:10,_y:15; b=_x:11,_y:15; b=_x:12,_y:15; b=_x:13,_y:15; b=_x:13,_y:14; b=_x:12,_y:14; b=_x:11,_y:14; b=_x:10,_y:14; b=_x:12,_y:8; b=_x:12,_y:9; b=_x:12,_y:10; b=_x:9,_y:11; b=_x:8,_y:11; b=_x:7,_y:11; b=_x:6,_y:11; b=_x:4,_y:11; b=_x:10,_y:9; b=_x:9,_y:9; b=_x:8,_y:9; b=_x:7,_y:9; b=_x:6,_y:9; b=_x:5,_y:9; b=_x:4,_y:9; b=_x:19,_y:10; b=_x:19,_y:11; b=_x:21,_y:10; b=_x:21,_y:11; b=_x:20,_y:11; b=_x:22,_y:8; b=_x:21,_y:8; b=_x:19,_y:8; b=_x:19,_y:9; b=_x:21,_y:9; b=_x:19,_y:7; b=_x:18,_y:7; b=_x:16,_y:7; b=_x:17,_y:7; b=_x:15,_y:7; b=_x:14,_y:7; b=_x:13,_y:7; b=_x:12,_y:7; b=_x:11,_y:7; b=_x:9,_y:7; b=_x:11,_y:11; b=_x:10,_y:11; b=_x:10,_y:12; b=_x:10,_y:13; b=_x:11,_y:13; b=_x:12,_y:13; b=_x:13,_y:13; b=_x:13,_y:12; b=_x:13,_y:11; b=_x:12,_y:11; b=_x:9,_y:5; b=_x:9,_y:6; b=_x:7,_y:7; b=_x:6,_y:7; b=_x:5,_y:7; b=_x:4,_y:7; b=_x:21,_y:5; b=_x:21,_y:6; b=_x:21,_y:4; b=_x:20,_y:4; b=_x:19,_y:4; b=_x:18,_y:4; b=_x:17,_y:4; b=_x:15,_y:4; b=_x:16,_y:4; b=_x:14,_y:4; b=_x:13,_y:4; b=_x:12,_y:4; b=_x:11,_y:4; b=_x:10,_y:4; b=_x:9,_y:4; b=_x:8,_y:4; b=_x:7,_y:4; b=_x:6,_y:4; b=_x:5,_y:4; b=_x:4,_y:4; b=_x:3,_y:4; b=_x:3,_y:5; b=_x:3,_y:6; b=_x:3,_y:7; b=_x:3,_y:8; b=_x:3,_y:9; b=_x:3,_y:10; b=_x:2,_y:10; b=_x:8,_y:7; b=_x:14,_y:13; b=_x:14,_y:12; b=_x:15,_y:12; b=_x:15,_y:13; b=_x:16,_y:13; b=_x:16,_y:12; b=_x:17,_y:12; b=_x:18,_y:13; b=_x:17,_y:13; b=_x:18,_y:12; b=_x:19,_y:12; b=_x:19,_y:13; b=_x:20,_y:13; b=_x:20,_y:12; b=_x:21,_y:12; b=_x:21,_y:13; b=_x:22,_y:13; b=_x:22,_y:12; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:19,_y:9; t=_x:2,_y:9; q=_x:5,_y:9; d=_x:22,_y:9; b=_x:16,_y:9; b=_x:9,_y:8; b=_x:9,_y:9; b=_x:11,_y:8; b=_x:11,_y:9; b=_x:13,_y:8; b=_x:13,_y:9; b=_x:15,_y:8; b=_x:15,_y:9; b=_x:11,_y:7; b=_x:11,_y:11; b=_x:13,_y:7; b=_x:13,_y:11; b=_x:9,_y:10; b=_x:15,_y:10; b=_x:12,_y:9; b=_x:10,_y:9; b=_x:11,_y:10; b=_x:13,_y:10; b=_x:8,_y:9; b=_x:14,_y:9; b=_x:12,_y:15; b=_x:12,_y:14; b=_x:10,_y:15; b=_x:14,_y:15; b=_x:8,_y:15; b=_x:8,_y:14; b=_x:16,_y:15; b=_x:16,_y:14; b=_x:6,_y:15; b=_x:18,_y:15; b=_x:18,_y:3; b=_x:16,_y:3; b=_x:16,_y:4; b=_x:14,_y:3; b=_x:12,_y:3; b=_x:12,_y:4; b=_x:10,_y:3; b=_x:8,_y:3; b=_x:8,_y:4; b=_x:6,_y:3; _root=health:1,backgroundd:2,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:4,_y:9; t=_x:22,_y:9; q=_x:13,_y:5; q=_x:13,_y:14; q=_x:19,_y:9; h=_x:10,_y:9; d=_x:2,_y:9; _root=health:1,backgroundd:19,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:14,_y:3; w=_x:16,_y:3,xdestination:15,ydestination:3; t=_x:17,_y:3; t=_x:3,_y:15; o=_x:14,_y:4,rrotate:90,openWhen:1; o=_x:13,_y:3,rrotate:0,openWhen:1; n=_x:22,_y:3; n=_x:16,_y:5; d=_x:2,_y:15; b=_x:15,_y:4; b=_x:16,_y:4; b=_x:17,_y:4; b=_x:18,_y:4; b=_x:19,_y:4; b=_x:20,_y:4; b=_x:21,_y:4; b=_x:22,_y:4; b=_x:13,_y:4; b=_x:11,_y:4; b=_x:10,_y:4; b=_x:9,_y:4; b=_x:8,_y:4; b=_x:7,_y:4; b=_x:6,_y:4; b=_x:5,_y:4; b=_x:4,_y:4; b=_x:3,_y:4; b=_x:2,_y:6; b=_x:3,_y:6; b=_x:5,_y:5; b=_x:5,_y:6; b=_x:3,_y:7; b=_x:4,_y:8; b=_x:3,_y:8; b=_x:6,_y:8; b=_x:7,_y:8; b=_x:7,_y:7; b=_x:7,_y:5; b=_x:9,_y:6; b=_x:9,_y:7; b=_x:8,_y:9; b=_x:7,_y:9; b=_x:4,_y:9; b=_x:5,_y:10; b=_x:7,_y:10; b=_x:11,_y:6; b=_x:11,_y:8; b=_x:12,_y:8; b=_x:9,_y:8; b=_x:9,_y:9; b=_x:11,_y:9; b=_x:9,_y:10; b=_x:9,_y:11; b=_x:10,_y:11; b=_x:12,_y:11; b=_x:13,_y:10; b=_x:13,_y:11; b=_x:14,_y:10; b=_x:14,_y:9; b=_x:14,_y:8; b=_x:13,_y:6; b=_x:15,_y:7; b=_x:15,_y:6; b=_x:15,_y:8; b=_x:17,_y:5; b=_x:17,_y:6; b=_x:17,_y:7; b=_x:17,_y:8; b=_x:17,_y:9; b=_x:16,_y:10; b=_x:17,_y:10; b=_x:15,_y:12; b=_x:14,_y:12; b=_x:13,_y:12; b=_x:17,_y:11; b=_x:16,_y:13; b=_x:15,_y:13; b=_x:18,_y:12; b=_x:18,_y:13; b=_x:18,_y:11; b=_x:18,_y:14; b=_x:18,_y:15; b=_x:17,_y:15; b=_x:16,_y:15; b=_x:15,_y:15; b=_x:14,_y:15; b=_x:13,_y:15; b=_x:13,_y:14; b=_x:11,_y:14; b=_x:12,_y:12; b=_x:11,_y:13; b=_x:11,_y:12; b=_x:10,_y:12; b=_x:10,_y:14; b=_x:9,_y:14; b=_x:8,_y:14; b=_x:7,_y:14; b=_x:6,_y:14; b=_x:5,_y:14; b=_x:4,_y:14; b=_x:3,_y:14; b=_x:2,_y:14; b=_x:5,_y:11; b=_x:6,_y:12; b=_x:5,_y:12; b=_x:7,_y:12; b=_x:9,_y:12; b=_x:3,_y:13; b=_x:3,_y:11; b=_x:2,_y:8; b=_x:2,_y:7; b=_x:2,_y:9; b=_x:11,_y:5; b=_x:13,_y:5; b=_x:12,_y:6; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:3,_y:4; w=_x:5,_y:4,xdestination:19,ydestination:13; w=_x:22,_y:4,xdestination:22,ydestination:12; u=_x:21,_y:13,ccolor:green,rrotate:90; u=_x:12,_y:4,ccolor:green,rrotate:0; u=_x:13,_y:4,ccolor:blue,rrotate:0; u=_x:14,_y:4,ccolor:red,rrotate:0; u=_x:15,_y:4,ccolor:blue,rrotate:0; u=_x:16,_y:4,ccolor:yellow,rrotate:0; u=_x:17,_y:4,ccolor:red,rrotate:0; t=_x:16,_y:8; t=_x:10,_y:12; t=_x:2,_y:14; t=_x:13,_y:15; t=_x:17,_y:6; o=_x:5,_y:8,rrotate:0,openWhen:0; o=_x:9,_y:10,rrotate:0,openWhen:1; o=_x:5,_y:13,rrotate:90,openWhen:2; o=_x:8,_y:13,rrotate:90,openWhen:3; m=_x:8,_y:5; m=_x:18,_y:15; m=_x:14,_y:8; m=_x:6,_y:15; k=_x:2,_y:8,ccolor:green; k=_x:3,_y:8,ccolor:green; k=_x:2,_y:11,ccolor:blue; k=_x:2,_y:12,ccolor:red; k=_x:12,_y:13,ccolor:yellow; k=_x:14,_y:13,ccolor:blue; k=_x:13,_y:12,ccolor:red; d=_x:21,_y:14; b=_x:9,_y:11; b=_x:16,_y:12; b=_x:22,_y:13; b=_x:22,_y:14; b=_x:22,_y:11; b=_x:21,_y:11; b=_x:20,_y:11; b=_x:20,_y:13; b=_x:20,_y:12; b=_x:22,_y:15; b=_x:17,_y:12; b=_x:20,_y:14; b=_x:21,_y:15; b=_x:20,_y:15; b=_x:18,_y:13; b=_x:18,_y:14; b=_x:19,_y:14; b=_x:17,_y:13; b=_x:15,_y:12; b=_x:16,_y:7; b=_x:16,_y:10; b=_x:14,_y:11; b=_x:15,_y:11; b=_x:13,_y:11; b=_x:12,_y:11; b=_x:9,_y:9; b=_x:15,_y:7; b=_x:17,_y:8; b=_x:13,_y:8; b=_x:14,_y:7; b=_x:12,_y:7; b=_x:9,_y:8; b=_x:10,_y:7; b=_x:11,_y:7; b=_x:11,_y:11; b=_x:10,_y:11; b=_x:11,_y:12; b=_x:11,_y:13; b=_x:10,_y:13; b=_x:7,_y:15; b=_x:7,_y:14; b=_x:9,_y:13; b=_x:6,_y:13; b=_x:7,_y:13; b=_x:4,_y:13; b=_x:3,_y:11; b=_x:4,_y:12; b=_x:2,_y:10; b=_x:3,_y:10; b=_x:5,_y:9; b=_x:4,_y:10; b=_x:5,_y:10; b=_x:5,_y:7; b=_x:3,_y:12; b=_x:17,_y:3; b=_x:15,_y:3; b=_x:16,_y:3; b=_x:13,_y:3; b=_x:12,_y:3; b=_x:14,_y:3; b=_x:11,_y:3; b=_x:11,_y:5; b=_x:12,_y:5; b=_x:13,_y:5; b=_x:14,_y:5; b=_x:15,_y:5; b=_x:16,_y:5; b=_x:17,_y:5; b=_x:22,_y:6; b=_x:20,_y:6; b=_x:21,_y:6; b=_x:19,_y:6; b=_x:18,_y:6; b=_x:18,_y:5; b=_x:18,_y:3; b=_x:6,_y:3; b=_x:6,_y:4; b=_x:6,_y:5; b=_x:5,_y:5; b=_x:5,_y:6; b=_x:4,_y:6; b=_x:3,_y:6; b=_x:2,_y:6; b=_x:15,_y:8; b=_x:17,_y:9; _root=health:2,backgroundd:15,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:8,_y:9; u=_x:15,_y:5,ccolor:yellow,rrotate:0; u=_x:13,_y:5,ccolor:yellow,rrotate:0; u=_x:3,_y:11,ccolor:green,rrotate:0; u=_x:14,_y:6,ccolor:red,rrotate:90; u=_x:13,_y:13,ccolor:red,rrotate:90; u=_x:7,_y:3,ccolor:blue,rrotate:0; t=_x:9,_y:9; t=_x:12,_y:3; o=_x:11,_y:9,rrotate:0,openWhen:1; o=_x:6,_y:4,rrotate:90,openWhen:0; l=_x:22,_y:15; l=_x:2,_y:15; l=_x:22,_y:3; l=_x:2,_y:3; k=_x:2,_y:11,ccolor:yellow; k=_x:13,_y:14,ccolor:green; k=_x:2,_y:9,ccolor:red; k=_x:6,_y:5,ccolor:yellow; k=_x:8,_y:4,ccolor:blue; k=_x:14,_y:5,ccolor:yellow; j=_x:6,_y:3; h=_x:12,_y:14; d=_x:17,_y:3; b=_x:2,_y:12; b=_x:3,_y:12; b=_x:2,_y:10; b=_x:3,_y:10; b=_x:17,_y:6; b=_x:16,_y:6; b=_x:15,_y:6; b=_x:11,_y:6; b=_x:12,_y:6; b=_x:10,_y:6; b=_x:9,_y:6; b=_x:8,_y:6; b=_x:7,_y:6; b=_x:6,_y:6; b=_x:5,_y:6; b=_x:5,_y:5; b=_x:5,_y:4; b=_x:5,_y:3; b=_x:7,_y:10; b=_x:7,_y:8; b=_x:8,_y:8; b=_x:7,_y:9; b=_x:9,_y:10; b=_x:8,_y:10; b=_x:10,_y:10; b=_x:11,_y:10; b=_x:11,_y:8; b=_x:10,_y:8; b=_x:9,_y:8; b=_x:14,_y:3; b=_x:15,_y:3; b=_x:15,_y:4; b=_x:18,_y:6; b=_x:18,_y:5; b=_x:18,_y:4; b=_x:18,_y:3; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:13,_y:4; b=_x:13,_y:6; b=_x:12,_y:13; b=_x:11,_y:13; b=_x:10,_y:13; b=_x:9,_y:13; b=_x:8,_y:13; b=_x:7,_y:13; b=_x:6,_y:13; b=_x:6,_y:14; b=_x:6,_y:15; b=_x:14,_y:13; b=_x:15,_y:13; b=_x:16,_y:13; b=_x:17,_y:13; b=_x:17,_y:14; b=_x:17,_y:15; _root=health:1,backgroundd:1,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; y=_x:2,_y:5,xdestination:2,ydestination:6; t=_x:22,_y:15; q=_x:2,_y:15; j=_x:2,_y:7; h=_x:2,_y:4; d=_x:22,_y:3; b=_x:10,_y:14; b=_x:10,_y:12; b=_x:10,_y:10; b=_x:8,_y:15; b=_x:8,_y:13; b=_x:8,_y:11; b=_x:8,_y:9; b=_x:6,_y:10; b=_x:6,_y:12; b=_x:6,_y:14; b=_x:4,_y:15; b=_x:4,_y:13; b=_x:4,_y:11; b=_x:4,_y:9; b=_x:20,_y:14; b=_x:20,_y:12; b=_x:20,_y:10; b=_x:20,_y:8; b=_x:20,_y:6; b=_x:20,_y:4; b=_x:18,_y:3; b=_x:18,_y:5; b=_x:18,_y:7; b=_x:18,_y:9; b=_x:18,_y:11; b=_x:18,_y:13; b=_x:18,_y:15; b=_x:16,_y:14; b=_x:16,_y:12; b=_x:16,_y:10; b=_x:16,_y:8; b=_x:16,_y:6; b=_x:16,_y:4; b=_x:14,_y:3; b=_x:14,_y:5; b=_x:14,_y:7; b=_x:14,_y:9; b=_x:14,_y:11; b=_x:14,_y:13; b=_x:14,_y:15; b=_x:12,_y:14; b=_x:12,_y:12; b=_x:12,_y:10; b=_x:12,_y:8; b=_x:12,_y:4; b=_x:12,_y:6; b=_x:8,_y:7; b=_x:10,_y:7; b=_x:10,_y:3; b=_x:10,_y:5; b=_x:8,_y:3; b=_x:8,_y:5; b=_x:6,_y:3; b=_x:6,_y:5; b=_x:6,_y:7; b=_x:4,_y:7; b=_x:4,_y:3; b=_x:4,_y:4; b=_x:4,_y:5; b=_x:3,_y:5; _root=health:2,backgroundd:11,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:12,_y:10; l=_x:22,_y:15; l=_x:22,_y:3; l=_x:2,_y:15; h=_x:21,_y:14; d=_x:2,_y:10; d=_x:22,_y:10; d=_x:12,_y:3; d=_x:12,_y:15; b=_x:11,_y:4; b=_x:11,_y:3; b=_x:13,_y:4; b=_x:13,_y:3; b=_x:22,_y:9; b=_x:21,_y:9; b=_x:21,_y:11; b=_x:22,_y:11; b=_x:13,_y:15; b=_x:13,_y:14; b=_x:11,_y:14; b=_x:11,_y:15; b=_x:2,_y:11; b=_x:3,_y:11; b=_x:3,_y:9; b=_x:2,_y:9; b=_x:12,_y:9; b=_x:13,_y:9; b=_x:13,_y:10; b=_x:13,_y:11; b=_x:12,_y:11; b=_x:11,_y:11; b=_x:11,_y:10; b=_x:11,_y:9; _root=health:1,backgroundd:5,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:9; t=_x:11,_y:15; t=_x:11,_y:3; q=_x:18,_y:9; q=_x:5,_y:9; j=_x:13,_y:3; d=_x:11,_y:8; d=_x:11,_y:10; b=_x:12,_y:9; b=_x:10,_y:9; b=_x:7,_y:6; b=_x:7,_y:10; b=_x:14,_y:12; b=_x:16,_y:7; b=_x:13,_y:5; b=_x:9,_y:3; b=_x:14,_y:9; b=_x:17,_y:14; b=_x:11,_y:12; b=_x:7,_y:13; b=_x:9,_y:12; b=_x:10,_y:7; b=_x:11,_y:6; b=_x:16,_y:6; b=_x:16,_y:11; b=_x:18,_y:12; b=_x:15,_y:15; b=_x:11,_y:13; b=_x:13,_y:14; b=_x:8,_y:14; b=_x:7,_y:15; b=_x:4,_y:12; b=_x:6,_y:10; b=_x:8,_y:6; b=_x:5,_y:3; b=_x:7,_y:8; b=_x:5,_y:5; b=_x:3,_y:6; b=_x:3,_y:8; b=_x:2,_y:10; b=_x:3,_y:11; b=_x:7,_y:12; b=_x:19,_y:7; b=_x:21,_y:10; b=_x:19,_y:13; b=_x:21,_y:5; b=_x:18,_y:4; b=_x:14,_y:4; b=_x:15,_y:8; b=_x:14,_y:7; _root=health:1,backgroundd:3,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:4; t=_x:9,_y:15; o=_x:11,_y:13,rrotate:0,openWhen:0; l=_x:3,_y:4; l=_x:8,_y:5; l=_x:14,_y:15; g=_x:10,_y:13; d=_x:12,_y:15; b=_x:3,_y:14; b=_x:2,_y:12; b=_x:3,_y:10; b=_x:2,_y:8; b=_x:4,_y:7; b=_x:4,_y:11; b=_x:4,_y:10; b=_x:6,_y:8; b=_x:4,_y:9; b=_x:5,_y:10; b=_x:6,_y:12; b=_x:4,_y:12; b=_x:4,_y:13; b=_x:4,_y:14; b=_x:5,_y:14; b=_x:6,_y:14; b=_x:7,_y:12; b=_x:9,_y:13; b=_x:9,_y:11; b=_x:8,_y:11; b=_x:7,_y:11; b=_x:7,_y:10; b=_x:7,_y:9; b=_x:7,_y:8; b=_x:7,_y:7; b=_x:11,_y:7; b=_x:12,_y:8; b=_x:9,_y:8; b=_x:10,_y:9; b=_x:13,_y:9; b=_x:12,_y:11; b=_x:11,_y:10; b=_x:14,_y:10; b=_x:13,_y:15; b=_x:19,_y:10; b=_x:15,_y:10; b=_x:17,_y:15; b=_x:17,_y:14; b=_x:17,_y:13; b=_x:17,_y:9; b=_x:19,_y:11; b=_x:12,_y:12; b=_x:11,_y:12; b=_x:7,_y:14; b=_x:8,_y:14; b=_x:9,_y:14; b=_x:10,_y:14; b=_x:12,_y:6; b=_x:15,_y:9; b=_x:15,_y:8; b=_x:15,_y:7; b=_x:16,_y:7; b=_x:16,_y:6; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:8,_y:4; b=_x:9,_y:4; b=_x:7,_y:6; b=_x:8,_y:6; b=_x:10,_y:6; b=_x:11,_y:6; b=_x:9,_y:6; b=_x:6,_y:6; b=_x:5,_y:6; b=_x:3,_y:6; b=_x:4,_y:6; b=_x:2,_y:6; b=_x:21,_y:4; b=_x:20,_y:4; b=_x:22,_y:7; b=_x:19,_y:9; b=_x:19,_y:7; b=_x:18,_y:7; b=_x:21,_y:7; b=_x:16,_y:4; b=_x:20,_y:7; b=_x:18,_y:4; b=_x:19,_y:5; b=_x:19,_y:4; b=_x:17,_y:4; b=_x:15,_y:6; b=_x:14,_y:6; b=_x:13,_y:6; b=_x:15,_y:4; b=_x:15,_y:3; b=_x:9,_y:5; b=_x:13,_y:14; b=_x:14,_y:14; b=_x:15,_y:14; b=_x:16,_y:15; b=_x:11,_y:5; b=_x:11,_y:3; b=_x:13,_y:3; b=_x:13,_y:5; b=_x:19,_y:12; b=_x:18,_y:13; b=_x:17,_y:11; b=_x:16,_y:11; b=_x:15,_y:11; b=_x:19,_y:14; b=_x:20,_y:14; b=_x:21,_y:14; b=_x:22,_y:14; b=_x:22,_y:13; b=_x:22,_y:12; b=_x:20,_y:12; b=_x:22,_y:11; b=_x:21,_y:10; b=_x:22,_y:9; b=_x:12,_y:13; _root=health:1,backgroundd:6,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:9; y=_x:11,_y:10,xdestination:11,ydestination:3; y=_x:21,_y:4,xdestination:20,ydestination:3; y=_x:20,_y:4,xdestination:22,ydestination:3; t=_x:14,_y:5; t=_x:8,_y:5; t=_x:2,_y:3; t=_x:22,_y:7; q=_x:2,_y:7; o=_x:2,_y:8,rrotate:90,openWhen:3; o=_x:3,_y:8,rrotate:90,openWhen:2; o=_x:4,_y:8,rrotate:90,openWhen:2; o=_x:20,_y:8,rrotate:90,openWhen:2; o=_x:11,_y:13,rrotate:90,openWhen:1; j=_x:17,_y:9; j=_x:5,_y:9; j=_x:21,_y:3; j=_x:11,_y:14; d=_x:11,_y:15; b=_x:13,_y:4; b=_x:13,_y:5; b=_x:9,_y:5; b=_x:9,_y:4; b=_x:12,_y:4; b=_x:11,_y:4; b=_x:10,_y:4; b=_x:12,_y:9; b=_x:11,_y:8; b=_x:10,_y:9; b=_x:5,_y:3; b=_x:5,_y:4; b=_x:5,_y:5; b=_x:5,_y:6; b=_x:5,_y:7; b=_x:5,_y:8; b=_x:19,_y:3; b=_x:19,_y:4; b=_x:19,_y:5; b=_x:19,_y:6; b=_x:19,_y:7; b=_x:19,_y:8; b=_x:21,_y:8; b=_x:22,_y:8; b=_x:8,_y:15; b=_x:8,_y:14; b=_x:9,_y:14; b=_x:10,_y:13; b=_x:12,_y:13; b=_x:13,_y:14; b=_x:14,_y:14; b=_x:14,_y:15; _root=health:1,backgroundd:9,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:6,_y:3; l=_x:2,_y:15; l=_x:22,_y:3; l=_x:22,_y:15; h=_x:13,_y:13; d=_x:12,_y:7; b=_x:2,_y:4; b=_x:3,_y:5; b=_x:4,_y:3; b=_x:5,_y:3; b=_x:6,_y:4; b=_x:4,_y:7; b=_x:4,_y:5; b=_x:6,_y:7; b=_x:6,_y:5; b=_x:2,_y:6; b=_x:3,_y:8; b=_x:3,_y:10; b=_x:2,_y:12; b=_x:4,_y:12; b=_x:4,_y:13; b=_x:3,_y:14; b=_x:5,_y:9; b=_x:4,_y:8; b=_x:11,_y:7; b=_x:13,_y:7; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:5,_y:6; o=_x:7,_y:7,rrotate:0,openWhen:0; o=_x:6,_y:8,rrotate:90,openWhen:0; n=_x:6,_y:7; n=_x:2,_y:6; n=_x:5,_y:3; l=_x:22,_y:3; l=_x:22,_y:15; l=_x:2,_y:15; g=_x:14,_y:15; g=_x:13,_y:14; g=_x:12,_y:13; g=_x:11,_y:12; g=_x:10,_y:11; g=_x:9,_y:10; d=_x:22,_y:14; d=_x:21,_y:15; b=_x:22,_y:6; b=_x:21,_y:6; b=_x:20,_y:6; b=_x:19,_y:6; b=_x:18,_y:6; b=_x:17,_y:6; b=_x:15,_y:6; b=_x:16,_y:6; b=_x:14,_y:6; b=_x:13,_y:6; b=_x:12,_y:6; b=_x:11,_y:6; b=_x:10,_y:6; b=_x:9,_y:6; b=_x:8,_y:6; b=_x:5,_y:15; b=_x:5,_y:14; b=_x:5,_y:13; b=_x:5,_y:12; b=_x:5,_y:11; b=_x:5,_y:10; b=_x:5,_y:9; b=_x:7,_y:3; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:7,_y:6; b=_x:7,_y:8; b=_x:4,_y:8; b=_x:5,_y:8; b=_x:3,_y:8; b=_x:2,_y:8; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; y=_x:22,_y:15,xdestination:22,ydestination:13; y=_x:22,_y:6,xdestination:18,ydestination:7; x=_x:19,_y:3,xdestination:21,ydestination:3; x=_x:19,_y:4,xdestination:21,ydestination:4; x=_x:19,_y:5,xdestination:21,ydestination:5; x=_x:19,_y:6,xdestination:21,ydestination:6; x=_x:19,_y:7,xdestination:21,ydestination:7; x=_x:19,_y:8,xdestination:21,ydestination:8; x=_x:19,_y:9,xdestination:21,ydestination:9; x=_x:19,_y:10,xdestination:21,ydestination:10; x=_x:19,_y:11,xdestination:21,ydestination:11; x=_x:19,_y:12,xdestination:21,ydestination:12; x=_x:19,_y:13,xdestination:21,ydestination:13; t=_x:22,_y:3; j=_x:2,_y:15; d=_x:2,_y:6; b=_x:20,_y:10; b=_x:20,_y:8; b=_x:20,_y:6; b=_x:20,_y:4; b=_x:16,_y:6; b=_x:20,_y:12; b=_x:21,_y:14; b=_x:2,_y:5; b=_x:3,_y:6; b=_x:4,_y:7; b=_x:5,_y:8; b=_x:6,_y:9; b=_x:7,_y:10; b=_x:8,_y:11; b=_x:9,_y:12; b=_x:10,_y:13; b=_x:4,_y:4; b=_x:6,_y:6; b=_x:8,_y:8; b=_x:10,_y:10; b=_x:12,_y:12; b=_x:14,_y:14; b=_x:6,_y:4; b=_x:8,_y:6; b=_x:10,_y:8; b=_x:12,_y:10; b=_x:14,_y:12; b=_x:8,_y:3; b=_x:10,_y:5; b=_x:12,_y:7; b=_x:14,_y:9; b=_x:16,_y:11; b=_x:17,_y:13; b=_x:19,_y:15; b=_x:12,_y:3; b=_x:12,_y:5; b=_x:14,_y:6; b=_x:16,_y:3; b=_x:16,_y:5; b=_x:16,_y:7; b=_x:16,_y:9; b=_x:18,_y:4; b=_x:18,_y:6; b=_x:18,_y:8; b=_x:18,_y:10; b=_x:20,_y:3; b=_x:20,_y:5; b=_x:20,_y:7; b=_x:20,_y:9; b=_x:20,_y:11; b=_x:22,_y:5; b=_x:22,_y:8; b=_x:22,_y:10; b=_x:22,_y:12; b=_x:22,_y:14; b=_x:20,_y:13; _root=health:1,backgroundd:8,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:10,_y:8; y=_x:2,_y:10,xdestination:2,ydestination:11; t=_x:22,_y:3; t=_x:16,_y:12; q=_x:22,_y:15; q=_x:22,_y:14; q=_x:22,_y:13; o=_x:17,_y:12,rrotate:0,openWhen:3; o=_x:15,_y:12,rrotate:0,openWhen:3; o=_x:16,_y:11,rrotate:90,openWhen:3; o=_x:16,_y:13,rrotate:90,openWhen:3; o=_x:2,_y:9,rrotate:90,openWhen:3; j=_x:18,_y:8; h=_x:2,_y:3; d=_x:2,_y:15; b=_x:22,_y:9; b=_x:21,_y:9; b=_x:20,_y:9; b=_x:19,_y:9; b=_x:18,_y:9; b=_x:17,_y:9; b=_x:16,_y:9; b=_x:15,_y:9; b=_x:14,_y:9; b=_x:13,_y:9; b=_x:12,_y:9; b=_x:11,_y:9; b=_x:10,_y:9; b=_x:9,_y:9; b=_x:8,_y:9; b=_x:7,_y:9; b=_x:6,_y:9; b=_x:5,_y:9; b=_x:4,_y:9; b=_x:3,_y:9; _root=health:1,backgroundd:4,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:17,_y:4; y=_x:13,_y:4,xdestination:7,ydestination:12; t=_x:22,_y:12; t=_x:20,_y:11; t=_x:18,_y:8; t=_x:18,_y:6; r=_x:21,_y:7; q=_x:14,_y:7; n=_x:21,_y:8; n=_x:19,_y:7; l=_x:6,_y:8; l=_x:8,_y:8; l=_x:10,_y:8; j=_x:16,_y:10; h=_x:9,_y:12; f=_x:20,_y:5; d=_x:13,_y:14; d=_x:2,_y:10; b=_x:7,_y:5; b=_x:8,_y:5; b=_x:10,_y:5; b=_x:9,_y:5; b=_x:11,_y:5; b=_x:9,_y:4; b=_x:9,_y:3; b=_x:10,_y:3; b=_x:12,_y:3; b=_x:11,_y:3; b=_x:13,_y:3; b=_x:14,_y:3; b=_x:15,_y:3; b=_x:16,_y:3; b=_x:17,_y:3; b=_x:18,_y:3; b=_x:20,_y:3; b=_x:19,_y:3; b=_x:21,_y:3; b=_x:22,_y:3; b=_x:13,_y:5; b=_x:12,_y:5; b=_x:14,_y:5; b=_x:15,_y:5; b=_x:16,_y:5; b=_x:16,_y:6; b=_x:16,_y:7; b=_x:16,_y:8; b=_x:15,_y:8; b=_x:15,_y:9; b=_x:15,_y:10; b=_x:16,_y:11; b=_x:16,_y:9; b=_x:17,_y:11; b=_x:18,_y:11; b=_x:19,_y:11; b=_x:19,_y:10; b=_x:20,_y:10; b=_x:21,_y:10; b=_x:22,_y:10; b=_x:22,_y:9; b=_x:22,_y:8; _root=health:5,backgroundd:9,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; w=_x:12,_y:7,xdestination:13,ydestination:7; t=_x:6,_y:7; t=_x:22,_y:14; o=_x:6,_y:8,rrotate:90,openWhen:3; o=_x:7,_y:7,rrotate:0,openWhen:3; o=_x:3,_y:9,rrotate:0,openWhen:2; o=_x:11,_y:7,rrotate:0,openWhen:1; m=_x:2,_y:7; m=_x:4,_y:3; m=_x:3,_y:7; m=_x:6,_y:3; j=_x:4,_y:9; j=_x:8,_y:7; j=_x:12,_y:3; h=_x:16,_y:5; g=_x:2,_y:14; g=_x:2,_y:15; f=_x:2,_y:11; d=_x:22,_y:15; b=_x:5,_y:8; b=_x:3,_y:8; b=_x:4,_y:8; b=_x:2,_y:8; b=_x:7,_y:8; b=_x:7,_y:6; b=_x:7,_y:5; b=_x:7,_y:4; b=_x:7,_y:3; b=_x:5,_y:9; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:3,_y:10; b=_x:2,_y:12; b=_x:3,_y:12; b=_x:4,_y:12; b=_x:5,_y:12; b=_x:6,_y:12; b=_x:7,_y:12; b=_x:8,_y:12; b=_x:9,_y:12; b=_x:10,_y:12; b=_x:11,_y:12; b=_x:11,_y:11; b=_x:11,_y:10; b=_x:11,_y:9; b=_x:11,_y:8; b=_x:11,_y:6; b=_x:11,_y:5; b=_x:11,_y:4; b=_x:11,_y:3; b=_x:12,_y:4; b=_x:13,_y:4; b=_x:14,_y:4; b=_x:15,_y:4; b=_x:15,_y:7; b=_x:17,_y:6; b=_x:18,_y:6; b=_x:20,_y:7; b=_x:17,_y:9; b=_x:19,_y:8; b=_x:16,_y:11; b=_x:14,_y:9; b=_x:13,_y:11; b=_x:16,_y:12; b=_x:19,_y:10; b=_x:18,_y:12; b=_x:21,_y:10; b=_x:22,_y:8; b=_x:20,_y:11; b=_x:21,_y:13; b=_x:17,_y:13; b=_x:17,_y:8; b=_x:15,_y:12; b=_x:15,_y:8; b=_x:18,_y:9; b=_x:18,_y:11; b=_x:14,_y:11; b=_x:12,_y:12; b=_x:11,_y:14; b=_x:9,_y:14; b=_x:6,_y:13; b=_x:6,_y:14; b=_x:4,_y:15; b=_x:2,_y:13; b=_x:10,_y:13; b=_x:7,_y:14; b=_x:3,_y:13; b=_x:5,_y:13; b=_x:20,_y:15; b=_x:19,_y:14; b=_x:17,_y:15; b=_x:15,_y:14; b=_x:13,_y:15; b=_x:13,_y:13; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:3,_y:4; q=_x:2,_y:10; o=_x:9,_y:3,rrotate:0,openWhen:2; o=_x:2,_y:9,rrotate:90,openWhen:2; j=_x:2,_y:8; j=_x:8,_y:3; j=_x:10,_y:3; d=_x:22,_y:15; b=_x:3,_y:9; b=_x:4,_y:9; b=_x:5,_y:9; b=_x:6,_y:9; b=_x:7,_y:9; b=_x:8,_y:9; b=_x:9,_y:9; b=_x:9,_y:8; b=_x:9,_y:7; b=_x:9,_y:6; b=_x:9,_y:5; b=_x:9,_y:4; _root=health:1,backgroundd:2,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:5,_y:5; w=_x:18,_y:8,xdestination:4,ydestination:12; w=_x:21,_y:8,xdestination:15,ydestination:7; t=_x:7,_y:12; t=_x:21,_y:3; t=_x:18,_y:3; t=_x:6,_y:7; q=_x:16,_y:3; o=_x:8,_y:4,rrotate:0,openWhen:5; o=_x:12,_y:4,rrotate:0,openWhen:4; j=_x:11,_y:7; j=_x:22,_y:15; j=_x:5,_y:8; j=_x:21,_y:10; j=_x:22,_y:7; g=_x:18,_y:6; d=_x:16,_y:11; b=_x:20,_y:11; b=_x:8,_y:7; b=_x:21,_y:14; b=_x:22,_y:12; b=_x:21,_y:15; b=_x:20,_y:10; b=_x:18,_y:11; b=_x:19,_y:12; b=_x:19,_y:14; b=_x:19,_y:15; b=_x:16,_y:15; b=_x:14,_y:14; b=_x:14,_y:11; b=_x:15,_y:11; b=_x:15,_y:12; b=_x:16,_y:12; b=_x:17,_y:13; b=_x:12,_y:10; b=_x:11,_y:11; b=_x:11,_y:13; b=_x:12,_y:14; b=_x:8,_y:10; b=_x:8,_y:15; b=_x:9,_y:12; b=_x:9,_y:13; b=_x:8,_y:14; b=_x:11,_y:15; b=_x:5,_y:13; b=_x:5,_y:12; b=_x:5,_y:11; b=_x:20,_y:8; b=_x:20,_y:6; b=_x:20,_y:5; b=_x:20,_y:4; b=_x:20,_y:3; b=_x:17,_y:4; b=_x:17,_y:3; b=_x:16,_y:5; b=_x:12,_y:3; b=_x:12,_y:5; b=_x:13,_y:6; b=_x:14,_y:7; b=_x:15,_y:8; b=_x:8,_y:3; b=_x:8,_y:5; b=_x:8,_y:6; b=_x:7,_y:7; b=_x:6,_y:8; b=_x:21,_y:9; b=_x:22,_y:9; b=_x:20,_y:9; b=_x:19,_y:9; b=_x:18,_y:9; b=_x:16,_y:9; b=_x:17,_y:9; b=_x:15,_y:9; b=_x:14,_y:9; b=_x:13,_y:9; b=_x:12,_y:9; b=_x:11,_y:9; b=_x:10,_y:9; b=_x:2,_y:9; b=_x:3,_y:9; b=_x:4,_y:9; b=_x:5,_y:9; b=_x:6,_y:9; b=_x:7,_y:9; b=_x:8,_y:9; b=_x:9,_y:9; b=_x:22,_y:4; _root=health:2,backgroundd:12,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:9; u=_x:9,_y:9,ccolor:red,rrotate:0; u=_x:13,_y:9,ccolor:yellow,rrotate:0; u=_x:11,_y:11,ccolor:green,rrotate:90; u=_x:11,_y:7,ccolor:blue,rrotate:90; t=_x:11,_y:13; q=_x:11,_y:12; q=_x:14,_y:9; l=_x:2,_y:3; l=_x:22,_y:3; k=_x:10,_y:9,ccolor:yellow; k=_x:12,_y:9,ccolor:red; k=_x:11,_y:8,ccolor:green; k=_x:11,_y:10,ccolor:blue; j=_x:11,_y:5; j=_x:7,_y:9; d=_x:13,_y:7; d=_x:9,_y:7; d=_x:9,_y:11; d=_x:13,_y:11; b=_x:10,_y:10; b=_x:12,_y:10; b=_x:12,_y:8; b=_x:10,_y:8; b=_x:9,_y:8; b=_x:9,_y:10; b=_x:12,_y:11; b=_x:13,_y:10; b=_x:13,_y:8; b=_x:12,_y:7; b=_x:10,_y:7; b=_x:10,_y:11; _root=health:1,backgroundd:8,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:3,_y:4; q=_x:22,_y:3; q=_x:22,_y:14; o=_x:12,_y:5,rrotate:90,openWhen:3; o=_x:21,_y:5,rrotate:90,openWhen:3; o=_x:3,_y:5,rrotate:90,openWhen:2; n=_x:2,_y:9; l=_x:10,_y:12; j=_x:21,_y:6; d=_x:22,_y:15; b=_x:2,_y:10; b=_x:3,_y:10; b=_x:4,_y:10; b=_x:6,_y:10; b=_x:8,_y:12; b=_x:2,_y:12; b=_x:7,_y:10; b=_x:5,_y:10; b=_x:6,_y:12; b=_x:4,_y:11; b=_x:3,_y:14; b=_x:5,_y:15; b=_x:4,_y:13; b=_x:5,_y:13; b=_x:6,_y:13; b=_x:7,_y:13; b=_x:8,_y:13; b=_x:7,_y:14; b=_x:9,_y:15; b=_x:9,_y:13; b=_x:9,_y:12; b=_x:9,_y:11; b=_x:9,_y:10; b=_x:9,_y:9; b=_x:8,_y:8; b=_x:7,_y:8; b=_x:6,_y:8; b=_x:5,_y:8; b=_x:4,_y:8; b=_x:3,_y:8; b=_x:2,_y:8; b=_x:11,_y:6; b=_x:11,_y:7; b=_x:13,_y:7; b=_x:15,_y:5; b=_x:2,_y:4; b=_x:4,_y:3; b=_x:8,_y:3; b=_x:10,_y:4; b=_x:12,_y:3; b=_x:14,_y:4; b=_x:16,_y:3; b=_x:18,_y:4; b=_x:20,_y:3; b=_x:22,_y:4; b=_x:22,_y:5; b=_x:20,_y:5; b=_x:19,_y:5; b=_x:18,_y:5; b=_x:16,_y:5; b=_x:17,_y:5; b=_x:14,_y:5; b=_x:13,_y:5; b=_x:11,_y:5; b=_x:9,_y:5; b=_x:10,_y:5; b=_x:8,_y:5; b=_x:7,_y:5; b=_x:5,_y:5; b=_x:6,_y:4; b=_x:6,_y:5; b=_x:4,_y:5; b=_x:12,_y:7; b=_x:13,_y:8; b=_x:13,_y:9; b=_x:13,_y:10; b=_x:13,_y:11; b=_x:14,_y:11; b=_x:15,_y:11; b=_x:16,_y:11; b=_x:17,_y:11; b=_x:19,_y:11; b=_x:18,_y:11; b=_x:20,_y:11; b=_x:21,_y:11; b=_x:22,_y:11; b=_x:2,_y:5; _root=health:1,backgroundd:15,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:10,_y:5; w=_x:2,_y:9,xdestination:3,ydestination:14; t=_x:10,_y:11; q=_x:10,_y:9; q=_x:7,_y:4; q=_x:13,_y:4; q=_x:16,_y:8; o=_x:14,_y:15,rrotate:0,openWhen:2; j=_x:15,_y:15; j=_x:3,_y:5; g=_x:3,_y:14; d=_x:2,_y:14; d=_x:3,_y:15; b=_x:14,_y:3; b=_x:14,_y:4; b=_x:14,_y:5; b=_x:14,_y:6; b=_x:14,_y:7; b=_x:14,_y:8; b=_x:14,_y:9; b=_x:14,_y:10; b=_x:14,_y:11; b=_x:14,_y:12; b=_x:14,_y:13; b=_x:14,_y:14; b=_x:2,_y:13; b=_x:3,_y:13; b=_x:4,_y:13; b=_x:4,_y:14; b=_x:4,_y:15; b=_x:2,_y:10; b=_x:3,_y:10; b=_x:4,_y:10; b=_x:4,_y:9; b=_x:4,_y:8; b=_x:4,_y:7; b=_x:4,_y:6; b=_x:6,_y:5; b=_x:6,_y:4; b=_x:15,_y:9; b=_x:16,_y:9; b=_x:17,_y:9; b=_x:18,_y:9; b=_x:19,_y:9; b=_x:20,_y:9; b=_x:22,_y:9; b=_x:20,_y:8; b=_x:20,_y:7; b=_x:5,_y:5; _root=health:1,backgroundd:7,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:8,_y:5; l=_x:2,_y:3; j=_x:7,_y:14; f=_x:16,_y:4; d=_x:3,_y:13; b=_x:2,_y:6; b=_x:3,_y:6; b=_x:4,_y:6; b=_x:5,_y:6; b=_x:6,_y:6; b=_x:7,_y:6; b=_x:8,_y:6; b=_x:9,_y:6; b=_x:10,_y:6; b=_x:11,_y:6; b=_x:12,_y:6; b=_x:5,_y:5; b=_x:5,_y:4; b=_x:7,_y:3; b=_x:7,_y:4; b=_x:9,_y:5; b=_x:9,_y:4; b=_x:11,_y:3; b=_x:11,_y:4; b=_x:13,_y:5; b=_x:13,_y:4; b=_x:15,_y:3; b=_x:15,_y:4; b=_x:13,_y:6; b=_x:14,_y:6; b=_x:17,_y:5; b=_x:16,_y:5; b=_x:15,_y:7; b=_x:16,_y:7; b=_x:17,_y:7; b=_x:18,_y:7; b=_x:19,_y:7; b=_x:19,_y:6; b=_x:19,_y:5; b=_x:19,_y:4; _root=health:1,backgroundd:11,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:8,_y:15; t=_x:11,_y:13; l=_x:2,_y:15; l=_x:22,_y:15; l=_x:22,_y:3; j=_x:22,_y:14; j=_x:22,_y:4; g=_x:22,_y:8; d=_x:10,_y:3; b=_x:3,_y:3; b=_x:2,_y:5; b=_x:3,_y:5; b=_x:4,_y:5; b=_x:5,_y:4; b=_x:7,_y:4; b=_x:9,_y:3; b=_x:10,_y:10; b=_x:7,_y:5; b=_x:8,_y:6; b=_x:8,_y:7; b=_x:9,_y:7; b=_x:10,_y:7; b=_x:10,_y:5; b=_x:11,_y:5; b=_x:12,_y:6; b=_x:12,_y:7; b=_x:12,_y:8; b=_x:8,_y:10; b=_x:7,_y:8; b=_x:5,_y:5; b=_x:5,_y:7; b=_x:7,_y:7; b=_x:6,_y:8; b=_x:5,_y:8; b=_x:4,_y:10; b=_x:6,_y:9; b=_x:6,_y:10; b=_x:4,_y:11; b=_x:5,_y:12; b=_x:7,_y:12; b=_x:8,_y:11; b=_x:5,_y:13; b=_x:6,_y:14; b=_x:7,_y:14; b=_x:2,_y:11; b=_x:3,_y:13; b=_x:4,_y:14; b=_x:8,_y:12; b=_x:8,_y:14; b=_x:9,_y:14; b=_x:10,_y:14; b=_x:11,_y:14; b=_x:9,_y:12; b=_x:10,_y:12; b=_x:11,_y:12; b=_x:12,_y:13; b=_x:3,_y:9; _root=health:1,backgroundd:1,zoomView:false>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:12,_y:3; w=_x:12,_y:4,xdestination:12,ydestination:6; u=_x:6,_y:15,ccolor:blue,rrotate:0; u=_x:2,_y:6,ccolor:red,rrotate:90; u=_x:3,_y:14,ccolor:red,rrotate:90; u=_x:3,_y:12,ccolor:yellow,rrotate:90; u=_x:3,_y:9,ccolor:yellow,rrotate:90; u=_x:12,_y:15,ccolor:yellow,rrotate:0; u=_x:16,_y:15,ccolor:red,rrotate:0; u=_x:8,_y:15,ccolor:blue,rrotate:0; u=_x:7,_y:13,ccolor:yellow,rrotate:90; u=_x:17,_y:14,ccolor:red,rrotate:90; u=_x:7,_y:14,ccolor:blue,rrotate:90; u=_x:12,_y:14,ccolor:yellow,rrotate:90; u=_x:20,_y:15,ccolor:blue,rrotate:0; u=_x:17,_y:6,ccolor:blue,rrotate:0; u=_x:16,_y:6,ccolor:yellow,rrotate:0; u=_x:12,_y:11,ccolor:yellow,rrotate:90; u=_x:12,_y:10,ccolor:red,rrotate:90; u=_x:7,_y:6,ccolor:red,rrotate:0; u=_x:8,_y:6,ccolor:blue,rrotate:0; k=_x:10,_y:6,ccolor:yellow; k=_x:9,_y:6,ccolor:blue; k=_x:15,_y:6,ccolor:yellow; k=_x:14,_y:6,ccolor:red; k=_x:12,_y:9,ccolor:red; k=_x:12,_y:8,ccolor:blue; k=_x:13,_y:6,ccolor:blue; k=_x:12,_y:7,ccolor:yellow; k=_x:11,_y:6,ccolor:red; d=_x:7,_y:10; b=_x:6,_y:12; b=_x:6,_y:11; b=_x:6,_y:10; b=_x:6,_y:9; b=_x:7,_y:9; b=_x:8,_y:9; b=_x:8,_y:10; b=_x:8,_y:11; b=_x:8,_y:12; b=_x:8,_y:13; b=_x:6,_y:13; b=_x:19,_y:14; b=_x:18,_y:14; b=_x:15,_y:14; b=_x:16,_y:14; b=_x:14,_y:14; b=_x:13,_y:14; b=_x:13,_y:13; b=_x:11,_y:13; b=_x:11,_y:14; b=_x:10,_y:14; b=_x:9,_y:14; b=_x:8,_y:14; b=_x:6,_y:14; b=_x:5,_y:14; b=_x:20,_y:8; b=_x:20,_y:9; b=_x:20,_y:10; b=_x:20,_y:11; b=_x:20,_y:12; b=_x:20,_y:13; b=_x:20,_y:14; b=_x:22,_y:15; b=_x:22,_y:14; b=_x:22,_y:13; b=_x:22,_y:12; b=_x:22,_y:11; b=_x:22,_y:10; b=_x:22,_y:9; b=_x:22,_y:8; b=_x:21,_y:6; b=_x:22,_y:4; b=_x:14,_y:3; b=_x:16,_y:4; b=_x:18,_y:3; b=_x:20,_y:4; b=_x:20,_y:5; b=_x:20,_y:6; b=_x:20,_y:7; b=_x:19,_y:7; b=_x:2,_y:10; b=_x:2,_y:11; b=_x:2,_y:12; b=_x:2,_y:13; b=_x:2,_y:14; b=_x:2,_y:15; b=_x:4,_y:14; b=_x:4,_y:13; b=_x:4,_y:12; b=_x:4,_y:11; b=_x:4,_y:10; b=_x:4,_y:9; b=_x:4,_y:8; b=_x:2,_y:9; b=_x:2,_y:8; b=_x:3,_y:6; b=_x:2,_y:4; b=_x:10,_y:4; b=_x:8,_y:3; b=_x:6,_y:4; b=_x:4,_y:4; b=_x:4,_y:5; b=_x:4,_y:6; b=_x:4,_y:7; b=_x:5,_y:7; b=_x:14,_y:5; b=_x:15,_y:5; b=_x:16,_y:5; b=_x:17,_y:5; b=_x:18,_y:5; b=_x:18,_y:7; b=_x:17,_y:7; b=_x:16,_y:7; b=_x:15,_y:7; b=_x:14,_y:7; b=_x:13,_y:7; b=_x:13,_y:8; b=_x:13,_y:9; b=_x:13,_y:10; b=_x:13,_y:11; b=_x:13,_y:12; b=_x:11,_y:12; b=_x:11,_y:11; b=_x:11,_y:10; b=_x:11,_y:9; b=_x:11,_y:8; b=_x:11,_y:7; b=_x:10,_y:7; b=_x:9,_y:7; b=_x:8,_y:7; b=_x:7,_y:7; b=_x:6,_y:7; b=_x:6,_y:5; b=_x:7,_y:5; b=_x:8,_y:5; b=_x:9,_y:5; b=_x:10,_y:5; b=_x:13,_y:3; b=_x:13,_y:4; b=_x:13,_y:5; b=_x:12,_y:5; b=_x:11,_y:5; b=_x:11,_y:4; b=_x:11,_y:3; _root=health:1,backgroundd:12,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; x=_x:6,_y:10,xdestination:7,ydestination:10; x=_x:7,_y:9,xdestination:9,ydestination:8; x=_x:8,_y:8,xdestination:10,ydestination:10; x=_x:9,_y:7,xdestination:9,ydestination:11; w=_x:20,_y:5,xdestination:20,ydestination:15; w=_x:6,_y:8,xdestination:6,ydestination:9; w=_x:7,_y:7,xdestination:8,ydestination:7; t=_x:21,_y:5; t=_x:2,_y:5; t=_x:4,_y:3; q=_x:6,_y:5; q=_x:6,_y:6; q=_x:6,_y:7; q=_x:5,_y:7; q=_x:4,_y:7; q=_x:3,_y:4; o=_x:4,_y:6,rrotate:90,openWhen:6; o=_x:5,_y:5,rrotate:0,openWhen:6; o=_x:8,_y:10,rrotate:0,openWhen:1; o=_x:9,_y:9,rrotate:90,openWhen:1; j=_x:9,_y:10; j=_x:4,_y:5; d=_x:21,_y:15; b=_x:20,_y:13; b=_x:21,_y:13; b=_x:17,_y:3; b=_x:17,_y:7; b=_x:16,_y:9; b=_x:15,_y:11; b=_x:13,_y:9; b=_x:21,_y:4; b=_x:20,_y:6; b=_x:19,_y:5; b=_x:18,_y:4; b=_x:15,_y:4; b=_x:11,_y:4; b=_x:9,_y:5; b=_x:9,_y:3; b=_x:8,_y:5; b=_x:8,_y:3; b=_x:8,_y:4; b=_x:11,_y:3; b=_x:13,_y:4; b=_x:12,_y:6; b=_x:13,_y:7; b=_x:14,_y:8; b=_x:16,_y:5; b=_x:17,_y:6; b=_x:17,_y:9; b=_x:22,_y:7; b=_x:21,_y:8; b=_x:22,_y:13; b=_x:21,_y:9; b=_x:20,_y:9; b=_x:21,_y:11; b=_x:19,_y:10; b=_x:19,_y:12; b=_x:22,_y:15; b=_x:18,_y:15; b=_x:19,_y:14; b=_x:17,_y:12; b=_x:18,_y:14; b=_x:17,_y:15; b=_x:16,_y:13; b=_x:14,_y:14; b=_x:16,_y:11; b=_x:17,_y:10; b=_x:16,_y:8; b=_x:15,_y:6; b=_x:12,_y:7; b=_x:10,_y:7; b=_x:12,_y:9; b=_x:14,_y:9; b=_x:15,_y:12; b=_x:15,_y:15; b=_x:3,_y:15; b=_x:2,_y:9; b=_x:3,_y:11; b=_x:3,_y:13; b=_x:4,_y:14; b=_x:5,_y:12; b=_x:6,_y:14; b=_x:7,_y:15; b=_x:8,_y:13; b=_x:10,_y:14; b=_x:12,_y:14; b=_x:13,_y:13; b=_x:13,_y:11; b=_x:11,_y:12; b=_x:11,_y:10; b=_x:9,_y:12; b=_x:8,_y:6; b=_x:9,_y:6; b=_x:10,_y:6; b=_x:10,_y:8; b=_x:10,_y:9; b=_x:8,_y:11; b=_x:7,_y:11; b=_x:6,_y:11; b=_x:5,_y:11; b=_x:5,_y:10; b=_x:5,_y:9; b=_x:7,_y:3; b=_x:7,_y:4; b=_x:7,_y:5; b=_x:7,_y:6; b=_x:7,_y:8; b=_x:5,_y:8; b=_x:4,_y:8; b=_x:3,_y:8; b=_x:2,_y:8; b=_x:5,_y:3; b=_x:5,_y:4; b=_x:5,_y:6; b=_x:3,_y:6; b=_x:2,_y:6; b=_x:8,_y:9; _root=health:2,backgroundd:1,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:12,_y:4; q=_x:11,_y:3; o=_x:2,_y:14,rrotate:90,openWhen:0; o=_x:3,_y:15,rrotate:0,openWhen:0; l=_x:11,_y:15; d=_x:2,_y:15; b=_x:3,_y:14; b=_x:10,_y:3; b=_x:10,_y:4; _root=health:1,backgroundd:9,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:4; t=_x:5,_y:14; q=_x:9,_y:4; o=_x:20,_y:9,rrotate:0,openWhen:1; o=_x:10,_y:15,rrotate:0,openWhen:1; o=_x:10,_y:14,rrotate:0,openWhen:1; o=_x:10,_y:13,rrotate:0,openWhen:1; o=_x:10,_y:12,rrotate:0,openWhen:1; o=_x:10,_y:11,rrotate:0,openWhen:1; o=_x:10,_y:10,rrotate:0,openWhen:1; o=_x:10,_y:9,rrotate:0,openWhen:1; o=_x:10,_y:8,rrotate:0,openWhen:1; o=_x:10,_y:7,rrotate:0,openWhen:1; o=_x:10,_y:6,rrotate:0,openWhen:1; o=_x:10,_y:4,rrotate:0,openWhen:1; o=_x:10,_y:3,rrotate:0,openWhen:1; o=_x:10,_y:5,rrotate:0,openWhen:1; j=_x:22,_y:9; d=_x:22,_y:3; d=_x:22,_y:15; b=_x:14,_y:13; b=_x:14,_y:5; b=_x:6,_y:15; b=_x:4,_y:15; b=_x:12,_y:5; b=_x:13,_y:5; b=_x:12,_y:3; b=_x:14,_y:4; b=_x:15,_y:4; b=_x:12,_y:13; b=_x:13,_y:13; b=_x:12,_y:15; b=_x:14,_y:14; b=_x:15,_y:14; b=_x:16,_y:14; b=_x:16,_y:13; b=_x:16,_y:12; b=_x:16,_y:11; b=_x:16,_y:10; b=_x:16,_y:9; b=_x:16,_y:8; b=_x:16,_y:7; b=_x:16,_y:6; b=_x:16,_y:5; b=_x:16,_y:4; b=_x:18,_y:6; b=_x:18,_y:7; b=_x:19,_y:8; b=_x:18,_y:8; b=_x:18,_y:12; b=_x:18,_y:11; b=_x:18,_y:10; b=_x:19,_y:10; b=_x:22,_y:10; b=_x:21,_y:10; b=_x:20,_y:10; b=_x:20,_y:8; b=_x:21,_y:8; b=_x:22,_y:8; b=_x:6,_y:11; b=_x:7,_y:12; b=_x:6,_y:13; b=_x:6,_y:14; b=_x:4,_y:14; b=_x:4,_y:13; b=_x:4,_y:11; b=_x:3,_y:12; b=_x:9,_y:7; b=_x:9,_y:9; b=_x:7,_y:9; b=_x:7,_y:5; b=_x:7,_y:7; b=_x:5,_y:5; b=_x:5,_y:7; b=_x:5,_y:9; b=_x:3,_y:9; b=_x:3,_y:7; b=_x:3,_y:3; b=_x:3,_y:5; b=_x:4,_y:4; b=_x:6,_y:4; b=_x:8,_y:4; _root=health:1,backgroundd:7,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:8; t=_x:12,_y:8; l=_x:12,_y:4; l=_x:12,_y:12; l=_x:12,_y:13; l=_x:12,_y:3; l=_x:20,_y:8; l=_x:22,_y:3; l=_x:21,_y:14; l=_x:3,_y:14; l=_x:2,_y:3; l=_x:2,_y:8; d=_x:12,_y:10; b=_x:13,_y:10; b=_x:13,_y:11; b=_x:12,_y:11; b=_x:11,_y:11; b=_x:11,_y:10; b=_x:10,_y:7; b=_x:11,_y:7; b=_x:12,_y:7; b=_x:13,_y:7; b=_x:14,_y:7; b=_x:14,_y:8; b=_x:14,_y:9; b=_x:13,_y:9; b=_x:11,_y:9; b=_x:10,_y:9; b=_x:10,_y:8; _root=health:1,backgroundd:3,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:5,_y:3; y=_x:5,_y:8,xdestination:4,ydestination:8; y=_x:19,_y:9,xdestination:18,ydestination:9; y=_x:21,_y:10,xdestination:21,ydestination:11; t=_x:9,_y:6; t=_x:14,_y:3; t=_x:16,_y:3; q=_x:2,_y:6; q=_x:8,_y:6; q=_x:21,_y:15; q=_x:21,_y:14; o=_x:5,_y:7,rrotate:90,openWhen:4; o=_x:15,_y:15,rrotate:0,openWhen:3; o=_x:19,_y:10,rrotate:90,openWhen:2; o=_x:21,_y:3,rrotate:0,openWhen:0; o=_x:22,_y:4,rrotate:90,openWhen:0; j=_x:11,_y:5; j=_x:16,_y:15; h=_x:3,_y:14; d=_x:22,_y:3; b=_x:2,_y:7; b=_x:3,_y:7; b=_x:4,_y:7; b=_x:6,_y:7; b=_x:7,_y:7; b=_x:8,_y:7; b=_x:9,_y:7; b=_x:10,_y:7; b=_x:10,_y:6; b=_x:10,_y:4; b=_x:10,_y:5; b=_x:10,_y:3; b=_x:15,_y:3; b=_x:15,_y:4; b=_x:15,_y:5; b=_x:15,_y:6; b=_x:15,_y:7; b=_x:15,_y:8; b=_x:15,_y:9; b=_x:15,_y:10; b=_x:15,_y:11; b=_x:15,_y:12; b=_x:15,_y:13; b=_x:15,_y:14; b=_x:16,_y:10; b=_x:17,_y:10; b=_x:18,_y:10; b=_x:20,_y:10; b=_x:20,_y:11; b=_x:20,_y:12; b=_x:20,_y:13; b=_x:20,_y:14; b=_x:20,_y:15; b=_x:21,_y:4; _root=health:1,backgroundd:18,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:11,_y:9; y=_x:13,_y:7,xdestination:13,ydestination:6; w=_x:12,_y:14,xdestination:11,ydestination:13; w=_x:10,_y:14,xdestination:10,ydestination:15; w=_x:11,_y:14,xdestination:11,ydestination:15; w=_x:12,_y:12,xdestination:12,ydestination:11; w=_x:11,_y:12,xdestination:11,ydestination:11; w=_x:10,_y:12,xdestination:10,ydestination:11; w=_x:18,_y:9,xdestination:18,ydestination:10; t=_x:18,_y:12; t=_x:11,_y:3; t=_x:12,_y:9; q=_x:22,_y:3; o=_x:9,_y:13,rrotate:0,openWhen:0; o=_x:8,_y:10,rrotate:90,openWhen:1; o=_x:18,_y:8,rrotate:90,openWhen:2; o=_x:13,_y:8,rrotate:90,openWhen:3; l=_x:22,_y:9; l=_x:6,_y:9; l=_x:12,_y:5; l=_x:12,_y:13; j=_x:8,_y:11; j=_x:15,_y:10; j=_x:2,_y:3; g=_x:10,_y:13; d=_x:2,_y:15; b=_x:5,_y:8; b=_x:6,_y:7; b=_x:5,_y:7; b=_x:6,_y:6; b=_x:10,_y:10; b=_x:22,_y:8; b=_x:21,_y:8; b=_x:20,_y:8; b=_x:19,_y:8; b=_x:17,_y:8; b=_x:16,_y:8; b=_x:15,_y:8; b=_x:10,_y:3; b=_x:10,_y:4; b=_x:10,_y:5; b=_x:10,_y:6; b=_x:10,_y:7; b=_x:2,_y:4; b=_x:2,_y:5; b=_x:2,_y:6; b=_x:2,_y:7; b=_x:2,_y:8; b=_x:2,_y:9; b=_x:9,_y:15; b=_x:9,_y:14; b=_x:9,_y:12; b=_x:9,_y:11; b=_x:9,_y:10; b=_x:7,_y:10; b=_x:6,_y:10; b=_x:5,_y:10; b=_x:4,_y:10; b=_x:3,_y:10; b=_x:2,_y:10; b=_x:10,_y:8; b=_x:11,_y:10; b=_x:12,_y:10; b=_x:13,_y:10; b=_x:14,_y:10; b=_x:14,_y:9; b=_x:14,_y:8; b=_x:12,_y:8; b=_x:11,_y:8; b=_x:4,_y:3; b=_x:7,_y:6; b=_x:8,_y:8; b=_x:5,_y:3; b=_x:7,_y:4; b=_x:3,_y:5; b=_x:6,_y:5; b=_x:5,_y:6; b=_x:5,_y:4; b=_x:5,_y:5; _root=health:1,backgroundd:10,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:2,_y:15; r=_x:20,_y:9; q=_x:4,_y:9; q=_x:5,_y:9; q=_x:6,_y:9; o=_x:3,_y:9,rrotate:0,openWhen:3; l=_x:22,_y:15; l=_x:22,_y:3; d=_x:22,_y:9; b=_x:3,_y:14; b=_x:3,_y:13; b=_x:3,_y:12; b=_x:3,_y:11; b=_x:3,_y:10; b=_x:3,_y:8; b=_x:3,_y:7; b=_x:3,_y:6; b=_x:3,_y:5; b=_x:3,_y:4; b=_x:4,_y:4; b=_x:6,_y:4; b=_x:5,_y:4; b=_x:7,_y:4; b=_x:9,_y:4; b=_x:8,_y:4; b=_x:10,_y:4; b=_x:11,_y:4; b=_x:12,_y:4; b=_x:13,_y:4; b=_x:14,_y:4; b=_x:15,_y:4; b=_x:16,_y:4; b=_x:17,_y:4; b=_x:18,_y:4; b=_x:19,_y:4; b=_x:20,_y:4; b=_x:21,_y:4; b=_x:21,_y:5; b=_x:21,_y:6; b=_x:21,_y:7; b=_x:21,_y:8; b=_x:21,_y:9; b=_x:21,_y:10; b=_x:21,_y:11; b=_x:21,_y:12; b=_x:21,_y:13; b=_x:21,_y:14; b=_x:20,_y:14; b=_x:19,_y:14; b=_x:18,_y:14; b=_x:17,_y:14; b=_x:16,_y:14; b=_x:15,_y:14; b=_x:14,_y:14; b=_x:13,_y:14; b=_x:12,_y:14; b=_x:11,_y:14; b=_x:10,_y:14; b=_x:9,_y:14; b=_x:8,_y:14; b=_x:7,_y:14; b=_x:6,_y:14; b=_x:5,_y:14; b=_x:4,_y:14; _root=health:1,backgroundd:1,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; u=_x:5,_y:12,ccolor:green,rrotate:90; u=_x:7,_y:15,ccolor:yellow,rrotate:0; u=_x:20,_y:8,ccolor:yellow,rrotate:0; t=_x:3,_y:3; t=_x:14,_y:4; q=_x:7,_y:3; q=_x:5,_y:8; o=_x:3,_y:4,rrotate:90,openWhen:4; o=_x:4,_y:4,rrotate:0,openWhen:4; o=_x:3,_y:8,rrotate:0,openWhen:2; l=_x:6,_y:3; l=_x:2,_y:10; k=_x:2,_y:8,ccolor:green; k=_x:4,_y:14,ccolor:yellow; j=_x:6,_y:13; j=_x:22,_y:8; g=_x:21,_y:12; g=_x:22,_y:12; g=_x:21,_y:13; d=_x:2,_y:15; b=_x:3,_y:9; b=_x:2,_y:9; b=_x:2,_y:7; b=_x:3,_y:7; b=_x:7,_y:4; b=_x:6,_y:4; b=_x:7,_y:7; b=_x:6,_y:7; b=_x:2,_y:4; b=_x:3,_y:5; b=_x:4,_y:3; b=_x:4,_y:5; b=_x:2,_y:12; b=_x:3,_y:12; b=_x:4,_y:12; b=_x:6,_y:12; b=_x:7,_y:12; b=_x:7,_y:13; b=_x:7,_y:14; b=_x:11,_y:14; b=_x:11,_y:13; b=_x:11,_y:12; b=_x:11,_y:11; b=_x:11,_y:10; b=_x:11,_y:9; b=_x:11,_y:7; b=_x:11,_y:8; b=_x:11,_y:6; b=_x:11,_y:5; b=_x:11,_y:4; b=_x:11,_y:3; b=_x:8,_y:13; b=_x:9,_y:13; b=_x:9,_y:14; b=_x:9,_y:12; b=_x:9,_y:11; b=_x:9,_y:10; b=_x:9,_y:9; b=_x:9,_y:8; b=_x:22,_y:7; b=_x:21,_y:7; b=_x:20,_y:7; b=_x:20,_y:9; b=_x:22,_y:9; b=_x:14,_y:5; b=_x:15,_y:4; b=_x:20,_y:11; b=_x:20,_y:10; b=_x:20,_y:12; b=_x:20,_y:13; b=_x:20,_y:14; b=_x:20,_y:15; _root=health:1,backgroundd:16,zoomView:1>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; u=_x:14,_y:12,ccolor:red,rrotate:0; u=_x:2,_y:12,ccolor:red,rrotate:90; u=_x:22,_y:7,ccolor:green,rrotate:90; u=_x:18,_y:10,ccolor:green,rrotate:90; t=_x:22,_y:5; t=_x:5,_y:8; t=_x:18,_y:11; r=_x:16,_y:11; q=_x:2,_y:5; q=_x:22,_y:11; o=_x:2,_y:11,rrotate:0,openWhen:0; o=_x:21,_y:10,rrotate:90,openWhen:1; k=_x:2,_y:10,ccolor:red; k=_x:22,_y:6,ccolor:green; i=_x:2,_y:15; h=_x:2,_y:14; g=_x:2,_y:13; d=_x:18,_y:12; b=_x:3,_y:15; b=_x:3,_y:14; b=_x:3,_y:13; b=_x:3,_y:12; b=_x:19,_y:10; b=_x:16,_y:13; b=_x:15,_y:13; b=_x:14,_y:13; b=_x:14,_y:11; b=_x:2,_y:4; b=_x:4,_y:5; b=_x:5,_y:5; b=_x:6,_y:5; b=_x:7,_y:5; b=_x:8,_y:5; b=_x:9,_y:5; b=_x:10,_y:5; b=_x:11,_y:5; b=_x:13,_y:5; b=_x:12,_y:5; b=_x:14,_y:5; b=_x:15,_y:5; b=_x:16,_y:5; b=_x:17,_y:5; b=_x:18,_y:5; b=_x:19,_y:5; b=_x:20,_y:5; b=_x:21,_y:5; b=_x:2,_y:7; b=_x:3,_y:7; b=_x:4,_y:7; b=_x:5,_y:7; b=_x:6,_y:7; b=_x:7,_y:7; b=_x:8,_y:7; b=_x:9,_y:7; b=_x:10,_y:7; b=_x:11,_y:7; b=_x:12,_y:7; b=_x:13,_y:7; b=_x:14,_y:7; b=_x:15,_y:7; b=_x:16,_y:7; b=_x:17,_y:7; b=_x:18,_y:7; b=_x:19,_y:7; b=_x:20,_y:7; b=_x:21,_y:7; b=_x:22,_y:10; b=_x:20,_y:10; b=_x:17,_y:10; b=_x:19,_y:9; b=_x:17,_y:8; b=_x:15,_y:9; b=_x:13,_y:8; b=_x:11,_y:9; b=_x:9,_y:8; b=_x:7,_y:9; b=_x:3,_y:8; b=_x:3,_y:9; b=_x:3,_y:10; b=_x:5,_y:10; b=_x:6,_y:10; b=_x:7,_y:10; b=_x:8,_y:10; b=_x:9,_y:10; b=_x:10,_y:10; b=_x:11,_y:10; b=_x:12,_y:10; b=_x:13,_y:10; b=_x:15,_y:10; b=_x:16,_y:10; b=_x:14,_y:10; b=_x:17,_y:11; b=_x:17,_y:12; b=_x:17,_y:13; b=_x:18,_y:13; b=_x:19,_y:13; b=_x:19,_y:12; b=_x:19,_y:11; _root=health:1,backgroundd:1,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:3,_y:3; j=_x:6,_y:15; j=_x:11,_y:6; j=_x:20,_y:9; h=_x:4,_y:11; f=_x:14,_y:11; d=_x:21,_y:3; b=_x:10,_y:9; b=_x:11,_y:10; b=_x:12,_y:9; b=_x:11,_y:5; b=_x:10,_y:6; b=_x:9,_y:7; b=_x:8,_y:8; b=_x:7,_y:9; b=_x:12,_y:6; b=_x:13,_y:7; b=_x:14,_y:8; b=_x:15,_y:9; b=_x:5,_y:10; b=_x:6,_y:11; b=_x:7,_y:12; b=_x:8,_y:13; b=_x:9,_y:14; b=_x:10,_y:15; b=_x:12,_y:15; b=_x:13,_y:14; b=_x:14,_y:13; b=_x:15,_y:12; b=_x:16,_y:11; b=_x:17,_y:10; b=_x:18,_y:9; b=_x:19,_y:8; b=_x:4,_y:9; b=_x:3,_y:8; b=_x:9,_y:11; b=_x:10,_y:12; b=_x:11,_y:13; b=_x:12,_y:12; b=_x:13,_y:11; b=_x:2,_y:11; b=_x:5,_y:11; b=_x:4,_y:12; b=_x:5,_y:14; b=_x:7,_y:14; b=_x:4,_y:15; b=_x:2,_y:4; b=_x:3,_y:5; b=_x:4,_y:6; b=_x:5,_y:7; b=_x:8,_y:7; b=_x:7,_y:6; b=_x:6,_y:5; b=_x:5,_y:4; b=_x:7,_y:3; b=_x:8,_y:4; b=_x:10,_y:4; b=_x:13,_y:3; b=_x:14,_y:6; b=_x:15,_y:5; b=_x:16,_y:4; b=_x:20,_y:3; b=_x:19,_y:4; b=_x:18,_y:5; b=_x:17,_y:6; b=_x:16,_y:7; b=_x:20,_y:6; b=_x:20,_y:7; b=_x:20,_y:4; b=_x:21,_y:4; b=_x:22,_y:6; b=_x:22,_y:8; b=_x:19,_y:10; b=_x:20,_y:11; b=_x:21,_y:12; b=_x:17,_y:12; b=_x:18,_y:13; b=_x:19,_y:14; b=_x:15,_y:14; _root=health:3,backgroundd:8,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:6,_y:15; t=_x:12,_y:8; q=_x:22,_y:14; o=_x:7,_y:15,rrotate:0,openWhen:4; o=_x:6,_y:14,rrotate:90,openWhen:4; o=_x:5,_y:15,rrotate:0,openWhen:4; o=_x:22,_y:10,rrotate:90,openWhen:4; o=_x:21,_y:11,rrotate:0,openWhen:4; o=_x:21,_y:12,rrotate:0,openWhen:4; o=_x:21,_y:13,rrotate:0,openWhen:4; o=_x:21,_y:14,rrotate:0,openWhen:4; o=_x:21,_y:15,rrotate:0,openWhen:4; n=_x:22,_y:13; m=_x:22,_y:12; l=_x:22,_y:11; j=_x:22,_y:15; d=_x:2,_y:15; b=_x:7,_y:14; b=_x:5,_y:14; b=_x:12,_y:7; b=_x:13,_y:7; b=_x:13,_y:8; b=_x:13,_y:9; b=_x:12,_y:9; b=_x:11,_y:9; b=_x:11,_y:8; b=_x:11,_y:7; b=_x:21,_y:10; _root=health:1,backgroundd:2,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:20,_y:3; y=_x:15,_y:8,xdestination:2,ydestination:13; y=_x:13,_y:15,xdestination:10,ydestination:6; u=_x:17,_y:3,ccolor:red,rrotate:0; t=_x:2,_y:14; q=_x:22,_y:3; k=_x:19,_y:3,ccolor:red; d=_x:2,_y:15; b=_x:7,_y:14; b=_x:8,_y:13; b=_x:8,_y:15; b=_x:5,_y:13; b=_x:12,_y:5; b=_x:17,_y:4; b=_x:18,_y:4; b=_x:19,_y:4; b=_x:20,_y:4; b=_x:21,_y:4; b=_x:22,_y:4; b=_x:16,_y:4; b=_x:15,_y:4; b=_x:13,_y:3; b=_x:14,_y:5; b=_x:11,_y:4; b=_x:11,_y:6; b=_x:13,_y:6; b=_x:12,_y:8; b=_x:13,_y:8; b=_x:14,_y:8; b=_x:15,_y:7; b=_x:17,_y:6; b=_x:19,_y:6; b=_x:20,_y:6; b=_x:21,_y:6; b=_x:22,_y:8; b=_x:20,_y:7; b=_x:19,_y:8; b=_x:18,_y:8; b=_x:18,_y:9; b=_x:18,_y:10; b=_x:18,_y:11; b=_x:20,_y:10; b=_x:20,_y:11; b=_x:20,_y:12; b=_x:20,_y:13; b=_x:19,_y:13; b=_x:18,_y:13; b=_x:17,_y:11; b=_x:14,_y:12; b=_x:16,_y:12; b=_x:16,_y:13; b=_x:18,_y:14; b=_x:18,_y:15; b=_x:17,_y:15; b=_x:16,_y:15; b=_x:15,_y:15; b=_x:14,_y:15; b=_x:14,_y:14; b=_x:13,_y:11; b=_x:13,_y:14; b=_x:11,_y:11; b=_x:11,_y:12; b=_x:12,_y:13; b=_x:11,_y:13; b=_x:11,_y:10; b=_x:13,_y:9; b=_x:14,_y:9; b=_x:17,_y:8; b=_x:16,_y:8; b=_x:22,_y:9; b=_x:21,_y:11; b=_x:22,_y:13; b=_x:21,_y:15; b=_x:9,_y:3; b=_x:8,_y:4; b=_x:7,_y:5; b=_x:7,_y:4; b=_x:8,_y:3; b=_x:10,_y:5; b=_x:9,_y:6; b=_x:8,_y:7; b=_x:6,_y:6; b=_x:7,_y:8; b=_x:5,_y:7; b=_x:6,_y:9; b=_x:4,_y:8; b=_x:3,_y:9; b=_x:3,_y:10; b=_x:4,_y:10; b=_x:6,_y:10; b=_x:5,_y:12; b=_x:4,_y:11; b=_x:8,_y:11; b=_x:7,_y:12; b=_x:8,_y:12; b=_x:8,_y:9; b=_x:10,_y:9; b=_x:9,_y:8; b=_x:8,_y:8; b=_x:9,_y:11; b=_x:10,_y:13; b=_x:12,_y:14; b=_x:3,_y:12; b=_x:3,_y:14; b=_x:3,_y:15; b=_x:11,_y:9; b=_x:15,_y:12; b=_x:2,_y:12; b=_x:3,_y:13; _root=health:1,backgroundd:17,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; y=_x:4,_y:14,xdestination:2,ydestination:14; w=_x:22,_y:3,xdestination:21,ydestination:5; u=_x:22,_y:6,ccolor:red,rrotate:90; t=_x:2,_y:15; t=_x:21,_y:3; o=_x:22,_y:4,rrotate:90,openWhen:1; k=_x:22,_y:5,ccolor:red; j=_x:22,_y:7; j=_x:12,_y:3; h=_x:5,_y:3; d=_x:3,_y:15; b=_x:2,_y:4; b=_x:3,_y:4; b=_x:4,_y:4; b=_x:6,_y:4; b=_x:5,_y:4; b=_x:7,_y:4; b=_x:8,_y:4; b=_x:9,_y:4; b=_x:10,_y:4; b=_x:11,_y:4; b=_x:12,_y:4; b=_x:14,_y:4; b=_x:13,_y:4; b=_x:15,_y:4; b=_x:17,_y:4; b=_x:16,_y:4; b=_x:18,_y:4; b=_x:19,_y:4; b=_x:20,_y:4; b=_x:21,_y:4; b=_x:3,_y:14; b=_x:4,_y:15; b=_x:3,_y:13; b=_x:2,_y:13; b=_x:21,_y:6; b=_x:21,_y:7; b=_x:21,_y:8; b=_x:22,_y:8; b=_x:19,_y:5; b=_x:20,_y:7; b=_x:20,_y:10; b=_x:20,_y:14; b=_x:20,_y:11; b=_x:21,_y:13; b=_x:22,_y:10; b=_x:22,_y:11; b=_x:22,_y:12; b=_x:22,_y:15; b=_x:19,_y:8; b=_x:19,_y:10; b=_x:19,_y:11; b=_x:19,_y:12; b=_x:19,_y:14; b=_x:18,_y:6; b=_x:18,_y:10; b=_x:18,_y:13; b=_x:18,_y:15; b=_x:17,_y:7; b=_x:17,_y:8; b=_x:16,_y:6; b=_x:16,_y:10; b=_x:16,_y:12; b=_x:16,_y:14; b=_x:15,_y:5; b=_x:15,_y:7; b=_x:15,_y:9; b=_x:15,_y:10; b=_x:15,_y:12; b=_x:14,_y:9; b=_x:14,_y:11; b=_x:14,_y:14; b=_x:13,_y:6; b=_x:13,_y:8; b=_x:13,_y:13; b=_x:13,_y:15; b=_x:12,_y:7; b=_x:12,_y:10; b=_x:12,_y:15; b=_x:11,_y:5; b=_x:11,_y:7; b=_x:11,_y:9; b=_x:11,_y:11; b=_x:11,_y:13; b=_x:10,_y:8; b=_x:10,_y:12; b=_x:10,_y:15; b=_x:9,_y:5; b=_x:9,_y:7; b=_x:9,_y:10; b=_x:9,_y:12; b=_x:9,_y:14; b=_x:8,_y:14; b=_x:8,_y:12; b=_x:8,_y:9; b=_x:8,_y:8; b=_x:7,_y:6; b=_x:7,_y:10; b=_x:7,_y:11; b=_x:6,_y:8; b=_x:6,_y:11; b=_x:6,_y:14; b=_x:6,_y:13; b=_x:5,_y:6; b=_x:5,_y:9; b=_x:5,_y:13; b=_x:4,_y:5; b=_x:4,_y:11; b=_x:3,_y:7; b=_x:3,_y:9; b=_x:3,_y:10; b=_x:3,_y:11; b=_x:3,_y:12; b=_x:2,_y:5; b=_x:5,_y:15; _root=health:2,backgroundd:7,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; t=_x:10,_y:11; q=_x:2,_y:15; l=_x:22,_y:15; j=_x:22,_y:3; d=_x:3,_y:3; d=_x:2,_y:4; b=_x:11,_y:11; b=_x:10,_y:12; b=_x:11,_y:10; b=_x:11,_y:12; b=_x:9,_y:12; b=_x:7,_y:4; b=_x:9,_y:6; b=_x:11,_y:8; b=_x:8,_y:12; b=_x:6,_y:10; b=_x:4,_y:8; b=_x:2,_y:6; b=_x:9,_y:10; b=_x:8,_y:9; b=_x:7,_y:8; b=_x:6,_y:7; b=_x:5,_y:6; b=_x:4,_y:5; b=_x:3,_y:4; _root=health:1,backgroundd:3,zoomView:0>", "bar1=_x:1,_y:1; bar2=_x:1,_y:1; z=_x:2,_y:3; y=_x:14,_y:7,xdestination:11,ydestination:8; y=_x:15,_y:14,xdestination:13,ydestination:8; y=_x:17,_y:8,xdestination:16,ydestination:14; y=_x:18,_y:7,xdestination:15,ydestination:7; y=_x:11,_y:7,xdestination:18,ydestination:6; w=_x:20,_y:10,xdestination:19,ydestination:10; w=_x:19,_y:8,xdestination:3,ydestination:15; u=_x:20,_y:12,ccolor:blue,rrotate:0; u=_x:14,_y:15,ccolor:red,rrotate:0; t=_x:22,_y:3; t=_x:22,_y:15; q=_x:9,_y:3; q=_x:9,_y:8; q=_x:2,_y:8; o=_x:21,_y:9,rrotate:90,openWhen:1; o=_x:21,_y:13,rrotate:90,openWhen:0; o=_x:20,_y:8,rrotate:0,openWhen:0; o=_x:21,_y:11,rrotate:90,openWhen:0; l=_x:17,_y:15; k=_x:22,_y:10,ccolor:blue; k=_x:11,_y:15,ccolor:red; j=_x:22,_y:12; i=_x:4,_y:13; i=_x:21,_y:15; h=_x:21,_y:14; d=_x:2,_y:15; b=_x:11,_y:6; b=_x:10,_y:6; b=_x:10,_y:7; b=_x:10,_y:8; b=_x:19,_y:13; b=_x:19,_y:6; b=_x:2,_y:9; b=_x:3,_y:9; b=_x:5,_y:9; b=_x:4,_y:9; b=_x:6,_y:9; b=_x:7,_y:9; b=_x:8,_y:9; b=_x:9,_y:9; b=_x:10,_y:9; b=_x:11,_y:9; b=_x:12,_y:9; b=_x:13,_y:9; b=_x:14,_y:9; b=_x:15,_y:9; b=_x:16,_y:9; b=_x:18,_y:9; b=_x:17,_y:9; b=_x:19,_y:9; b=_x:20,_y:9; b=_x:22,_y:9; b=_x:22,_y:13; b=_x:22,_y:11; b=_x:20,_y:13; b=_x:20,_y:11; b=_x:18,_y:13; b=_x:17,_y:13; b=_x:16,_y:13; b=_x:15,_y:13; b=_x:14,_y:13; b=_x:13,_y:13; b=_x:12,_y:15; b=_x:14,_y:14; b=_x:16,_y:15; b=_x:10,_y:14; b=_x:3,_y:14; b=_x:12,_y:13; b=_x:10,_y:13; b=_x:11,_y:13; b=_x:9,_y:13; b=_x:8,_y:13; b=_x:7,_y:13; b=_x:6,_y:13; b=_x:5,_y:13; b=_x:2,_y:13; b=_x:18,_y:12; b=_x:18,_y:11; b=_x:13,_y:11; b=_x:14,_y:11; b=_x:15,_y:11; b=_x:16,_y:11; b=_x:12,_y:11; b=_x:11,_y:11; b=_x:10,_y:10; b=_x:8,_y:12; b=_x:8,_y:11; b=_x:6,_y:10; b=_x:6,_y:11; b=_x:4,_y:12; b=_x:4,_y:11; b=_x:3,_y:11; b=_x:6,_y:14; b=_x:4,_y:15; b=_x:9,_y:12; b=_x:8,_y:14; b=_x:18,_y:14; b=_x:20,_y:15; b=_x:22,_y:14; b=_x:12,_y:8; b=_x:12,_y:7; b=_x:12,_y:6; b=_x:14,_y:6; b=_x:13,_y:6; b=_x:15,_y:6; b=_x:16,_y:6; b=_x:17,_y:6; b=_x:18,_y:8; b=_x:15,_y:8; b=_x:17,_y:7; b=_x:14,_y:8; b=_x:17,_y:5; b=_x:18,_y:5; b=_x:19,_y:5; b=_x:19,_y:7; b=_x:20,_y:7; _root=health:1,backgroundd:2,zoomView:1>");
_root.charList = new Array("b", "d", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "t", "u", "v", "w", "x", "y", "z", "fire", "bar1", "bar2");
_root.monsterList = new Array("m", "n", "l", "j", "q");
this._visible = 0;
_root.musicon = true;
_root.gameSpeed = 1;
_root.lighting = 1;
_root.soundon = true;
_root.dontLoad = false;
_root.warning = 0;
_root.healthTotal = 0;
_root.totalLevel = 0;
_root.zoomView = false;
_root.qual = 0;
_root._quality = "HIGH";
}
Frame 74
_root.lastScreen = "menu";
_root.bye();
_root._width = 565;
_root._height = 410;
_root._x = 0;
_root._y = 0;
stop();
if (_root.musicon) {
_root.ironGate = new Sound(_root.main);
_root.ironGate.attachSound("music4");
_root.ironGate.start(2, 99999);
_root.ironGate.setVolume(75);
}
Instance of Symbol 1055 MovieClip [n] in Frame 74
onClipEvent (load) {
stop();
}
Instance of Symbol 1136 MovieClip [q] in Frame 74
onClipEvent (load) {
stop();
}
Instance of Symbol 1914 MovieClip in Frame 74
onClipEvent (load) {
stop();
}
Instance of Symbol 1958 MovieClip in Frame 74
onClipEvent (load) {
stop();
}
Frame 75
stop();
_root.lastScreen = "level creator";
if (_root.alreadySeenLevelInstructions) {
gotoAndStop (76);
}
Frame 76
stop();
_root.alreadySeenLevelInstructions = 1;
_root.lastScreen = "level creator";
Instance of Symbol 151 MovieClip "actions" in Frame 76
onClipEvent (load) {
if (_root.dontLoad == false) {
_root.dontPressYet = 0;
_root.attachMovie("cover", "cover", 411);
_root.zoomView = false;
_root.covered = false;
_root.skipWarp = 0;
_root.tabOpen = false;
_root.optionsOpen = false;
_root._width = 590.7;
_root._height = 439.75;
_root._x = 0;
_root._y = 12;
_root.dontDelete = false;
_root.creatorDistorted = true;
_root.attachMovie("optionsTab", "optionsTab", 88888);
_root.optionsTabHealth = 1;
_root.optionsTab._x = 546.4;
_root.optionsTab._y = 203.3;
alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123450489~!@#$%^&*()+=-?<>";
alphcolor = new Array("0xFF0000", "0x00FF00", "0x0000FF", "0xFFFF00", "0x00FFFF", "0xFF00FF", "0x9900FF", "0xFF7700", "0xFFFFFF");
_root.alphaCount = 0;
i = 0;
while (i < _root.charList.length) {
_root["mx" + _root.charList[i]] = 0;
i++;
}
i = 0;
while (i < _root.charList.length) {
_root["rx" + _root.charList[i]] = 0;
i++;
}
_root.total = 0;
i = 273;
while (i > 0) {
_root["kk" + i] = "v";
i--;
}
_root.location = 0;
_root.previousLocation = 0;
_root.carryOn = true;
_root.highCarryOn = true;
_root.highestCarryOn = true;
_root.objectName = "";
_root.totalAmount = 0;
_root.equalAmount = 0;
_root.totall = 0;
_root.i = 0;
once = 0;
} else {
_root.dontLoad = false;
once = 3;
_root.bbackground.gotoAndStop(_root.backgroundd);
}
this._visible = 0;
}
onClipEvent (enterFrame) {
_root.brickx = _root.b1._y;
if (once == 0) {
_root.one = _root.uno;
once++;
_root.editGo();
_root.bbackground.gotoAndStop(_root.backgroundd);
_root.optionsTabHealth = _root.health;
_root.optionsTab.bbackground_small.gotoAndStop(_root.backgroundd);
_root.optionsTab.heartTab.gotoAndStop(_root.health);
i = _root.mxd;
while (i > 0) {
_root.editLevelSprites("d", i);
i--;
}
_root.rxd = _root.mxd;
i = _root.mxg;
while (i > 0) {
_root.editLevelSprites("g", i);
i--;
}
_root.rxg = _root.mxg;
i = _root.mxt;
while (i > 0) {
_root.editLevelSprites("t", i);
i--;
}
_root.rxt = _root.mxt;
i = _root.mxb;
while (i > 0) {
_root.editLevelSprites("b", i);
i--;
}
_root.rxb = _root.mxb;
i = _root.mxh;
while (i > 0) {
_root.editLevelSprites("h", i);
i--;
}
_root.rxh = _root.mxh;
i = _root.mxf;
while (i > 0) {
_root.editLevelSprites("f", i);
i--;
}
_root.rxf = _root.mxf;
i = _root.mxi;
while (i > 0) {
_root.editLevelSprites("i", i);
i--;
}
_root.rxi = _root.mxi;
i = _root.mxr;
while (i > 0) {
_root.editLevelSprites("r", i);
i--;
}
_root.rxr = _root.mxr;
i = _root.mxw;
while (i > 0) {
_root.editLevelSprites("w", i);
_root.colorcode = _root.alphaCount;
while (_root.colorcode > 8) {
_root.colorcode = _root.colorcode - 9;
}
_root["w" + i].attachMovie("alpha", "alph" + (i + 101), _root.total++);
_root["w" + i]["alph" + (i + 101)]._x = _root[("aw" + (i + 101)) + "destination"]._x + 24;
_root["w" + i]["alph" + (i + 101)]._y = _root[("aw" + (i + 101)) + "destination"]._y + 12;
_root["w" + i].alph = alphabet.substr(_root.alphaCount, 1);
yColor = new Color(_root["w" + i]["alph" + (i + 101)].box);
yColor.setRGB(alphcolor[_root.colorcode]);
_root.attachMovie("wdestination", ("aw" + i) + "destination", _root.total++);
_root[("aw" + i) + "destination"]._x = _root["w" + i].xdestination;
_root[("aw" + i) + "destination"]._y = _root["w" + i].ydestination;
_root[("aw" + i) + "destination"].attachMovie("alpha", "alph" + i, _root.total++);
_root[("aw" + i) + "destination"]["alph" + i]._x = _root[("aw" + i) + "destination"]["alph" + i]._x + 24;
_root[("aw" + i) + "destination"]["alph" + i]._y = _root[("aw" + i) + "destination"]["alph" + i]._y + 12;
_root[("aw" + i) + "destination"].alph = alphabet.substr(_root.alphaCount++, 1);
myColor = new Color(_root[("aw" + i) + "destination"]["alph" + i].box);
myColor.setRGB(alphcolor[_root.colorcode]);
i--;
}
_root.rxw = _root.mxw;
i = _root.mxx;
while (i > 0) {
_root.editLevelSprites("x", i);
_root.colorcode = _root.alphaCount;
while (_root.colorcode > 8) {
_root.colorcode = _root.colorcode - 9;
}
_root["x" + i].attachMovie("clpha", "clph" + (i + 101), _root.total++);
_root["x" + i]["clph" + (i + 101)]._x = _root[("cw" + (i + 101)) + "destination"]._x + 24;
_root["x" + i]["clph" + (i + 101)]._y = _root[("cw" + (i + 101)) + "destination"]._y + 12;
_root["x" + i].alph = alphabet.substr(_root.alphaCount, 1);
yColor = new Color(_root["x" + i]["clph" + (i + 101)].box);
yColor.setRGB(alphcolor[_root.colorcode]);
_root.attachMovie("xdestination", ("cw" + i) + "destination", _root.total++);
_root[("cw" + i) + "destination"]._x = _root["x" + i].xdestination;
_root[("cw" + i) + "destination"]._y = _root["x" + i].ydestination;
_root[("cw" + i) + "destination"].attachMovie("clpha", "clph" + i, _root.total++);
_root[("cw" + i) + "destination"]["clph" + i]._x = _root[("cw" + i) + "destination"]["clph" + i]._x + 24;
_root[("cw" + i) + "destination"]["clph" + i]._y = _root[("cw" + i) + "destination"]["clph" + i]._y + 12;
_root[("cw" + i) + "destination"].alph = alphabet.substr(_root.alphaCount++, 1);
myColor = new Color(_root[("cw" + i) + "destination"]["clph" + i].box);
myColor.setRGB(alphcolor[_root.colorcode]);
i--;
}
_root.rxx = _root.mxx;
i = _root.mxy;
while (i > 0) {
_root.editLevelSprites("y", i);
_root.colorcode = _root.alphaCount;
while (_root.colorcode > 8) {
_root.colorcode = _root.colorcode - 9;
}
_root[("y" + i) + "position"] = _root["y" + i].x;
_root["y" + i].attachMovie("elpha", "elph" + (i + 101), _root.total++);
_root["y" + i]["elph" + (i + 101)]._x = _root[("ew" + (i + 101)) + "destination"]._x + 24;
_root["y" + i]["elph" + (i + 101)]._y = _root[("ew" + (i + 101)) + "destination"]._y + 12;
_root["y" + i].alph = alphabet.substr(_root.alphaCount, 1);
yColor = new Color(_root["y" + i]["elph" + (i + 101)].box);
yColor.setRGB(alphcolor[_root.colorcode]);
_root.attachMovie("ydestination", ("ew" + i) + "destination", _root.total++);
_root[("ew" + i) + "destination"]._x = _root["y" + i].xdestination;
_root[("ew" + i) + "destination"]._y = _root["y" + i].ydestination;
_root[("ew" + i) + "destination"].attachMovie("elpha", "elph" + i, _root.total++);
_root[("ew" + i) + "destination"]["elph" + i]._x = _root[("ew" + i) + "destination"]["elph" + i]._x + 24;
_root[("ew" + i) + "destination"]["elph" + i]._y = _root[("ew" + i) + "destination"]["elph" + i]._y + 12;
_root[("ew" + i) + "destination"].alph = alphabet.substr(_root.alphaCount++, 1);
myColor = new Color(_root[("ew" + i) + "destination"]["elph" + i].box);
myColor.setRGB(alphcolor[_root.colorcode]);
i--;
}
_root.rxy = _root.mxy;
i = _root.mxk;
while (i > 0) {
_root.editLevelSprites("k", i);
if (_root["k" + i].ccolor == "blue") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0x0000FF");
}
if (_root["k" + i].ccolor == "green") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0x00FF00");
}
if (_root["k" + i].ccolor == "yellow") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0xFFFF00");
}
if (_root["k" + i].ccolor == "red") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0xFF0000");
}
i--;
}
_root.rxk = _root.mxk;
i = _root.mxm;
while (i > 0) {
_root.editLevelSprites("m", i);
i--;
}
_root.rxm = _root.mxm;
i = _root.mxn;
while (i > 0) {
_root.editLevelSprites("n", i);
i--;
}
_root.rxn = _root.mxn;
i = _root.mxl;
while (i > 0) {
_root.editLevelSprites("l", i);
i--;
}
_root.rxl = _root.mxl;
i = _root.mxj;
while (i > 0) {
_root.editLevelSprites("j", i);
i--;
}
_root.rxj = _root.mxj;
i = _root.mxq;
while (i > 0) {
_root.editLevelSprites("q", i);
i--;
}
_root.rxq = _root.mxq;
i = _root.mxu;
while (i > 0) {
_root.editLevelSprites("u", i);
_root["u" + i].rotate._rotation = _root["u" + i].rrotate;
_root["u" + i].attachMovie("lock", "lock", 1);
_root["u" + i].lock._x = 0;
_root["u" + i].lock._y = -2.6;
_root[(("u" + _root["u" + i]._x) + "x") + _root["u" + i]._y] = i;
if (_root["u" + i].ccolor == "blue") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0x0000FF");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0x0000FF");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0x0000FF");
}
if (_root["u" + i].ccolor == "green") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0x00FF00");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0x00FF00");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0x00FF00");
}
if (_root["u" + i].ccolor == "yellow") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0xFFFF00");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0xFFFF00");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0xFFFF00");
}
if (_root["u" + i].ccolor == "red") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0xFF0000");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0xFF0000");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0xFF0000");
}
_root.rxu = _root.mxu;
i--;
}
i = _root.mxv;
while (i > 0) {
_root.editLevelSprites("v", i);
i--;
}
_root.rxv = _root.mxv;
i = _root.mxo;
while (i > 0) {
_root.editLevelSprites("o", i);
_root["o" + i]._rotation = _root["o" + i].rrotate;
i--;
}
_root.rxo = _root.mxo;
i = _root.mxp;
while (i > 0) {
_root.editLevelSprites("p", i);
i--;
}
_root.rxp = _root.mxp;
i = _root.mxz;
while (i > 0) {
_root.editLevelSprites("z", i);
i--;
}
_root.rxz = _root.mxz;
once = 3;
} else {
once = 3;
}
i = 0;
while (i < _root.charList.length) {
if (_root["rx" + _root.charList[i]] <= 0) {
_root["mx" + _root.charList[i]] = 0;
}
i++;
}
_root[_root.drag]._x = _root._xmouse;
_root[_root.drag]._y = _root._ymouse;
_root.dragg = String(_root.drag);
_root.dragg = _root.dragg.substr(0, 1);
if (_root.mxz > 1) {
_root.attachMovie("warn1", "warning", _root.total++);
_root[_root.drag].removeMovieClip();
_root.drag = null;
_root.mxz = 1;
_root.rxz = 1;
}
if (_root.bomb._currentframe == 65) {
_root.bye();
i = 0;
while (i < _root.charList.length) {
_root["mx" + _root.charList[i]] = 0;
i++;
}
i = 0;
while (i < _root.charList.length) {
_root["rx" + _root.charList[i]] = 0;
i++;
}
_root.total = 0;
i = 273;
while (i > 0) {
_root["kk" + i] = "v";
i--;
}
}
}
onClipEvent (mouseDown) {
if (_root.dontPressYet > 0) {
_root.dontPressYet--;
}
if (_root.covered == false) {
if (_root.drag == "bomb") {
_root.bomb.gotoAndPlay("explode");
_root.drag = null;
_root.last = null;
}
if (_root.drag == null) {
if ((((_root._xmouse > 41) and (_root._ymouse > 50)) and (_root.tabOpen == false)) and (_root.optionsOpen == false)) {
_root.attachMovie("hand", "shand", 1999);
_root.shand._visible = 0;
_root.drag = "shand";
}
}
if ((_root.last == "k") and (_root.drag != null)) {
_root.attachMovie("key", "key", 1000000);
_root.last = null;
_root.covered = true;
_root.dontPressYet = 2;
}
if ((_root.last == "o") and (_root.drag != null)) {
_root.attachMovie("gate", "gate", 1000000);
_root.last = null;
_root.covered = true;
_root.dontPressYet = 2;
}
if ((_root.last == "u") and (_root.drag != null)) {
_root[_root.drag].attachMovie("lock", "lock", 1);
_root[_root.drag].lock._x = 0;
_root[_root.drag].lock._y = -2.6;
_root.attachMovie("lockedGate", "lockedGate", 1000000);
_root.last = null;
_root.covered = true;
_root.dontPressYet = 2;
}
snappedX = int((_root[_root.drag]._x + 12) / 24) * 24;
snappedY = int((_root[_root.drag]._y + 12) / 24) * 24;
if ((((snappedX < 540) and (snappedX > 36)) and (snappedY > 54)) and (snappedY < 369)) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("click");
this.ssound.start();
}
_root[_root.drag]._x = int((_root[_root.drag]._x + 12) / 24) * 24;
_root[_root.drag]._y = int((_root[_root.drag]._y + 12) / 24) * 24;
_root[_root.drag].x = _root[_root.drag]._x;
_root[_root.drag].y = _root[_root.drag]._y;
while (_root[_root.drag].y > 0) {
_root[_root.drag].x = _root[_root.drag].x + 504;
_root[_root.drag].y = _root[_root.drag].y - 24;
}
s = new String([_root.drag]);
_root[_root.drag].x = _root[_root.drag].x / 24;
_root[_root.drag].x = _root[_root.drag].x + 1;
if ((_root["kk" + _root[_root.drag].x] != "v") or (_root.drag.substr(0, 2) == "aw")) {
if (_root.drag == "srase") {
_root["rx" + _root.last]--;
_root.last = null;
}
i = _root["mx" + _root["kk" + _root[_root.drag].x]];
while (i > 0) {
if (((_root[_root["kk" + _root[_root.drag].x] + i]._x == _root[_root.drag]._x) and (_root[_root["kk" + _root[_root.drag].x] + i]._y == _root[_root.drag]._y)) and (_root[_root["kk" + _root[_root.drag].x] + i]._name != _root[_root.drag]._name)) {
if (_root.drag == "shand") {
whichK = _root[_root.drag].x;
_root.shand.removeMovieClip();
_root.drag = _root[_root["kk" + whichK] + i]._name;
if (_root["kk" + whichK] == "w") {
_root.skipWarp = 2;
}
if (_root["kk" + whichK] == "x") {
_root.skipWarp = 2;
}
if (_root["kk" + whichK] == "y") {
_root.skipWarp = 2;
}
_root.dontDelete = true;
} else {
q = _root["kk" + _root[_root.drag].x];
_root[_root["kk" + _root[_root.drag].x] + i].removeMovieClip();
_root["rx" + q]--;
}
}
i--;
}
} else if (_root.drag == "shand") {
_root.drag = null;
}
_root["kk" + _root[_root.drag].x] = s.slice(0, 1);
_root.dragg = String(_root.drag);
_root.dragg = _root.dragg.substr(0, 1);
if (((_root.dragg != "v") or (_root.drag == "srase")) or (_root.drag == "bomb")) {
if (_root.dontDelete == false) {
_root.drag = null;
}
}
if (_root.skipWarp == 0) {
if (_root.dontDelete == false) {
if (_root.dragg == "a") {
_root[("x" + _root.drag.substr(2, 1)) + "destination"] = _root[_root.drag]._x;
_root[("y" + _root.drag.substr(2, 1)) + "destination"] = _root[_root.drag]._y;
_root.drag = null;
}
if (_root.dragg == "w") {
colorcode = _root.alphaCount;
while (colorcode > 8) {
colorcode = colorcode - 9;
}
_root[("w" + _root.mxw) + "position"] = _root["w" + _root.mxw].x;
_root["w" + _root.mxw].attachMovie("alpha", "alph" + (_root.mxw + 101), _root.total++);
_root["w" + _root.mxw]["alph" + (_root.mxw + 101)]._x = _root[("aw" + (_root.mxw + 101)) + "destination"]._x + 24;
_root["w" + _root.mxw]["alph" + (_root.mxw + 101)]._y = _root[("aw" + (_root.mxw + 101)) + "destination"]._y + 12;
_root["w" + _root.mxw].alph = alphabet.substr(_root.alphaCount, 1);
yColor = new Color(_root["w" + _root.mxw]["alph" + (_root.mxw + 101)].box);
yColor.setRGB(alphcolor[colorcode]);
_root.drag = String(("aw" + _root.mxw) + "destination");
_root.attachMovie("wdestination", ("aw" + _root.mxw) + "destination", _root.total++);
_root[("aw" + _root.mxw) + "destination"].attachMovie("alpha", "alph" + _root.mxw, _root.total++);
_root[("aw" + _root.mxw) + "destination"]["alph" + _root.mxw]._x = _root[("aw" + _root.mxw) + "destination"]._x + 24;
_root[("aw" + _root.mxw) + "destination"]["alph" + _root.mxw]._y = _root[("aw" + _root.mxw) + "destination"]._y + 12;
_root[("aw" + _root.mxw) + "destination"].alph = alphabet.substr(_root.alphaCount++, 1);
myColor = new Color(_root[("aw" + _root.mxw) + "destination"]["alph" + _root.mxw].box);
myColor.setRGB(alphcolor[colorcode]);
}
if (_root.dragg == "c") {
_root[("x" + _root.drag.substr(2, 1)) + "destination"] = _root[_root.drag]._x;
_root[("y" + _root.drag.substr(2, 1)) + "destination"] = _root[_root.drag]._y;
_root.drag = null;
}
if (_root.dragg == "x") {
colorcode = _root.alphaCount;
while (colorcode > 8) {
colorcode = colorcode - 9;
}
_root[("x" + _root.mxx) + "position"] = _root["x" + _root.mxx].x;
_root["x" + _root.mxx].attachMovie("clpha", "clph" + (_root.mxx + 101), _root.total++);
_root["x" + _root.mxx]["clph" + (_root.mxx + 101)]._x = _root[("cw" + (_root.mxx + 101)) + "destination"]._x + 24;
_root["x" + _root.mxx]["clph" + (_root.mxx + 101)]._y = _root[("cw" + (_root.mxx + 101)) + "destination"]._y + 12;
_root["x" + _root.mxx].alph = alphabet.substr(_root.alphaCount, 1);
yColor = new Color(_root["x" + _root.mxx]["clph" + (_root.mxx + 101)].box);
yColor.setRGB(alphcolor[colorcode]);
_root.drag = String(("cw" + _root.mxx) + "destination");
_root.attachMovie("xdestination", ("cw" + _root.mxx) + "destination", _root.total++);
_root[("cw" + _root.mxx) + "destination"].attachMovie("clpha", "clph" + _root.mxx, _root.total++);
_root[("cw" + _root.mxx) + "destination"]["clph" + _root.mxx]._x = _root[("cw" + _root.mxx) + "destination"]._x + 24;
_root[("cw" + _root.mxx) + "destination"]["clph" + _root.mxx]._y = _root[("cw" + _root.mxx) + "destination"]._y + 12;
_root[("cw" + _root.mxx) + "destination"].alph = alphabet.substr(_root.alphaCount++, 1);
myColor = new Color(_root[("cw" + _root.mxx) + "destination"]["clph" + _root.mxx].box);
myColor.setRGB(alphcolor[colorcode]);
}
if (_root.dragg == "e") {
_root[("x" + _root.drag.substr(2, 1)) + "destination"] = _root[_root.drag]._x;
_root[("y" + _root.drag.substr(2, 1)) + "destination"] = _root[_root.drag]._y;
_root.drag = null;
}
if (_root.dragg == "y") {
colorcode = _root.alphaCount;
while (colorcode > 8) {
colorcode = colorcode - 9;
}
_root[("y" + _root.mxy) + "position"] = _root["y" + _root.mxy].x;
_root["y" + _root.mxy].attachMovie("elpha", "elph" + (_root.mxy + 101), _root.total++);
_root["y" + _root.mxy]["elph" + (_root.mxy + 101)]._x = _root[("ew" + (_root.mxy + 101)) + "destination"]._x + 24;
_root["y" + _root.mxy]["elph" + (_root.mxy + 101)]._y = _root[("ew" + (_root.mxy + 101)) + "destination"]._y + 12;
_root["y" + _root.mxy].alph = alphabet.substr(_root.alphaCount, 1);
yColor = new Color(_root["y" + _root.mxy]["elph" + (_root.mxy + 101)].box);
yColor.setRGB(alphcolor[colorcode]);
_root.drag = String(("ew" + _root.mxy) + "destination");
_root.attachMovie("ydestination", ("ew" + _root.mxy) + "destination", _root.total++);
_root[("ew" + _root.mxy) + "destination"].attachMovie("elpha", "elph" + _root.mxy, _root.total++);
_root[("ew" + _root.mxy) + "destination"]["elph" + _root.mxy]._x = _root[("ew" + _root.mxy) + "destination"]._x + 24;
_root[("ew" + _root.mxy) + "destination"]["elph" + _root.mxy]._y = _root[("ew" + _root.mxy) + "destination"]._y + 12;
_root[("ew" + _root.mxy) + "destination"].alph = alphabet.substr(_root.alphaCount++, 1);
myColor = new Color(_root[("ew" + _root.mxy) + "destination"]["elph" + _root.mxy].box);
myColor.setRGB(alphcolor[colorcode]);
}
}
} else {
_root.skipWarp--;
}
_root.dontDelete = false;
_root.srase.removeMovieClip();
_root.shand.removeMovieClip();
_root.dragg = String(_root.drag);
_root.dragg = _root.dragg.substr(0, 1);
}
}
}
onClipEvent (mouseUp) {
_root.tabOpen = false;
_root.monsters.removeMovieClip();
_root.warp.removeMovieClip();
_root.gates.removeMovieClip();
_root.powerups.removeMovieClip();
if (_root.dontPressYet > 0) {
_root.dontPressYet--;
}
}
onClipEvent (keyDown) {
if (Key.isDown(8)) {
i = _root[_root.drag]._name.substr(0, 1);
_root["rx" + i]--;
_root[_root.drag].removeMovieClip();
_root.drag = null;
_root.skipWarp = 0;
}
if ((_root.drag == null) and Key.isDown(13)) {
if (_root.last != "z") {
_root.edit(_root.last);
}
}
}
Frame 77
stop();
Instance of Symbol 146 MovieClip [FComboBoxSymbol] "quality" in Frame 77
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Best";
labels[1] = "High";
labels[2] = "Medium";
labels[3] = "Low";
data = [];
data[0] = 0;
data[1] = 1;
data[2] = 2;
data[3] = 3;
rowCount = 8;
changeHandler = "";
}
onClipEvent (load) {
this.setSelectedIndex(_root.qual);
}
onClipEvent (enterFrame) {
_root._quality = this.getSelectedItem().label;
_root.qual = this.getSelectedItem().data;
}
Instance of Symbol 142 MovieClip [FCheckBoxSymbol] "musicon" in Frame 77
//component parameters
onClipEvent (initialize) {
label = "";
initialValue = true;
labelPlacement = "right";
changeHandler = "";
}
onClipEvent (load) {
this.setValue(_root.musicon);
}
onClipEvent (enterFrame) {
_root.musicon = this.getValue();
}
Instance of Symbol 142 MovieClip [FCheckBoxSymbol] "soundon" in Frame 77
//component parameters
onClipEvent (initialize) {
label = "";
initialValue = true;
labelPlacement = "right";
changeHandler = "";
}
onClipEvent (load) {
this.setValue(_root.soundon);
}
onClipEvent (enterFrame) {
_root.soundon = this.getValue();
}
Instance of Symbol 146 MovieClip [FComboBoxSymbol] "gamespeed" in Frame 77
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Slow";
labels[1] = "Default";
labels[2] = "Fast";
labels[3] = "Insane";
data = [];
data[0] = 0;
data[1] = 1;
data[2] = 2;
data[3] = 3;
rowCount = 8;
changeHandler = "";
}
onClipEvent (load) {
this.setSelectedIndex(_root.gameSpeed);
}
onClipEvent (enterFrame) {
_root.gameSpeed = this.getSelectedItem().data;
}
Instance of Symbol 142 MovieClip [FCheckBoxSymbol] "lighting" in Frame 77
//component parameters
onClipEvent (initialize) {
label = "";
initialValue = true;
labelPlacement = "right";
changeHandler = "";
}
onClipEvent (load) {
this.setValue(_root.lighting);
}
onClipEvent (enterFrame) {
_root.lighting = this.getValue();
}
Frame 78
_root.bye();
_root.lastScreen = "instructions";
_root._width = 687.75;
_root._height = 494;
_root._x = 24.6;
_root._y = 7.9;
_root.lastScreen = "instructions";
_root.lastFrame = 1;
stop();
Frame 79
_root.lastFrame = 2;
Instance of Symbol 1005 MovieClip [m] in Frame 79
onClipEvent (enterFrame) {
if (this._currentframe > 320) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 1055 MovieClip [n] in Frame 79
onClipEvent (enterFrame) {
if (this._currentframe > 320) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 1136 MovieClip [q] in Frame 79
onClipEvent (enterFrame) {
if (this._currentframe > 320) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 945 MovieClip [l] in Frame 79
onClipEvent (enterFrame) {
if (this._currentframe > 320) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 884 MovieClip [j] in Frame 79
onClipEvent (enterFrame) {
if (this._currentframe > 320) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 381 MovieClip "healthheart" in Frame 79
onClipEvent (load) {
this.gotoAndStop(2);
}
Frame 80
_root.lastFrame = 3;
Frame 81
_root.lastFrame = 4;
Instance of Symbol 151 MovieClip in Frame 82
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
_root.ggg = _root.grid.getSelectedItem().label;
_root.ggg = _root.ggg.slice(5, 8);
}
Instance of Symbol 139 MovieClip [FDataGridSymbol] "grid" in Frame 82
onClipEvent (load) {
datt = new Array("Level 1", "Level 2", "Level 3", "Level 4", "Level 5", "Level 6", "Level 7", "Level 8", "Level 9", "Level 10", "Level 11", "Level 12", "Level 13", "Level 14", "Level 15", "Level 16", "Level 17", "Level 18", "Level 19", "Level 20", "Level 21", "Level 22", "Level 23", "Level 24", "Level 25", "Level 26", "Level 27", "Level 28", "Level 29", "Level 30", "Level 31", "Level 32", "Level 33", "Level 34", "Level 35", "Level 36", "Level 37", "Level 38", "Level 39", "Level 40", "Level 41", "Level 42", "Level 43", "Level 44", "Level 45", "Level 46", "Level 47", "Level 48", "Level 49", "Level 50", "Level 51", "Level 52", "Level 53", "Level 54", "Level 55", "Level 56", "Level 57", "Level 58", "Level 59", "Level 60", "Level 61", "Level 62", "Level 63", "Level 64", "Level 65", "Level 66", "Level 67", "Level 68", "Level 69", "Level 70");
dattt = new Array();
i = _root.TotalLevel;
while (i >= 0) {
dattt.push(datt[i]);
i--;
}
this.setDataProvider(dattt);
this.showColumnHeaders(0);
this.showBorder(false);
style = new FStyleFormat({textSelected:65280, selection:898317, shadow:34816, highlight3D:52224, highlight:65280, face:3329330, darkshadow:26112, arrow:65280, scrollTrack:43520, background:32768, textColor:65280, textFont:"impact", textSize:19, selection:8900331, textSelected:16777215});
style.addListener(this);
}
Frame 83
_root.lastScreen = "in between";
_root._width = 565;
_root._height = 410;
_root._x = 0;
_root._y = 0;
_root.bye();
Instance of Symbol 151 MovieClip in Frame 83
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
_root.lastFrame = 1;
}
Frame 84
_root.bye();
_root.lastScreen = "in between";
_root._width = 565;
_root._height = 410;
_root._x = 0;
_root._y = 0;
Frame 86
_root.lastScreen = "real";
stop();
Instance of Symbol 151 MovieClip "actions" in Frame 86
onClipEvent (load) {
_root.zoomView = false;
this._visible = 0;
once = 0;
if (_root.dontLoad == false) {
_root.pause = 1;
once = 0;
} else {
_root.dontLoad = false;
if (_root.zoomView != true) {
_root.attachMovie("screen", "screen", -1);
}
_root.screen.gotoAndStop("gameScreen");
once = 42;
_root.bbackground.gotoAndStop(_root.backgroundd);
}
}
onClipEvent (enterFrame) {
if (once == 0) {
once++;
if (((_root.level != "custom") and (_root.level != "custom2")) and (_root.level != null)) {
_root.one = _root.Level_Library[_root.level];
realLevelNumber = Number(_root.level) + 1;
_root.levelName = "Level " + realLevelNumber;
} else if (_root.level == "custom") {
_root.one = _root.uno;
_root.levelName = "Custom";
} else if (_root.level == "custom2") {
_root.llloadCustomm();
_root.one = _root.loadContent;
_root.levelName = "Custom";
} else if (_root.level == null) {
_root.level = 0;
_root.one = _root.Level_Library[_root.level];
realLevelNumber = Number(_root.level) + 1;
_root.levelName = "Level " + realLevelNumber;
}
_root.itemsUsed = 0;
_root.monstersGotten = 0;
_root.lifeLosses = 0;
_root.movesMade = 0;
_root.timeElapsed = 0;
_root.zoomView = false;
_root.location = 0;
_root.maxz = 0;
_root.previousLocation = 0;
_root.carryOn = true;
_root.highCarryOn = true;
_root.highestCarryOn = true;
_root.i = 0;
_root.objectName = "";
_root.totalAmount = 0;
_root.equalAmount = 0;
_root.depthTotal = 0;
_root.warping = false;
_root.speedboosts = 0;
_root.speedtime = 0;
speedReady = 0;
_root.speedCountdown = 0;
_root.shieldboosts = 0;
_root.shieldtime = 0;
_root.shieldCountdown = 0;
_root.invincible = 0;
_root.gooboosts = 0;
_root.gooDepths = new Array();
_root.ghostboosts = 0;
_root.ghosttime = 0;
_root.ghostCountdown = 0;
_root.walkThrough = 0;
_root.keyCountBlue = 0;
_root.keyCountGreen = 0;
_root.keyCountYellow = 0;
_root.keyCountRed = 0;
i = 0;
while (i < _root.charList.length) {
_root["max" + _root.charList[i]] = 0;
i++;
}
_root.maxfire = 0;
_root.maxz = 0;
if (_root.gameSpeed == 3) {
_root.uNormal = 6;
_root.uFast = 12;
_root.getAwayTime = 60;
_root.monsterBaseSpeed = 3;
_root.fireSpeed = 9;
} else if (_root.gameSpeed == 2) {
_root.uNormal = 4;
_root.uFast = 8;
_root.getAwayTime = 90;
_root.monsterBaseSpeed = 2;
_root.fireSpeed = 6;
} else if (_root.gameSpeed == 1) {
_root.uNormal = 3;
_root.uFast = 6;
_root.getAwayTime = 120;
_root.monsterBaseSpeed = 1.5;
_root.fireSpeed = 4;
} else if (_root.gameSpeed == 0) {
_root.uNormal = 2;
_root.uFast = 4;
_root.getAwayTime = 180;
_root.monsterBaseSpeed = 1;
_root.fireSpeed = 3;
}
_root.uWalk = _root.uNormal;
_root.M = 0;
_root.speed = null;
_root.go();
if (_root.zoomView != true) {
_root.attachMovie("screen", "screen", -1);
_root.attachMovie("put", "put", 456);
_root.realDistorted = true;
_root._width = _root._width * 0.95;
_root._height = _root._height * 0.95;
_root._x = _root._x + 24.6;
_root._y = _root._y + 7.9;
}
if (_root.zoomView == true) {
_root._width = _root._width * 2;
_root._height = _root._height * 2;
_root.attachMovie("screen", "screen", 1747);
_root.screen._width = _root.screen._width / 2;
_root.screen._height = _root.screen._height / 2;
_root.attachMovie("put", "put", 456);
_root.put._width = _root.put._width / 2;
_root.put._height = _root.put._height / 2;
}
_root.bbackground.gotoAndStop(_root.backgroundd);
i = _root.maxo;
while (i > 0) {
_root["o" + i]._width = 24;
_root["o" + i]._height = 24;
_root["o" + i]._x = int(_root["o" + i]._x / 24) * 24;
_root["o" + i]._y = int(_root["o" + i]._y / 24) * 24;
_root["o" + i]._rotation = _root["o" + i].rrotate;
_root["o" + i]._name = ["b" + (i + _root.maxb)];
i--;
}
_root.mino = _root.maxb;
_root.maxb = _root.maxb + _root.maxo;
_root.maxo = _root.maxb;
i = _root.maxm;
while (i > 0) {
_root["m" + i].supor = 1;
i--;
}
i = _root.maxn;
while (i > 0) {
_root["n" + i].supor = 2;
i--;
}
i = _root.maxj;
while (i > 0) {
_root["j" + i].supor = 3;
i--;
}
i = _root.maxl;
while (i > 0) {
_root["l" + i].supor = 2;
_root["l" + i].ghost = 1;
i--;
}
i = _root.maxq;
while (i > 0) {
_root["q" + i].supor = 2;
i--;
}
_root.M = (((_root.maxm + _root.maxn) + _root.maxj) + _root.maxl) + _root.maxq;
this._visible = 0;
i = _root.maxt;
while (i > 0) {
_root["t" + i]._width = 52.2;
_root["t" + i]._height = 34.5;
_root["t" + i]._x = int(_root["t" + i]._x / 24) * 24;
_root["t" + i]._y = int(_root["t" + i]._y / 24) * 24;
_root["t" + i].swapDepths(_root.depthTotal++);
_root[(("t" + _root["t" + i]._x) + "x") + _root["t" + i]._y] = i;
i--;
}
i = _root.maxb;
while (i > 0) {
_root["b" + i]._width = 24;
_root["b" + i]._height = 24;
_root["b" + i]._x = int(_root["b" + i]._x / 24) * 24;
_root["b" + i]._y = int(_root["b" + i]._y / 24) * 24;
_root["b" + i].swapDepths(_root.depthTotal++);
_root["b" + i]._rotation = _root["b" + i].rrotate;
_root[(("b" + _root["b" + i]._x) + "x") + _root["b" + i]._y] = i;
i--;
}
i = _root.maxd;
while (i > 0) {
_root["d" + i]._width = 24;
_root["d" + i]._height = 33;
_root["d" + i]._x = int(_root["d" + i]._x / 24) * 24;
_root["d" + i]._y = int(_root["d" + i]._y / 24) * 24;
_root["d" + i].swapDepths(_root.depthTotal++);
_root[(("d" + _root["d" + i]._x) + "x") + _root["d" + i]._y] = i;
i--;
}
i = _root.maxg;
while (i > 0) {
_root["g" + i]._width = 24;
_root["g" + i]._height = 24;
_root["g" + i]._x = int(_root["g" + i]._x / 24) * 24;
_root["g" + i]._y = int(_root["g" + i]._y / 24) * 24;
_root["g" + i].swapDepths(_root.depthTotal++);
_root[(("g" + _root["g" + i]._x) + "x") + _root["g" + i]._y] = i;
i--;
}
i = _root.maxh;
while (i > 0) {
_root["h" + i]._width = 24;
_root["h" + i]._height = 24;
_root["h" + i]._x = int(_root["h" + i]._x / 24) * 24;
_root["h" + i]._y = int(_root["h" + i]._y / 24) * 24;
_root["h" + i].swapDepths(_root.depthTotal++);
_root[(("h" + _root["h" + i]._x) + "x") + _root["h" + i]._y] = i;
i--;
}
i = _root.maxf;
while (i > 0) {
_root["f" + i]._width = 24;
_root["f" + i]._height = 24;
_root["f" + i]._x = int(_root["f" + i]._x / 24) * 24;
_root["f" + i]._y = int(_root["f" + i]._y / 24) * 24;
_root["f" + i].swapDepths(_root.depthTotal++);
_root.gooDepths.push(_root.depthTotal++);
_root[(("f" + _root["f" + i]._x) + "x") + _root["f" + i]._y] = i;
i--;
}
i = _root.maxi;
while (i > 0) {
_root["i" + i]._width = 24;
_root["i" + i]._height = 24;
_root["i" + i]._x = int(_root["i" + i]._x / 24) * 24;
_root["i" + i]._y = int(_root["i" + i]._y / 24) * 24;
_root["i" + i].swapDepths(_root.depthTotal++);
_root[(("i" + _root["i" + i]._x) + "x") + _root["i" + i]._y] = i;
i--;
}
i = _root.maxr;
while (i > 0) {
_root["r" + i]._width = 24;
_root["r" + i]._height = 24;
_root["r" + i]._x = int(_root["r" + i]._x / 24) * 24;
_root["r" + i]._y = int(_root["r" + i]._y / 24) * 24;
_root["r" + i].swapDepths(_root.depthTotal++);
_root[(("r" + _root["r" + i]._x) + "x") + _root["r" + i]._y] = i;
i--;
}
i = _root.maxw;
while (i > 0) {
_root["w" + i]._width = 24;
_root["w" + i]._height = 24;
_root["w" + i]._x = int(_root["w" + i]._x / 24) * 24;
_root["w" + i]._y = int(_root["w" + i]._y / 24) * 24;
_root["w" + i].swapDepths(_root.depthTotal++);
_root[(("w" + _root["w" + i]._x) + "x") + _root["w" + i]._y] = i;
i--;
}
i = _root.maxx;
while (i > 0) {
_root["x" + i]._width = 24;
_root["x" + i]._height = 24;
_root["x" + i]._x = int(_root["x" + i]._x / 24) * 24;
_root["x" + i]._y = int(_root["x" + i]._y / 24) * 24;
_root["x" + i].swapDepths(_root.depthTotal++);
_root[(("x" + _root["x" + i]._x) + "x") + _root["x" + i]._y] = i;
i--;
}
i = _root.maxy;
while (i > 0) {
_root["y" + i]._width = 24;
_root["y" + i]._height = 24;
_root["y" + i]._x = int(_root["y" + i]._x / 24) * 24;
_root["y" + i]._y = int(_root["y" + i]._y / 24) * 24;
_root["y" + i].swapDepths(_root.depthTotal++);
_root[(("y" + _root["y" + i]._x) + "x") + _root["y" + i]._y] = i;
i--;
}
i = _root.maxk;
while (i > 0) {
_root["k" + i]._width = 24;
_root["k" + i]._height = 24;
_root["k" + i]._x = int(_root["k" + i]._x / 24) * 24;
_root["k" + i]._y = int(_root["k" + i]._y / 24) * 24;
_root["k" + i].swapDepths(_root.depthTotal++);
_root[(("k" + _root["k" + i]._x) + "x") + _root["k" + i]._y] = i;
if (_root["k" + i].ccolor == "blue") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0x0000FF");
}
if (_root["k" + i].ccolor == "green") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0x00FF00");
}
if (_root["k" + i].ccolor == "yellow") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0xFFFF00");
}
if (_root["k" + i].ccolor == "red") {
_root["k" + i].keyColor = new Color(_root["k" + i].kcolor);
_root["k" + i].keyColor.setRGB("0xFF0000");
}
i--;
}
i = _root.maxm;
while (i > 0) {
_root["m" + i]._width = 24;
_root["m" + i]._height = 24;
_root["m" + i]._x = int(_root["m" + i]._x / 24) * 24;
_root["m" + i]._y = int(_root["m" + i]._y / 24) * 24;
_root["m" + i].x = _root["m" + i]._x;
_root["m" + i].y = _root["m" + i]._y;
_root["m" + i].exists = 1;
_root[("m" + i) + "exists"] = 1;
_root["m" + i].getAwayTime = 0;
_root["m" + i].stop();
_root["m" + i].turn = 0;
_root["m" + i].swapDepths(_root.depthTotal++);
i--;
}
i = _root.maxn;
while (i > 0) {
_root["n" + i]._width = 24;
_root["n" + i]._height = 24;
_root["n" + i]._x = int(_root["n" + i]._x / 24) * 24;
_root["n" + i]._y = int(_root["n" + i]._y / 24) * 24;
_root["n" + i].x = _root["n" + i]._x;
_root["n" + i].y = _root["n" + i]._y;
_root["n" + i].exists = 1;
_root[("n" + i) + "exists"] = 1;
_root["n" + i].getAwayTime = 0;
_root["n" + i].stop();
_root["n" + i].turn = 0;
_root["n" + i].swapDepths(_root.depthTotal++);
_root["n" + i].attachMovie("horns", "horn", _root.depthTotal++);
i--;
}
i = _root.maxl;
while (i > 0) {
_root["l" + i]._width = 24;
_root["l" + i]._height = 24;
_root["l" + i]._x = int(_root["l" + i]._x / 24) * 24;
_root["l" + i]._y = int(_root["l" + i]._y / 24) * 24;
_root["l" + i].x = _root["l" + i]._x;
_root["l" + i].y = _root["l" + i]._y;
_root["l" + i].exists = 1;
_root[("l" + i) + "exists"] = 1;
_root["l" + i].getAwayTime = 0;
_root["l" + i].stop();
_root["l" + i].turn = 0;
_root["l" + i].swapDepths(_root.depthTotal++);
i--;
}
i = _root.maxj;
while (i > 0) {
_root["j" + i]._width = 24;
_root["j" + i]._height = 24;
_root["j" + i]._x = int(_root["j" + i]._x / 24) * 24;
_root["j" + i]._y = int(_root["j" + i]._y / 24) * 24;
_root["j" + i].x = _root["j" + i]._x;
_root["j" + i].y = _root["j" + i]._y;
_root["j" + i].exists = 1;
_root[("j" + i) + "exists"] = 1;
_root["j" + i].getAwayTime = 0;
_root["j" + i].stop();
_root["j" + i].turn = 0;
_root["j" + i].swapDepths(_root.depthTotal++);
i--;
}
i = _root.maxq;
while (i > 0) {
_root["q" + i]._width = 24;
_root["q" + i]._height = 24;
_root["q" + i]._x = int(_root["q" + i]._x / 24) * 24;
_root["q" + i]._y = int(_root["q" + i]._y / 24) * 24;
_root["q" + i].x = _root["q" + i]._x;
_root["q" + i].y = _root["q" + i]._y;
_root["q" + i].exists = 1;
_root[("q" + i) + "exists"] = 1;
_root["q" + i].getAwayTime = 0;
_root["q" + i].fireYet = 0;
_root["q" + i].stop();
_root["q" + i].turn = 0;
_root["q" + i].swapDepths(_root.depthTotal++);
i--;
}
_root.z1._name = "main";
_root.main.swapDepths(_root.depthTotal++);
i = _root.maxu;
while (i > 0) {
_root["u" + i]._width = 24;
_root["u" + i]._height = 24;
_root["u" + i].swapDepths(_root.depthTotal++);
_root["u" + i].rotate._rotation = _root["u" + i].rrotate;
_root["u" + i].attachMovie("lock", "lock", 1);
_root["u" + i].lock._x = 0;
_root["u" + i].lock._y = -2.6;
_root["u" + i]._x = int(_root["u" + i]._x / 24) * 24;
_root["u" + i]._y = int(_root["u" + i]._y / 24) * 24;
_root[(("u" + _root["u" + i]._x) + "x") + _root["u" + i]._y] = i;
if (_root["u" + i].ccolor == "blue") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0x0000FF");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0x0000FF");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0x0000FF");
}
if (_root["u" + i].ccolor == "green") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0x00FF00");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0x00FF00");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0x00FF00");
}
if (_root["u" + i].ccolor == "yellow") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0xFFFF00");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0xFFFF00");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0xFFFF00");
}
if (_root["u" + i].ccolor == "red") {
_root["u" + i].keyColor1 = new Color(_root["u" + i].rotate.gate.gatee.kcolor);
_root["u" + i].keyColor1.setRGB("0xFF0000");
_root["u" + i].keyColor2 = new Color(_root["u" + i].lock.lock.kcolor);
_root["u" + i].keyColor2.setRGB("0xFF0000");
_root["u" + i].keyColor3 = new Color(_root["u" + i].lock.key.kcolor);
_root["u" + i].keyColor3.setRGB("0xFF0000");
}
i--;
}
i = _root.maxu;
while (i > 0) {
_root["u" + i]._name = ["b" + (i + _root.maxb)];
_root[(("b" + _root["b" + (i + _root.maxb)]._x) + "x") + _root["b" + (i + _root.maxb)]._y] = i;
i--;
}
_root.minu = _root.maxb;
_root.maxb = _root.maxb + _root.maxu;
_root.maxu = _root.maxb;
_root.touched = 0;
_root.main._width = 24;
_root.main._height = 24;
_root.main._x = int(_root.main._x / 24) * 24;
_root.main._y = int(_root.main._y / 24) * 24;
_root.main.x = _root.main._x;
_root.main.y = _root.main._y;
_root.main.stop();
if (_root.song == null) {
_root.song = 1;
}
}
if (_root.zoomView == true) {
if (Math.abs(_root._x - ((565 - (_root.main._x * 2)) - 282.5)) > 100) {
if ((_root._x - ((565 - (_root.main._x * 2)) - 282.5)) > 0) {
_root._x = (565 - (_root.main._x * 2)) - 182.5;
} else {
_root._x = (565 - (_root.main._x * 2)) - 382.5;
}
}
if (Math.abs(_root._y - ((410 - (_root.main._y * 2)) - 205)) > 100) {
if ((_root._y - ((410 - (_root.main._y * 2)) - 205)) > 0) {
_root._y = (410 - (_root.main._y * 2)) - 105;
} else {
_root._y = (410 - (_root.main._y * 2)) - 305;
}
}
_root.screen._x = (_root._x * -1) / 2;
_root.screen._y = (_root._y * -1) / 2;
_root.put._x = _root.screen._x;
_root.put._y = _root.screen._y;
}
if ((_root.playing == 0) and _root.musicon) {
_root.bg = new Sound(_root.main);
_root.bg.attachSound(["music" + _root.song]);
_root.bg.start();
_root.bg.setVolume(75);
_root.playing = 1;
_root.song++;
if (_root.song > 5) {
_root.song = 1;
}
}
if (_root.bg.position >= (_root.bg.duration - 10)) {
_root.playing = 0;
}
if ((_root.musicon == 0) and (_root.playing != 0)) {
_root.bg.stop(["music" + (_root.song - 1)]);
_root.playing = 0;
}
if ((_root.pause == 0) and (once > 0)) {
_root.timeElapsed++;
if ((Key.isDown(39) and (_root.main._x == _root.main.x)) and (_root.main._y == _root.main.y)) {
_root.right();
_root.warping = false;
}
if ((Key.isDown(37) and (_root.main._x == _root.main.x)) and (_root.main._y == _root.main.y)) {
_root.left();
_root.warping = false;
}
if ((Key.isDown(40) and (_root.main._y == _root.main.y)) and (_root.main._x == _root.main.x)) {
_root.down();
_root.warping = false;
}
if ((Key.isDown(38) and (_root.main._y == _root.main.y)) and (_root.main._x == _root.main.x)) {
_root.up();
_root.warping = false;
}
walk = _root.uWalk;
if (_root.main._x < _root.main.x) {
if ((_root.main._x + walk) > _root.main.x) {
} else {
_root.main._x = _root.main._x + _root.uWalk;
}
}
if (_root.main._x > _root.main.x) {
if ((_root.main._x - walk) < _root.main.x) {
} else {
_root.main._x = _root.main._x - _root.uWalk;
}
}
if (_root.main._y < _root.main.y) {
if ((_root.main._y + _root.uWalk) > _root.main.y) {
} else {
_root.main._y = _root.main._y + _root.uWalk;
}
}
if (_root.main._y > _root.main.y) {
if ((_root.main._y - _root.uWalk) < _root.main.y) {
} else {
_root.main._y = _root.main._y - _root.uWalk;
}
}
if (_root.main._alpha < 100) {
_root.main._alpha++;
}
if (_root.main._rotation != 0) {
_root.main._rotation = _root.main._rotation + 38;
}
i = _root[(("g" + _root.main._x) + "x") + _root.main._y];
if (i and (_root["g" + i]._alpha == 100)) {
_root.health++;
_root["g" + i]._alpha = _root["g" + i]._alpha - 3;
if (_root.soundon) {
hhealthup = new Sound(_root["g" + i]);
hhealthup.attachSound("healthup");
hhealthup.start();
}
_root[(("g" + _root.main._x) + "x") + _root.main._y] = 0;
}
i = _root.maxg;
while (i > 0) {
if ((_root["g" + i]._alpha < 100) and (_root["g" + i]._alpha > 0)) {
_root["g" + i]._alpha = _root["g" + i]._alpha - 2;
}
if (_root["g" + i]._alpha < 1) {
_root["g" + i].removeMovieClip();
}
i--;
}
i = _root[(("h" + _root.main._x) + "x") + _root.main._y];
if (i and (_root["h" + i]._alpha == 100)) {
_root.speedboosts++;
_root["h" + i]._alpha = _root["h" + i]._alpha - 3;
if (_root.soundon) {
hhealthup = new Sound(_root["h" + i]);
hhealthup.attachSound("healthup");
hhealthup.start();
}
_root[(("h" + _root.main._x) + "x") + _root.main._y] = 0;
}
i = _root.maxh;
while (i > 0) {
if ((_root["h" + i]._alpha < 100) and (_root["h" + i]._alpha > 0)) {
_root["h" + i]._alpha = _root["h" + i]._alpha - 2;
}
if (_root["h" + i]._alpha < 1) {
_root["h" + i].removeMovieClip();
}
i--;
}
if (speedReady == 1) {
if ((_root.main.x == _root.main._x) and (_root.main.y == _root.main._y)) {
speedReady = 0;
_root.uWalk = _root.uFast;
}
}
if (_root.speedCountdown > 0) {
_root.speedCountdown--;
_root.speedtime = int(_root.speedCountdown / 30);
} else {
_root.uWalk = _root.uNormal;
_root.speedtime = "";
}
i = _root[(("f" + _root.main._x) + "x") + _root.main._y];
if (i and (_root["f" + i]._alpha == 100)) {
_root.gooboosts++;
_root["f" + i]._alpha = _root["f" + i]._alpha - 3;
if (_root.soundon) {
hhealthup = new Sound(_root["f" + i]);
hhealthup.attachSound("healthup");
hhealthup.start();
}
_root[(("f" + _root.main._x) + "x") + _root.main._y] = 0;
}
i = _root.maxf;
while (i > 0) {
if ((_root["f" + i]._alpha < 100) and (_root["f" + i]._alpha > 0)) {
_root["f" + i]._alpha = _root["f" + i]._alpha - 2;
}
if (_root["f" + i]._alpha < 1) {
_root["f" + i].removeMovieClip();
}
i--;
}
if (gooReady == 1) {
if ((_root.main._x == _root.main.x) and (_root.main._y == _root.main.y)) {
gooReady = 0;
_root.maxt++;
_root.ttemp = _root.gooDepths.pop();
_root.attachMovie("t", "t" + _root.maxt, _root.ttemp);
_root["t" + _root.maxt]._x = _root.main._x;
_root["t" + _root.maxt]._y = _root.main._y;
_root[(("t" + _root["t" + _root.maxt]._x) + "x") + _root["t" + _root.maxt]._y] = _root.maxt;
}
}
i = _root[(("i" + _root.main._x) + "x") + _root.main._y];
if (i and (_root["i" + i]._alpha == 100)) {
_root.shieldboosts++;
_root["i" + i]._alpha = _root["i" + i]._alpha - 3;
if (_root.soundon) {
hhealthup = new Sound(_root["i" + i]);
hhealthup.attachSound("healthup");
hhealthup.start();
}
_root[(("i" + _root.main._x) + "x") + _root.main._y] = 0;
}
i = _root.maxi;
while (i > 0) {
if ((_root["i" + i]._alpha < 100) and (_root["i" + i]._alpha > 0)) {
_root["i" + i]._alpha = _root["i" + i]._alpha - 2;
}
if (_root["i" + i]._alpha < 1) {
_root["i" + i].removeMovieClip();
}
i--;
}
if (_root.shieldCountdown > 0) {
_root.shieldCountdown--;
_root.shieldtime = int(_root.shieldCountdown / 30);
} else {
_root.shieldtime = "";
_root.invincible = 0;
_root.main.shield.play();
}
i = _root[(("r" + _root.main._x) + "x") + _root.main._y];
if (i and (_root["r" + i]._alpha == 100)) {
_root.ghostboosts++;
_root["r" + i]._alpha = _root["r" + i]._alpha - 3;
if (_root.soundon) {
hhealthup = new Sound(_root["r" + i]);
hhealthup.attachSound("healthup");
hhealthup.start();
}
_root[(("r" + _root.main._x) + "x") + _root.main._y] = 0;
}
i = _root.maxr;
while (i > 0) {
if ((_root["r" + i]._alpha < 100) and (_root["r" + i]._alpha > 0)) {
_root["r" + i]._alpha = _root["r" + i]._alpha - 2;
}
if (_root["r" + i]._alpha < 1) {
_root["r" + i].removeMovieClip();
}
i--;
}
if (_root.ghostCountdown > 0) {
_root.ghostCountdown--;
_root.ghosttime = int(_root.ghostCountdown / 30);
} else {
_root.ghosttime = "";
_root.walkThrough = 0;
}
i = _root[(("k" + _root.main._x) + "x") + _root.main._y];
if (i and (_root["k" + i]._alpha == 100)) {
_root["k" + i]._alpha = _root["k" + i]._alpha - 3;
if (_root.soundon) {
hhealthup = new Sound(_root["i" + i]);
hhealthup.attachSound("healthup");
hhealthup.start();
}
_root["KeyCount" + _root["k" + i].ccolor]++;
_root[(("k" + _root.main._x) + "x") + _root.main._y] = 0;
}
i = _root.maxk;
while (i > 0) {
if ((_root["k" + i]._alpha < 100) and (_root["k" + i]._alpha > 0)) {
_root["k" + i]._alpha = _root["k" + i]._alpha - 2;
}
if (_root["k" + i]._alpha < 1) {
_root["k" + i].removeMovieClip();
}
i--;
}
if ((_root.warping == false) and (_root.invincible == 0)) {
j = 0;
while (j < _root.monsterList.length) {
k = _root.monsterList[j];
i = _root[((k + _root.main.x) + "x") + _root.main.y];
if (i and (_root[k + i].getAwayTime == 0)) {
_root[k + i].getAwayTime = _root.getAwayTime;
_root.health--;
_root[k + i].gotoAndPlay(321);
_root.lastMonsterType = k;
_root.lifeLosses++;
if (_root.soundon) {
yyou = new Sound(_root.main);
yyou.attachSound("you");
yyou.start();
}
}
j++;
}
}
i = _root.maxm;
while (i > 0) {
_root.monster("m", i);
i--;
}
i = _root.maxn;
while (i > 0) {
_root.monster("n", i);
if (((_root["n" + i]._currentframe > 0) and (_root["n" + i]._currentframe < 161)) or (_root["n" + i]._currentframe > 320)) {
_root["n" + i].horn._visible = 1;
} else {
_root["n" + i].horn._visible = 0;
}
i--;
}
i = _root.maxj;
while (i > 0) {
_root.monster("j", i);
i--;
}
i = _root.maxl;
while (i > 0) {
_root.monster("l", i);
i--;
}
i = _root.maxq;
while (i > 0) {
_root["q" + i].fireYet++;
_root.monsterFire("q", i);
if (_root["q" + i].fireYet >= 3) {
_root["q" + i].fireYet = 0;
_root.fire("q", i);
}
i--;
}
i = _root.maxfire;
while (i > 0) {
if (_root["fire" + i].exists == true) {
bx = int(((_root["fire" + i]._x + _root["fire" + i].dx) + 12) / 24) * 24;
by = int(((_root["fire" + i]._y + _root["fire" + i].dy) + 12) / 24) * 24;
_root.brick(bx, by, 0);
if (_root.occupied == 0) {
_root["fire" + i]._x = _root["fire" + i]._x + _root["fire" + i].dx;
_root["fire" + i]._y = _root["fire" + i]._y + _root["fire" + i].dy;
} else {
_root["fire" + i].play();
_root["fire" + i].exists = false;
}
if ((((bx > 550) or (bx < -14)) or (by < 42.6)) or (by > 400)) {
_root["fire" + i].dx = 0;
_root["fire" + i].dy = 0;
_root["fire" + i].play();
_root["fire" + i].exists = false;
}
if (((((_root["fire" + i].what == "fire") and (bx == _root.main.x)) and (by == _root.main.y)) and (_root.invincible == 0)) and (_root.warping == 0)) {
_root["fire" + i].dx = 0;
_root["fire" + i].dy = 0;
_root["fire" + i].play();
_root["fire" + i].exists = false;
_root.health--;
_root.lifeLosses++;
_root.lastMonsterType = "q";
if (_root.soundon) {
yyou = new Sound(_root.main);
yyou.attachSound("you");
yyou.start();
}
}
}
i--;
}
j = 0;
while (j < _root.monsterList.length) {
i = _root["max" + _root.monsterList[j]];
while (i > 0) {
q = _root[(("t" + _root[_root.monsterList[j] + i]._x) + "x") + _root[_root.monsterList[j] + i]._y];
if (q) {
_root[_root.monsterList[j] + i].exists = 0;
if (_root.soundon) {
ggoo = new Sound(_root["t" + q]);
ggoo.attachSound("goo");
ggoo.start();
}
_root["t" + q].gotoAndPlay(_root.monsterList[j]);
_root[((_root.monsterList[j] + _root[_root.monsterList[j] + i]._x) + "x") + _root[_root.monsterList[j] + i]._y] = null;
_root.M--;
_root.monstersGotten++;
}
i--;
}
j++;
}
i = _root.maxd;
while (i > 0) {
if ((_root.M <= 0) and (_root["d" + i]._currentframe == 1)) {
_root["d" + i].play();
if (_root.soundon) {
ddoor = new Sound(_root["d" + i]);
ddoor.attachSound("door");
ddoor.start();
}
}
i--;
}
i = _root[(("d" + _root.main._x) + "x") + _root.main._y];
if ((_root.M <= 0) and i) {
if (_root.soundon) {
wwinn = new Sound(_root["d" + i]);
wwinn.attachSound("win");
wwinn.start();
}
if ((_root.level != "custom") && (_root.level == _root.totalLevel)) {
_root.totalLevel++;
}
_root.goReal3();
}
h = 1;
while (h >= 0) {
if (h == 1) {
g = "w";
}
if (h == 0) {
g = "y";
}
i = _root[((g + _root.main._x) + "x") + _root.main._y];
if (i) {
_root[g + i].gotoAndPlay(61);
if (_root.soundon) {
wwarp = new Sound(_root[g + i]);
wwarp.attachSound("warp");
wwarp.start();
}
_root.main.x = int(_root[g + i].xdestination / 24) * 24;
_root.main.y = int(_root[g + i].ydestination / 24) * 24;
_root.main._alpha = 1;
_root.main._rotation = 10;
_root.warping = true;
}
h--;
}
}
h = 1;
while (h >= 0) {
if (h == 1) {
g = "x";
}
if (h == 0) {
g = "y";
}
j = 0;
while (j < _root.monsterList.length) {
k = _root.monsterList[j];
l = _root["max" + k];
while (l > 0) {
i = _root[((g + _root[k + l]._x) + "x") + _root[k + l]._y];
if (i) {
_root[g + i].gotoAndPlay(61);
if (_root.soundon) {
xxarp = new Sound(_root[g + i]);
xxarp.attachSound("warp");
xxarp.start();
}
_root[k + l].x = int(_root[g + i].xdestination / 24) * 24;
_root[k + l].y = int(_root[g + i].ydestination / 24) * 24;
_root[k + l]._alpha = 1;
_root[k + l]._rotation = 10;
_root[k + l].moved++;
_root[((k + _root[k + l]._x) + "x") + _root[k + l]._y] = 0;
}
l--;
}
j++;
}
h--;
}
i = _root.maxo;
while (i > _root.mino) {
if (_root.M <= _root["b" + i].openWhen) {
_root["b" + i].play();
_root["b" + i]._name = "open";
}
i--;
}
if (Key.isDown(13)) {
i = _root.maxu;
while (i > _root.minu) {
_root.qwerty = _root["b" + i]._x;
_root.qwertyy = _root["b" + i]._y;
if (((_root["b" + i].rotate._currentframe == 1) and _root.nextTo("b", i)) and (_root["keyCount" + _root["b" + i].ccolor] > 0)) {
_root["keyCount" + _root["b" + i].ccolor]--;
_root["b" + i].rotate.play();
_root["b" + i].lock.play();
if (_root.soundon) {
lgate = new Sound(_root["b" + i]);
lgate.attachSound("locked gate");
lgate.start();
}
}
i--;
}
}
if (_root.health < 1) {
_root.nextFrame();
}
}
onClipEvent (keyDown) {
if (_root.pause == 0) {
if (Key.isDown(83)) {
if ((_root.speedboosts > 0) and (_root.speedCountdown == 0)) {
_root.itemsUsed++;
_root.speedboosts--;
speedReady = 1;
_root.speedCountdown = 450;
}
}
if (Key.isDown(65)) {
if (_root.gooboosts > 0) {
_root.itemsUsed++;
_root.gooboosts--;
gooReady = 1;
}
}
if (Key.isDown(68)) {
if ((_root.shieldboosts > 0) and (_root.shieldCountdown == 0)) {
_root.itemsUsed++;
_root.shieldboosts--;
_root.main.attachMovie("shield", "shield", _root.depthTotal++);
_root.main.shield._width = 67;
_root.main.shield._height = 67;
_root.shieldCountdown = 450;
_root.invincible = 1;
}
}
if (Key.isDown(70)) {
if ((_root.ghostboosts > 0) and (_root.ghostCountdown == 0)) {
_root.itemsUsed++;
_root.ghostboosts--;
_root.ghostCountdown = 450;
_root.walkThrough = 1;
}
}
}
}
Instance of Symbol 1990 MovieClip in Frame 86
onClipEvent (load) {
this._visible = 0;
}
Frame 87
stop();
Instance of Symbol 151 MovieClip "actions" in Frame 87
onClipEvent (load) {
this._visible = 0;
_root.screen.swapDepths(1020);
_root.screen.gotoAndPlay("gameOver");
_root.main.gotoAndPlay(321);
_root.main.swapDepths(1021);
}
Frame 88
stop();
Instance of Symbol 151 MovieClip "actions" in Frame 88
onClipEvent (load) {
this._visible = 0;
_root.screen.swapDepths(1020);
_root.screen.gotoAndPlay("wellDone");
_root.main.gotoAndPlay(392);
_root.main.swapDepths(1021);
}
Frame 89
gotoAndStop (74);
Symbol 11 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 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 17 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 19 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 22 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 25 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "check");
Symbol 26 MovieClip [fcb_states] Frame 1
stop();
Symbol 26 MovieClip [fcb_states] Frame 2
stop();
Symbol 26 MovieClip [fcb_states] Frame 3
stop();
Symbol 26 MovieClip [fcb_states] Frame 4
stop();
Symbol 26 MovieClip [fcb_states] Frame 5
stop();
Symbol 26 MovieClip [fcb_states] Frame 6
stop();
Symbol 27 MovieClip [FUIComponentSymbol] Frame 1
#initclip 3
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 30 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 30 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 30 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 33 MovieClip [FLabelSymbol] Frame 1
#initclip 1
FLabelClass = function () {
var _local1 = this;
if (_local1.hostComponent == undefined) {
_local1.hostComponent = ((_local1._parent.controller == undefined) ? (_local1._parent) : (_local1._parent.controller));
}
if (_local1.customTextStyle == undefined) {
if (_local1.hostComponent.textStyle == undefined) {
_local1.hostComponent.textStyle = new TextFormat();
}
_local1.textStyle = _local1.hostComponent.textStyle;
_local1.enable = true;
}
_local1.labelField.setNewTextFormat(_local1.textStyle);
var _local2 = _local1.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
_local1.labelField.embedFonts = _local2;
}
_local1.labelField.text = "_Pt^";
_local1.labelField._height = _local1.labelField.textHeight + 3;
_local1.labelField.text = "";
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
this.labelField.text = label;
};
FLabelClass.prototype.setValue = function (label) {
this.labelField.text = label;
};
FLabelClass.prototype.setFocus = function () {
var _local1 = this;
_local1.labelField.selectable = true;
_local1.labelField.type = "input";
Selection.setFocus(_local1.labelField);
_local1.labelField.hscroll = 0;
_local1.labelField.background = false;
_local1.labelField.border = false;
};
FLabelClass.prototype.getHeight = function () {
return(this.labelField._height);
};
FLabelClass.prototype.getWidth = function () {
return(this.labelField._width);
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
var _local2 = this;
var _local3 = enable;
_local2.enable = _local3;
var _local1 = _local2.hostComponent.styleTable[(_local3 ? "textColor" : "textDisabled")].value;
if (_local1 == undefined) {
_local1 = (_local3 ? 0 : 8947848);
}
_local2.setColor(_local1);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 40 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 8
function FSelectableItemClass() {
if (this._name == undefined) {
return(undefined);
}
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.LOWEST_DEPTH = -16384;
FSelectableItemClass.prototype.init = function () {
var _local1 = this;
if (_local1._name != "itemAsset") {
_local1.highlighted = false;
_local1.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
var _local1 = this;
var _local2 = selected;
_local1.displayContent(itmObj, _local2);
if ((_local1.highlighted != _local2) || ((_local1.controller.focused != _local1.oldFocus) && (_local2))) {
_local1.setHighlighted(_local2);
}
_local1.oldFocus = _local1.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var _local1 = this;
var _local2 = width;
_local1.width = _local2;
_local1.layoutContent(_local2);
if (_local1.highlight_mc == undefined) {
_local1.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH);
_local1.highlight_mc._x = 1;
_local1.highlight_mc.controller = _local1;
_local1.highlight_mc._alpha = 0;
_local1.highlight_mc.trackAsMenu = true;
_local1.highlight_mc.useHandCursor = false;
_local1.highlight_mc.onPress = _local1.highlightPress;
_local1.highlight_mc.onDragOver = _local1.highlightDragOver;
}
_local1.highlight_mc._width = _local2 - 0.5;
_local1.highlight_mc._height = height;
};
FSelectableItemClass.prototype.highlightPress = function () {
var _local1 = this;
if (_local1.controller.enable) {
_local1.controller.controller.clickHandler(_local1.controller.itemNum);
}
};
FSelectableItemClass.prototype.highlightDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local3 = enabledFlag;
_local1.enable = _local3;
_local1.fLabel_mc.setEnabled(_local3);
_local1.highlight_mc;
if (_local3) {
var _local2 = _local1.controller.styleTable.selection.value;
if (_local2 == undefined) {
_local2 = 10066329 /* 0x999999 */;
}
} else {
var _local2 = _local1.controller.styleTable.selectionDisabled.value;
if (_local2 == undefined) {
_local2 = 6710886 /* 0x666666 */;
}
}
var col = new Color(_local1.highlight_mc);
col.setRGB(_local2);
};
FSelectableItemClass.prototype.layoutContent = function (width) {
var _local1 = this;
if (_local1.fLabel_mc == undefined) {
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:_local1.controller});
}
_local1.fLabel_mc._x = 2;
_local1.fLabel_mc.setSize(width - 2);
_local1.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var _local2 = itmObj;
var _local1 = "";
if (_local2.label != undefined) {
_local1 = _local2.label;
} else if (typeof(_local2) == "object") {
for (var _local3 in _local2) {
if (_local3 != "__ID__") {
_local1 = (_local2[_local3] + ", ") + _local1;
}
}
_local1 = _local1.substring(0, _local1.length - 2);
} else {
_local1 = _local2;
}
if (this.fLabel_mc.labelField.text != _local1) {
this.fLabel_mc.setLabel(_local1);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
var _local1 = this;
var _local2 = flag;
fade = _local1.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!_local2)) {
_local1.highlight_mc._alpha = (_local2 ? 100 : 0);
delete _local1.onEnterFrame;
} else {
_local1.fadeN = fade;
_local1.fadeX = 1;
_local1.highLight_mc._alpha = 20;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.highLight_mc._alpha = (60 * Math.sqrt((_local1.fadeX++) / _local1.fadeN)) + 40;
if (_local1.fadeX > _local1.fadeN) {
delete _local1.onEnterFrame;
}
};
}
_local1.highlighted = _local2;
};
#endinitclip
Symbol 41 MovieClip [FGridRowSymbol] Frame 1
#initclip 12
function FGridRowClass() {
var _local1 = this;
if (_local1._name == undefined) {
} else {
_local1.init();
_local1.cells = new Array();
}
}
FGridRowClass.prototype = new FSelectableItemClass();
Object.registerClass("FGridRowSymbol", FGridRowClass);
FGridRowClass.prototype.layoutContent = function (width) {
var _local1 = this;
_local1.editHighlightSetup();
var totX = 0;
var offset = Math.floor((_local1.controller.itmHgt - _local1.controller.oldItmHgt) / 2);
var maxHeight = 0;
if (_local1.controller.colArray.length != 0) {
var _local3 = 0;
while (_local3 < _local1.controller.colArray.length) {
var _local2 = _local1.controller.colArray[_local3].textStyle;
if (_local2 == undefined) {
_local2 = _local1.controller.textStyle;
}
_local1.cells[_local3] = _local1.attachMovie(_local1.controller.colArray[_local3].cellSymbol, "fCell" + _local3, 2 + _local3, {hostComponent:_local1.controller, customTextStyle:_local2, textStyle:_local2});
_local1.cells[_local3]._x = totX;
_local1.cells[_local3]._y = offset;
maxHeight = Math.max(maxHeight, _local1.cells[_local3]._height);
_local1.cells[_local3].setSize(_local1.controller.colArray[_local3].width - 2);
_local1.cells[_local3].labelField.selectable = false;
_local1.cells[_local3].colIndex = _local3;
_local1.cells[_local3].getGrid = _local1.controller.getGrid;
_local1.cells[_local3].getCellIndex = _local1.controller.getCellIndex;
totX = totX + _local1.controller.colArray[_local3].width;
_local1.editCellSetup();
_local3++;
}
maxHeight = Math.max(_local1.controller.itmHgt, maxHeight);
_local3 = 0;
while (_local3 < _local1.controller.colArray.length) {
_local1.cells[_local3]._y = (maxHeight - _local1.cells[_local3]._height) / 2;
_local3++;
}
} else {
_local1.cells[0] = _local1.attachMovie("FLabelSymbol", "fCell0", 2, {hostComponent:_local1.controller});
}
};
FGridRowClass.prototype.clearItemLayout = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.cells.length) {
_local2.cells[_local1].removeMovieClip();
_local1++;
}
_local2.cells.splice(0);
};
FGridRowClass.prototype.displayContent = function (itmObj, selected) {
var _local1 = this;
if (itmObj.label == "Sizer: PjtTopg") {
_local1.fCell0.setValue(itmObj.label, selected);
} else {
if ((_local1.highlighted != selected) || (_local1.redraw)) {
var prop = (selected ? "textSelected" : "textColor");
if (!_local1.enable) {
prop = "textDisabled";
}
var clr = _local1.controller.styleTable[prop].value;
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
if (!_local1.enable) {
clr = 6710886 /* 0x666666 */;
}
}
}
var _local2 = _local1.cells.length;
while (_local2--) {
_local1.cells[_local2].setValue(itmObj[_local1.controller.colArray[_local2].colName], selected);
if ((_local1.highlighted != selected) || (_local1.redraw)) {
var _local3 = _local1.controller.colArray[_local2].styleTable[prop].value;
if (_local3 == undefined) {
_local3 = clr;
}
_local1.cells[_local2].setColor(_local3);
}
}
if (_local1.controller.aRC) {
_local1.chooseRowCol(selected);
if (itmObj == undefined) {
_local1.highlight_mc._alpha = 0;
}
}
delete _local1.redraw;
}
};
FGridRowClass.prototype.setEnabled = function (bool) {
var _local1 = this;
_local1.redraw = true;
super.setEnabled(bool);
_local1.displayContent(_local1.getItemModel(), _local1.highlighted);
};
FGridRowClass.prototype.chooseRowCol = function (sel) {
var _local1 = this;
var _local2 = new Color(_local1.highlight_mc);
if ((!sel) && (_local1.controller.aRC)) {
_local1.highlight_mc._alpha = 100;
_local2.setRGB((((_local1.getItemIndex() % 2) == 0) ? (_local1.controller.row1) : (_local1.controller.row2)));
} else {
var _local3 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local2.setTransform(_local3);
}
};
FGridRowClass.prototype.setHighlighted = function (flag) {
var _local1 = this;
if (_local1.controller.aRC) {
_local1.highlight_mc._alpha = 100;
_local1.highlighted = flag;
} else {
super.setHighlighted(flag);
}
};
FGridRowClass.prototype.sizeColumns = function () {
var _local2 = this;
var _local3 = 0;
var _local1 = 0;
while (_local1 < _local2.controller.colArray.length) {
_local2.cells[_local1]._x = _local3;
_local2.cells[_local1].setSize(_local2.controller.colArray[_local1].width - 4);
_local2.cells[_local1].labelField.selectable = false;
_local3 = _local3 + _local2.controller.colArray[_local1].width;
_local1++;
}
};
#endinitclip
Instance of Symbol 40 MovieClip [FSelectableItemSymbol] "itemAsset" in Symbol 41 MovieClip [FGridRowSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 42 MovieClip Frame 1
#initclip 18
FDataGridClass.prototype.linesDrawn = (FDataGridClass.prototype.editable = false);
FDataGridClass.prototype.columnHeaders = (FDataGridClass.prototype.resizable = true);
FDataGridClass.prototype.gridLines = (FDataGridClass.prototype.selectable = (FListBoxClass.prototype.selectable = true));
FDataGridClass.prototype.sortable = true;
FDataGridClass.prototype.minColWidth = 20;
FDataGridClass.prototype.totColW = 0;
FDataGridClass.prototype.itemSymbol = "FGridRowSymbol";
FDataGridClass.prototype.headerHeight = 18.05;
FDataGridClass.prototype.setColumns = function () {
var _local2 = arguments;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2.length) {
_local3.addColumn(_local2[_local1]);
_local1++;
}
};
FDataGridClass.prototype.addColumnAt = function (index, col) {
var _local1 = this;
var _local2 = index;
var _local3 = col;
if (_local2 < _local1.colArray.length) {
_local1.colArray.splice(_local2, 0, "tmp");
}
if (!(_local3 instanceof FGridColumn)) {
_local3 = new FGridColumn(_local3);
}
_local1.colArray[_local2] = _local3;
_local3.parentGrid = _local1;
_local3.colNum = _local2;
_local1.totColW = _local1.totColW + _local3.width;
if (_local1.totColW >= _local1.realWidth) {
var oldVal = _local1.colArray[_local2].resizable;
_local1.colArray[_local2].resizable = false;
_local1.resizeColumn(_local1.colArray.length - 1, _local1.colArray[_local1.colArray.length - 1].width);
_local1.colArray[_local2].resizable = oldVal;
}
_local1.invalidate("initHeaders");
_local1.invalidate("drawColumns");
_local1.invalidate("relayoutItems");
_local1.invalidate("updateControl");
};
FDataGridClass.prototype.addColumn = function (col) {
this.addColumnAt(this.colArray.length, col);
};
FDataGridClass.prototype.removeColumnAt = function (index) {
var _local1 = this;
var _local2 = _local1.colArray[index];
_local1.colArray.splice(index, 1);
_local1.totColW = _local1.totColW - _local2.width;
_local1.invalidate("initHeaders");
_local1.invalidate("drawColumns");
_local1.invalidate("relayoutItems");
_local1.invalidate("updateControl");
return(_local2);
};
FDataGridClass.prototype.removeAllColumns = function (index) {
var _local1 = this;
_local1.totColW = 0;
_local1.colArray = new Array();
_local1.invalidate("initHeaders");
_local1.invalidate("drawColumns");
_local1.invalidate("relayoutItems");
_local1.invalidate("updateControl");
};
FDataGridClass.prototype.getColumnAt = function (index) {
return(this.colArray[index]);
};
FDataGridClass.prototype.getColumnIndex = function (name) {
var _local2 = this;
var _local3 = name;
var _local1 = 0;
while (_local1 < _local2.colArray.length) {
if (_local2.colArray[_local1].colName == _local3) {
return(_local1);
}
_local1++;
}
return(undefined);
};
FDataGridClass.prototype.getColumnCount = function () {
return(this.colArray.length);
};
FDataGridClass.prototype.setResizableColumns = function (b) {
this.resizable = b;
};
FDataGridClass.prototype.setSortableColumns = function (b) {
this.sortable = b;
};
FDataGridClass.prototype.spaceColumnsEqually = function () {
var _local2 = this;
var _local3 = Math.ceil(_local2.realWidth / _local2.colArray.length);
var _local1 = 0;
while (_local1 < _local2.colArray.length) {
_local2.colArray[_local1].width = _local3;
_local1++;
}
_local2.totColW = _local2.realWidth;
_local2.invalidate("drawColumns");
};
FDataGridClass.prototype.showGridLines = function (bool) {
this.gridLines = bool;
this.invalidate("drawColumns");
};
FDataGridClass.prototype.showColumnHeaders = function (bool) {
this.columnHeaders = bool;
this.invalidate("setSize");
};
FDataGridClass.prototype.generateCols = function () {
var _local2 = this;
if (_local2.colArray.length == 0) {
var _local3 = _local2.dataProvider.getColumnNames();
if (_local3 == undefined) {
var itmObj = _local2.dataProvider.getItemAt(0);
for (var _local1 in itmObj) {
if (_local1 != "__ID__") {
_local2.addColumn(_local1);
}
}
} else {
var _local1 = 0;
while (_local1 < _local3.length) {
_local2.addColumn(_local3[_local1]);
_local1++;
}
}
_local2.spaceColumnsEqually();
_local2.invalidate("initHeaders");
_local2.invalidate("drawColumns");
_local2.invalidate("relayoutItems");
_local2.invalidate("updateControl");
}
};
FDataGridClass.prototype.resizeColumn = function (col, w) {
var _local1 = this;
var startX = 0;
var _local2 = 0;
while (_local2 < col) {
startX = startX + _local1.colArray[_local2].width;
_local2++;
}
var origSpace = ((_local1.realWidth - startX) - _local1.colArray[col].width);
var newSpace = ((_local1.realWidth - startX) - w);
_local1.colArray[col].width = w;
_local2 = col + 1;
while (_local2 < _local1.colArray.length) {
if (!_local1.colArray[_local2].resizable) {
newSpace = newSpace - _local1.colArray[_local2].width;
origSpace = origSpace - _local1.colArray[_local2].width;
}
_local2++;
}
var totX = 0;
_local2 = col + 1;
while (_local2 < _local1.colArray.length) {
if (_local1.colArray[_local2].resizable) {
_local1.colArray[_local2].width = (_local1.colArray[_local2].width * newSpace) / origSpace;
totX = totX + _local1.colArray[_local2].width;
}
_local2++;
}
var deadSpace = 0;
var _local3 = 0;
var filled = false;
_local2 = _local1.colArray.length - 1;
while (_local2 >= 0) {
if (_local1.colArray[_local2].resizable) {
if (!filled) {
_local1.colArray[_local2].width = _local1.colArray[_local2].width + (newSpace - totX);
filled = true;
}
if (_local3 > 0) {
_local1.colArray[_local2].width = _local1.colArray[_local2].width - _local3;
_local3 = 0;
}
if (_local1.colArray[_local2].width < _local1.minColWidth) {
_local3 = _local3 + (_local1.minColWidth - _local1.colArray[_local2].width);
_local1.colArray[_local2].width = _local1.minColWidth;
}
} else {
deadSpace = deadSpace + _local1.colArray[_local2].width;
}
_local2--;
}
_local1.invalidate("drawColumns");
};
FDataGridClass.prototype.drawColumns = function () {
var _local1 = this;
var bg = _local1.createEmptyMovieClip("bg_mc", 2);
var _local2 = _local1.createEmptyMovieClip("lines_mc", 4);
var x = 0.75;
var _local3 = 1;
var tmpHeight = (_local1.height - 1);
var mainBG = ((_local1.styleTable.backGround.value == undefined) ? 16777215 : (_local1.styleTable.backGround.value));
var i = 0;
while (i < _local1.colArray.length) {
var bGCol = ((_local1.colArray[i].styleTable.backGround.value == undefined) ? (mainBG) : (_local1.colArray[i].styleTable.backGround.value));
var bCol = ((_local1.styleTable.gridLines.value == undefined) ? 3355443 : (_local1.styleTable.gridLines.value));
x = x + _local1.colArray[i].width;
bg.moveTo(_local3, 1);
_local2.moveTo(_local3, 1);
bg.beginFill(bGCol);
bg.lineStyle(0, bGCol);
_local2.lineStyle(0, bCol, 0);
var tmpX = Math.floor(x);
bg.lineTo(tmpX, 1);
_local2.lineTo(tmpX, 1);
if ((i < (_local1.colArray.length - 1)) && (_local1.gridLines)) {
_local2.lineStyle(0, bCol, 100);
}
bg.lineTo(tmpX, tmpHeight);
_local2.lineTo(tmpX, _local1.height);
_local2.lineStyle(0, bCol, 0);
bg.lineTo(_local3, tmpHeight);
_local2.lineTo(_local3, _local1.height);
bg.lineTo(_local3, 1);
_local2.lineTo(_local3, 1);
bg.endFill();
if (_local1.columnHeaders) {
var lbl = _local1.header_mc["label" + i];
lbl._x = _local3 + 2;
if (i == (_local1.colArray.length - 1)) {
_local1.resizeColumn(i, _local1.colArray[i].width);
}
lbl.setSize(_local1.colArray[i].width - 5);
_local1.header_mc["sep" + i]._x = x - 1;
}
_local3 = x;
i++;
}
_local1.linesDrawn = true;
var i = 0;
while (i < _local1.numDisplayed) {
_local1.rows[i].sizeColumns();
i++;
}
};
FDataGridClass.prototype.cleanMethods = function () {
var _local3 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local1 = arguments[_local2];
if (_local3.methodTable[_local1]) {
_local3[_local1]();
delete _local3.methodTable[_local1];
}
_local2++;
}
};
FDataGridClass.prototype.cleanUINotSize = function () {
this.cleanMethods("initHeaders", "relayoutItems", "drawColumns", "updateControl");
super.cleanUINotSize();
};
FDataGridClass.prototype.myOnKeyDown = function () {
if (this.selectable) {
super.myOnKeyDown();
}
};
FDataGridClass.prototype.setCustomStyleProperty = function (propName, value) {
var _local1 = propName;
var _local2 = this;
if (_local1 == "headerText") {
_local2.invalidate("setSize");
return(true);
}
if ((_local1 == "background") || (_local1 == "gridlines")) {
_local2.invalidate("drawColumns");
} else if (_local1 == "header") {
_local2.invalidate("drawHeaderBG");
}
return(undefined);
};
#endinitclip
Symbol 43 MovieClip Frame 1
#initclip 5
_global.FGridColumn = function (colName) {
var _local1 = this;
var _local2 = _global;
if (_local2.__colNum == undefined) {
_local2.__colNum = 0;
}
_local1.__colNum = _local2.__colNum++;
_local1.colName = colName;
_local1.parentGrid = undefined;
_local1.header = colName;
_local1.init();
};
FGridColumn.prototype = new FUIComponentClass();
FGridColumn.prototype.editable = (FGridColumn.prototype.sortable = (FGridColumn.prototype.resizable = true));
FGridColumn.prototype.headerSymbol = "FLabelSymbol";
FGridColumn.prototype.cellSymbol = "FLabelSymbol";
FGridColumn.prototype.width = 50;
FGridColumn.prototype.setWidth = function (w) {
var _local1 = this;
if (_local1.parentGrid == undefined) {
_local1.width = w;
} else {
var _local2 = _local1.resizable;
_local1.resizable = false;
_local1.parentGrid.resizeColumn(_local1.colNum, w);
_local1.resizable = _local2;
}
};
FGridColumn.prototype.getWidth = function () {
return(this.width);
};
FGridColumn.prototype.setHeader = function (h) {
this.header = h;
this.lbl.setLabel(h);
};
FGridColumn.prototype.getHeader = function () {
return(this.header);
};
FGridColumn.prototype.setEditable = function (b) {
this.editable = b;
};
FGridColumn.prototype.setSortable = function (b) {
this.sortable = b;
};
FGridColumn.prototype.setResizable = function (b) {
this.resizable = b;
};
FGridColumn.prototype.setCellSymbol = function (cS) {
var _local1 = this;
_local1.cellSymbol = cS;
_local1.parentGrid.invalidate("relayoutItems");
_local1.parentGrid.invalidate("updateControl");
};
FGridColumn.prototype.setHeaderSymbol = function (hS) {
this.headerSymbol = hS;
this.parentGrid.invalidate("setSize");
};
FGridColumn.prototype.setSortFunction = function (sortFunc) {
this.sortFunc = sortFunc;
};
FGridColumn.prototype.setCustomStyleProperty = function (propName, value) {
var _local1 = this;
var _local2 = propName;
if (_local2 == "headerText") {
_local1.parentGrid.invalidate("setSize");
return(true);
}
if (_local2 == "background") {
_local1.parentGrid.invalidate("drawColumns");
return(true);
}
if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var _local3 = _local2.subString(4, _local2.length);
_local1.textStyle[_local3] = value;
_local1.parentGrid.invalidate("setSize");
return(true);
}
return(undefined);
};
FGridColumn.prototype.toString = function () {
return("col" + this.__colNum);
};
FGridColumn.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.parentGrid.setSize(_local1.parentGrid.width, _local1.parentGrid.height);
};
#endinitclip
Symbol 44 MovieClip Frame 1
#initclip 17
FGridRowClass.prototype.editCellSetup = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.cells.length) {
_local2.cells[_local1].labelField.cellNum = _local1;
_local2.cells[_local1].labelField.onSetFocus = _local2.cellFocused;
_local2.cells[_local1].labelField.onKillFocus = _local2.cellBlurred;
_local1++;
}
};
FGridRowClass.prototype.editHighlightSetup = function () {
this.highlight_mc.onRelease = this.startEditCell;
};
FGridRowClass.prototype.startEditCell = function () {
var _local3 = this;
var _local2 = _local3.controller.controller;
if (_local3.controller.enable) {
if (_local2.editable) {
var _local1 = 0;
while (_local1 < _local3.controller.cells.length) {
if (_local2.colArray[_local1].editable) {
if (_local3.controller.cells[_local1].hitTest(_root._xmouse, _root._ymouse)) {
_local2.selectedCell = {index:_local3.controller.getItemIndex(), colName:_local2.colArray[_local1].colName};
_local2.setSelectedCell(_local3.controller.getItemIndex(), _local2.colArray[_local1].colName);
clearInterval(_local2.dragScrolling);
delete _local2.onMouseUp;
return;
}
}
_local1++;
}
}
}
};
FGridRowClass.prototype.cellFocused = function () {
var _local1 = _global;
if (_local1.FGridKeyListener == undefined) {
_local1.FGridKeyListener = new Object();
}
_local1.lastLabel = this._parent;
_local1.lastController = this.controller;
_local1.FGridKeyListener.onKeyDown = function () {
if (Key.isDown(13)) {
Selection.setFocus(lastController.controller);
} else if (Key.isDown(27)) {
lastLabel.setValue(lastController.lastEdited);
Selection.setFocus(lastController);
} else if (Key.isDown(9)) {
lastController.controller.manageTab();
}
};
Key.addListener(_local1.FGridKeyListener);
};
FGridRowClass.prototype.cellBlurred = function () {
var _local1 = this;
var _local3 = _global;
_local1.selectable = false;
_local1.type = "dynamic";
_local1.hscroll = 0;
_local1.background = false;
_local1.border = false;
var _local2 = _local1.controller.controller;
_local2.editCell(_local1.cellNum, _local1.controller.itemNum, _local1.controller.cells[_local1.cellNum].getLabel());
var caught = _local2.catchTab(_local1.controller.getItemIndex(), _local2.colArray[_local1.cellNum].colName);
if (!caught) {
Key.removeListener(_local3.FGridKeyListener);
delete _local3.FGridKeyListener;
Selection.addListener(_local3._focusControl);
}
};
FDataGridClass.prototype.setSelectedCell = function (index, colName) {
var _local1 = this;
if ((!_local1.enable) || (!_local1.editable)) {
} else {
Selection.setFocus(_local1);
if ((_local1.topDisplayed > index) || (index >= (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.setScrollPosition(index);
}
var _local2 = index - _local1.topDisplayed;
var _local3 = _local1.getColumnIndex(colName);
_local1.rows[_local2].lastEdited = _local1.rows[_local2].cells[_local3].getLabel();
_local1.rows[_local2].cells[_local3].labelField.controller = _local1.rows[_local2];
_local1.selectedCell = {index:index, colName:colName};
Selection.removeListener(_global._focusControl);
_local1.rows[_local2].cells[_local3].setFocus();
}
};
FDataGridClass.prototype.getSelectedCell = function () {
return(this.selectedCell);
};
FDataGridClass.prototype.editCell = function (cellNum, rowNum, lastEdited) {
var _local1 = this;
var _local2 = rowNum + _local1.topDisplayed;
var _local3 = _local1.getItemAt(_local2)[_local1.colArray[cellNum].colName];
if (_local3 != lastEdited) {
_local1.editBuffer = _local3;
_local1.setCellData(_local2, _local1.colArray[cellNum].colName, lastEdited);
var obj = ((_local1.editObj == undefined) ? (_local1._parent) : (_local1.editObj));
obj[_local1.editHandler](_local1, _local2, _local1.colArray[cellNum].colName);
}
};
FDataGridClass.prototype.getOriginalCellData = function () {
return(this.editBuffer);
};
FDataGridClass.prototype.setEditHandler = function (funcName, obj) {
this.editHandler = funcName;
this.editObj = obj;
};
#endinitclip
Symbol 45 MovieClip Frame 1
#initclip 16
FDataGridClass.prototype.getGrid = function () {
return(this._parent.controller);
};
FDataGridClass.prototype.getCellIndex = function () {
var _local1 = this;
return({index:_local1._parent.getItemIndex(), colName:_local1.getGrid().getColumnAt(_local1.colIndex).colName});
};
#endinitclip
Symbol 48 MovieClip Frame 1
#initclip 14
FDataGridClass.prototype.initHeaders = function () {
var _local1 = this;
if (_local1.columnHeaders) {
var tmp = _local1.createEmptyMovieClip("header_mc", 5);
var maxHeight = 0;
var _local3 = 0;
while (_local3 < _local1.colArray.length) {
var tmpStyle = _local1.colArray[_local3].styleTable.headerText.value;
if (tmpStyle == undefined) {
tmpStyle = _local1.styleTable.headerText.value;
}
var lbl = tmp.attachMovie(_local1.colArray[_local3].headerSymbol, "label" + _local3, _local3 + 3, {hostComponent:_local1, customTextStyle:tmpStyle, textStyle:tmpStyle});
lbl.setValue(_local1.colArray[_local3].header);
maxHeight = Math.max(maxHeight, lbl._height);
lbl.column = _local1.colArray[_local3];
lbl.asc = false;
_local1.colArray[_local3].lbl = lbl;
lbl.controller = _local1;
lbl.labelField.selectable = false;
if (lbl.column.sortable && (lbl.onPress == undefined)) {
lbl.useHandCursor = false;
lbl.onPress = _local1.labelPress;
lbl.onRelease = _local1.labelRelease;
lbl.onDragOut = _local1.dragOutHeader;
lbl.onReleaseOutside = _local1.labelUp;
lbl.labelUp = _local1.labelUp;
}
_local3++;
}
if (_local1.colArray.length == 0) {
var tmpStyle = _local1.styleTable.columnHeader.value;
var lbl = tmp.attachMovie("fLabelSymbol", "label", 3, {hostComponent:_local1, customTextStyle:tmpStyle, textStyle:tmpStyle});
maxHeight = lbl._height;
lbl.removeMovieClip();
}
_local1.headerHeight = maxHeight;
_local3 = 0;
while (_local3 < _local1.colArray.length) {
var label = _local1.header_mc["label" + _local3];
label._y = (_local1.headerHeight - label._height) / 2;
if (_local3 < (_local1.colArray.length - 1)) {
var _local2 = tmp.attachMovie("HeaderSeperator", "sep" + _local3, (40 + _local3) + 3);
_local2._height = _local1.headerHeight;
_local1.registerSkinElement(_local2, "gridLines");
if (_local1.colArray[_local3].resizable && (_local1.resizable)) {
_local2.useHandCursor = false;
_local2.col = _local3;
_local2.controller = _local1;
_local2.onRollOver = _local1.showStretcher;
_local2.onPress = _local1.startSizing;
_local2.onRelease = (_local2.onReleaseOutside = _local1.stopSizing);
_local2.onRollOut = _local1.hideStretcher;
}
}
_local3++;
}
_local1.drawHeaderBG();
} else {
_local1.header_mc.removeMovieClip();
}
};
FDataGridClass.prototype.drawHeaderBG = function () {
var _local2 = this;
var _local1 = _local2.header_mc.createEmptyMovieClip("headerBG", 1);
_local1.moveTo(0.75, 1);
var bgCol = ((_local2.styleTable.header.value == undefined) ? 11184810 : (_local2.styleTable.header.value));
_local1.beginFill(bgCol);
var _local3 = ((_local2.styleTable.gridLines.value == undefined) ? 14540253 : (_local2.styleTable.gridLines.value));
_local1.lineStyle(0, _local3);
_local1.lineTo(_local2.realWidth, 1);
_local1.lineStyle(0, _local3, 100);
_local1.lineTo(_local2.realWidth, _local2.headerHeight);
_local1.lineTo(0.75, _local2.headerHeight);
_local1.lineStyle(0, 0, 0);
_local1.lineTo(0.75, 1);
_local1.endFill();
};
FDataGridClass.prototype.labelPress = function () {
var _local1 = this;
if (((!_local1.column.sortable) || (!_local1.controller.sortable)) || (!_local1.controller.enable)) {
} else {
_local1._x = _local1._x + 1;
_local1._y = _local1._y + 1;
_local1.labelField.background = true;
if (_local1.controller.styleTable.header.value != undefined) {
_local1.labelField.backgroundColor = _local1.controller.styleTable.header.value - 1118481;
} else {
_local1.labelField.backgroundColor = 10066329 /* 0x999999 */;
}
}
};
FDataGridClass.prototype.labelUp = function () {
var _local1 = this;
if (((!_local1.column.sortable) || (!_local1.controller.sortable)) || (!_local1.controller.enable)) {
} else {
_local1._x = _local1._x - 1;
_local1._y = _local1._y - 1;
_local1.labelField.background = false;
}
};
FDataGridClass.prototype.labelRelease = function () {
var _local1 = this;
if (((!_local1.column.sortable) || (!_local1.controller.sortable)) || (!_local1.controller.enable)) {
} else {
_local1.labelUp();
_local1.asc = !_local1.asc;
var _local2 = (_local1.asc ? "ASC" : "DESC");
if (_local1.column.sortFunc == undefined) {
_local1.controller.sortItemsBy(_local1.column.colName, _local2);
} else {
_local1.controller.sort(_local1.column.sortFunc);
if (!_local1.asc) {
_local1.controller.dataprovider.items.reverse();
}
}
}
};
#endinitclip
Symbol 49 MovieClip Frame 1
#initclip 15
FDataGridClass.prototype.isStretchable = function (col) {
var _local2 = this;
var _local3 = col;
var _local1 = true;
if (!_local2.resizable) {
_local1 = false;
} else if (!_local2.colArray[_local3].resizable) {
_local1 = false;
} else if ((_local3 == (_local2.colArray.length - 2)) && (!_local2.colArray[_local3 + 1].resizable)) {
_local1 = false;
}
return(_local1);
};
FDataGridClass.prototype.showStretcher = function () {
var _local1 = this;
if ((!_local1.controller.isStretchable(_local1.col)) || (!_local1.controller.enable)) {
} else {
Mouse.hide();
if (_local1.controller.stretcher == undefined) {
_local1.controller.attachMovie("Stretcher", "stretcher", 1000);
}
_local1.controller.stretcher._x = _local1.controller._xmouse;
_local1.controller.stretcher._y = _local1.controller._ymouse;
_local1.controller.stretcher._visible = true;
_local1.controller.onMouseMove = function () {
var _local1 = this;
_local1.stretcher._x = _local1._xmouse;
_local1.stretcher._y = _local1._ymouse;
updateAfterEvent();
};
}
};
FDataGridClass.prototype.startSizing = function () {
var _local1 = this;
if ((!_local1.controller.isStretchable(_local1.col)) || (!_local1.controller.enable)) {
} else {
_local1.controller.attachMovie("StretchBar", "stretchBar", 999);
_local1.controller.stretchBar._height = _local1.controller.height;
_local1.controller.stretchBar._x = _local1.controller._xmouse;
_local1.oldX = _local1.controller.stretchBar._x;
_local1.controller.colX = _local1.oldX - _local1.controller.colArray[_local1.col].width;
_local1.controller.onMouseMove = function () {
var _local1 = this;
_local1.stretcher._x = _local1._xmouse;
_local1.stretcher._y = _local1._ymouse;
_local1.stretchBar._x = Math.min(Math.max(_local1._xmouse, _local1.colX + _local1.minColWidth), _local1.realWidth - _local1.minColWidth);
updateAfterEvent();
};
}
};
FDataGridClass.prototype.stopSizing = function () {
var _local1 = this;
if ((!_local1.controller.isStretchable(_local1.col)) || (!_local1.controller.enable)) {
} else {
_local1.controller.stretchBar._visible = false;
var _local2 = _local1.controller.stretchBar._x - _local1.oldX;
_local1.onRollOut();
_local1.controller.resizeColumn(_local1.col, _local1.controller.colArray[_local1.col].width + _local2);
}
};
FDataGridClass.prototype.hideStretcher = function () {
this.controller.stretcher._visible = false;
delete this.controller.onMouseMove;
Mouse.show();
};
#endinitclip
Symbol 50 MovieClip Frame 1
#initclip 19
FDataGridClass.prototype.manageTab = function () {
if (__gridCellBlurred) {
_global.__retriggerFocus = true;
lastLabel.labelField.onKillFocus();
delete _global.__gridCellBlurred;
}
};
FDataGridClass.prototype.findNextCell = function (rowNum, cellNum) {
var _local1 = this;
var _local3 = rowNum;
var _local2 = cellNum;
var found = false;
var incr = (Key.isDown(16) ? -1 : 1);
while (!found) {
_local2 = _local2 + incr;
if ((_local2 >= _local1.colArray.length) || (_local2 < 0)) {
_local2 = ((_local2 < 0) ? (_local1.colArray.length) : 0);
_local3 = _local3 + incr;
if ((_local3 >= _local1.getLength()) || (_local3 < 0)) {
_local3 = ((_local3 < 0) ? (_local1.getLength() - 1) : 0);
}
}
if (_local1.colArray[_local2].editable) {
found = true;
var realRow = (rowNum - _local1.topDisplayed);
delete _local1.rows[realRow].cells[cellNum].labelField.onKillFocus;
_local1.setSelectedCell(_local3, _local1.colArray[_local2].colName);
_local1.rows[realRow].cells[cellNum].labelField.onKillFocus = _local1.rows[realRow].cellBlurred;
}
}
};
FDataGridClass.prototype.catchTab = function (index, colName) {
var _local1 = _global;
var _local2 = this;
if (Key.isDown(9)) {
if (__secondFocus) {
_local1.__gridCellBlurred = true;
delete __secondFocus;
_local2.setSelectedCell(index, colName);
return(true);
}
_local2.findNextCell(index, _local2.getColumnIndex(colName));
if (_local1.__retriggerFocus) {
_local1.__secondFocus = true;
delete _local1.__retriggerFocus;
}
_local1.__gridCellBlurred = true;
return(true);
}
return(undefined);
};
#endinitclip
Symbol 51 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 43 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 44 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 45 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 45 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 48 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 44 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 49 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
}
Symbol 58 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 65 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 70 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 71 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 81 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 91 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 100 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 101 MovieClip [DownArrow] Frame 1
stop();
Symbol 101 MovieClip [DownArrow] Frame 2
stop();
Symbol 101 MovieClip [DownArrow] Frame 3
stop();
Symbol 109 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 117 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 125 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 126 MovieClip [UpArrow] Frame 1
stop();
Symbol 126 MovieClip [UpArrow] Frame 2
stop();
Symbol 126 MovieClip [UpArrow] Frame 3
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 130 MovieClip [FScrollBarSymbol] Frame 1
#initclip 7
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 131 MovieClip [DataProviderSymbol] Frame 1
#initclip 2
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
var _local1 = this;
_local1.items = new Array();
_local1.uniqueID = 0;
_local1.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var _local1 = {event:"updateAll"};
viewRef.modelChanged(_local1);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
var _local1 = index;
var _local2 = this;
var _local3 = value;
if (_local1 < _local2.getLength()) {
_local2.items.splice(_local1, 0, "tmp");
}
_local2.items[_local1] = new Object();
if (typeof(_local3) == "object") {
_local2.items[_local1] = _local3;
} else {
_local2.items[_local1].label = _local3;
}
_local2.items[_local1].__ID__ = _local2.uniqueID++;
var eventObj = {event:"addRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var _local1 = index;
var _local2 = this;
var tmpItm = _local2.items[_local1];
_local2.items.splice(_local1, 1);
var _local3 = {event:"deleteRows", firstRow:_local1, lastRow:_local1};
_local2.updateViews(_local3);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
var _local1 = this;
_local1.items = new Array();
_local1.updateViews({event:"deleteRows", firstRow:0, lastRow:_local1.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
var _local1 = index;
var _local2 = this;
if ((_local1 < 0) || (_local1 >= _local2.getLength())) {
} else {
var _local3 = _local2.getItemID(_local1);
if (typeof(itemObj) == "object") {
_local2.items[_local1] = itemObj;
} else {
_local2.items[_local1].label = itemObj;
}
_local2.items[_local1].__ID__ = _local3;
_local2.updateViews({event:"updateRows", firstRow:_local1, lastRow:_local1});
}
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
var _local1 = this;
_local1.items.sortOn(fieldName);
if (order == "DESC") {
_local1.items.reverse();
}
_local1.updateViews({event:"sort"});
};
DataProviderClass.prototype.sort = function (func) {
this.items.sort(func);
this.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var _local2 = this;
var _local3 = eventObj;
var _local1 = 0;
while (_local1 < _local2.views.length) {
_local2.views[_local1].modelChanged(_local3);
_local1++;
}
};
#endinitclip
Symbol 132 MovieClip [FSelectableListSymbol] Frame 1
#initclip 6
function FSelectableListClass() {
if (this._name == undefined) {
return(undefined);
}
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.enable = true;
FSelectableListClass.prototype.topDisplayed = (FSelectableListClass.prototype.numDisplayed = 0);
FSelectableListClass.prototype.lastSelected = 0;
FSelectableListClass.prototype.tabChildren = false;
FSelectableListClass.prototype.init = function () {
var _local1 = this;
super.init();
_local1.selected = new Array();
if (_local1._name != undefined) {
_local1.dataProvider = new DataProviderClass();
_local1.dataProvider.addView(_local1);
}
_local1.rows = new Array();
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
var _local1 = this;
_local1.selectHolder = _local1.getSelectedIndex();
var _local2 = _local1.getItemAt(index);
_local1.dataProvider.removeItemAt(index);
return(_local2);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
var _local1 = this;
_local1.lastSelID = _local1.dataProvider.getItemID(_local1.lastSelected);
_local1.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
var _local2 = this;
for (var _local3 in _local2.selected) {
var _local1 = _local2.selected[_local3].sIndex;
if (_local1 != undefined) {
return(_local1);
}
}
return(undefined);
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var _local1 = this.getSelectedItem();
if (_local1.data != undefined) {
return(_local1.data);
}
return(_local1.label);
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
var _local2 = index;
if (((_local2 >= 0) && (_local2 < _local1.getLength())) && (_local1.enable)) {
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.lastSelected = _local2;
_local1.invalidate("updateControl");
if (flag != false) {
_local1.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
var _local2 = obj;
this.setScrollPosition(0);
this.clearSelected();
if (_local2 instanceof Array) {
this.dataProvider = new DataProviderClass();
var _local1 = 0;
while (_local1 < _local2.length) {
var _local3 = ((typeof(_local2[_local1]) == "string") ? ({label:_local2[_local1]}) : (_local2[_local1]));
this.dataProvider.addItem(_local3);
_local1++;
}
} else {
this.dataProvider = _local2;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
var _local1 = this;
_local1.tmpPos = _local1.getScrollPosition();
_local1.itemSymbol = linkID;
_local1.invalidate("setSize");
_local1.setScrollPosition(_local1.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
var _local2 = this;
super.setEnabled(enabledFlag);
_local2.enable = enabledFlag;
_local2.boundingBox_mc.gotoAndStop((_local2.enable ? "enabled" : "disabled"));
var _local3 = Math.min(_local2.numDisplayed, _local2.getLength());
var _local1 = 0;
while (_local1 < _local3) {
_local2.rows[_local1].setEnabled(_local2.enable);
_local1++;
}
if (_local2.enable) {
_local2.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var _local2 = this;
var _local1 = _local2.numDisplayed;
_local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.rows[_local1].drawItem(_local2.getItemAt(_local2.topDisplayed + _local1), _local2.isSelected(_local2.topDisplayed + _local1));
_local1++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.boundingBox_mc._xscale = (_local1.boundingBox_mc._yscale = 100);
_local1.boundingBox_mc._xscale = (_local1.width * 100) / _local1.boundingBox_mc._width;
_local1.boundingBox_mc._yscale = (_local1.height * 100) / _local1.boundingBox_mc._height;
var _local2 = 0;
while (_local2 < _local1.numDisplayed) {
_local1.rows[_local2] = _local1.container_mc.attachMovie(_local1.itemSymbol, ("row" + _local2) + "_mc", 10 + _local2, {controller:_local1, itemNum:_local2});
_local1.container_mc[("fListItem" + _local2) + "_mc"] = _local1.rows[_local2];
var _local3 = ((_local1.scrollOffset == undefined) ? 0 : (_local1.scrollOffset));
_local1.rows[_local2].setSize(_local1.width - _local3, _local1.itmHgt);
_local1.rows[_local2]._y = (_local1.itmHgt - 2) * _local2;
_local2++;
}
_local1.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var _local2 in _local1.selected) {
if ((_local1.selected[_local2].sIndex != undefined) && (_local1.selected[_local2].sIndex >= firstRow)) {
_local1.selected[_local2].sIndex = _local1.selected[_local2].sIndex + ((lastRow - firstRow) + 1);
_local1.setSelectedIndex(_local1.selected[_local2].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (_local1.selectHolder == index) {
_local1.selectionDeleted = true;
}
if (((_local1.topDisplayed + _local1.numDisplayed) >= _local1.getLength()) && (_local1.topDisplayed > 0)) {
_local1.topDisplayed--;
if (_local1.selectionDeleted && ((index - 1) >= 0)) {
_local1.setSelectedIndex(index - 1, false);
}
} else if (_local1.selectionDeleted) {
var len = _local1.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
_local1.setSelectedIndex(index - 1, false);
} else {
_local1.setSelectedIndex(index, false);
}
}
for (var _local2 in _local1.selected) {
if (_local1.selected[_local2].sIndex > firstRow) {
_local1.selected[_local2].sIndex--;
}
}
} else {
_local1.clearSelected();
_local1.topDisplayed = 0;
}
} else if (event == "sort") {
var len = _local1.getLength();
var _local2 = 0;
while (_local2 < len) {
if (_local1.isSelected(_local2)) {
var _local3 = _local1.dataProvider.getItemID(_local2);
if (_local3 == _local1.lastSelID) {
_local1.lastSelected = _local2;
}
_local1.selected[String(_local3)].sIndex = _local2;
}
_local2++;
}
}
_local1.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
var _local1 = this;
_local1.attachMovie(_local1.itemSymbol, "tmpItem_mc", 0, {controller:_local1});
_local1.tmpItem_mc.drawItem({label:"Sizer: PjtTopg?"}, false);
_local1.itmHgt = Math.floor(_local1.tmpItem_mc._height);
_local1.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
var _local1 = this;
var _local2 = index;
if (selectedFlag && (!_local1.isSelected(_local2))) {
_local1.selected[String(_local1.dataProvider.getItemID(_local2))] = {sIndex:_local2};
} else if (!selectedFlag) {
delete _local1.selected[String(_local1.dataProvider.getItemID(_local2))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
var _local1 = this;
for (var _local3 in _local1.selected) {
var _local2 = _local1.selected[_local3].sIndex;
if (((_local2 != undefined) && (_local1.topDisplayed <= _local2)) && (_local2 < (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.rows[_local2 - _local1.topDisplayed].drawItem(_local1.getItemAt(_local2), false);
}
}
delete _local1.selected;
_local1.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var _local1 = this;
var _local2 = _local1.topDisplayed + itemNum;
if (_local1.getItemAt(_local2 == undefined)) {
_local1.changeFlag = false;
} else {
_local1.changeFlag = true;
_local1.clearSelected();
_local1.selectItem(_local2, true);
_local1.rows[itemNum].drawItem(_local1.getItemAt(_local2), _local1.isSelected(_local2));
}
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var _local1 = this;
var _local3 = _local1.getSelectedIndex();
var _local2 = _local3 + incr;
_local2 = Math.max(0, _local2);
_local2 = Math.min(_local1.getLength() - 1, _local2);
if (_local2 == _local3) {
} else {
if ((_local3 < _local1.topDisplayed) || (_local3 >= (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.setScrollPosition(_local3);
}
if ((_local2 >= (_local1.topDisplayed + _local1.numDisplayed)) || (_local2 < _local1.topDisplayed)) {
_local1.setScrollPosition(_local1.topDisplayed + incr);
}
_local1.selectionHandler(_local2 - _local1.topDisplayed);
}
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (!_local1.focused) {
_local1.pressFocus();
}
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
var _local1 = this;
if (_local1.changeFlag) {
_local1.executeCallBack();
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
var _local2 = this;
super.myOnSetFocus();
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.rows[_local1].highlight_mc.gotoAndStop("enabled");
_local1++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
var _local2 = this;
super.myOnKillFocus();
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local1++;
}
};
#endinitclip
Instance of Symbol 131 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 132 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 133 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 9
function FScrollSelectListClass() {
if (this._name == undefined) {
return(undefined);
}
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.showVScroll = true;
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
var _local1 = pos;
var _local2 = this;
if (_local2.enable) {
_local1 = Math.min(_local1, _local2.getLength() - _local2.numDisplayed);
_local1 = Math.max(_local1, 0);
_local2.scrollBar_mc.setScrollPosition(_local1);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
var _local1 = this;
_local1.permaScrollBar = !flag;
_local1.setSize(_local1.width, _local1.height);
};
FScrollSelectListClass.prototype.setVScroll = function (tFAuto) {
this.showVScroll = tfAuto;
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var _local1 = this;
var _local2 = _local1.getScrollPosition();
super.setSize(w, h);
if (_local1.scrollBar_mc != undefined) {
}
_local1.scrollBar_mc = undefined;
_local1.setScrollPosition(_local2);
_local1.initScrollBar();
_local1.scrollBar_mc.setSize(h);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
var _local1 = eventObj;
super.modelChanged(_local1);
if ((_local1.event != "updateRows") && (_local1.event != "fetchRows")) {
this.invalidate("initScrollBar");
}
};
FScrollSelectListClass.prototype.relayoutItems = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
_local2.rows[_local1].clearItemLayout();
_local2.rows[_local1].setSize(_local2.realWidth, _local2.itmHgt);
_local1++;
}
};
FScrollSelectListClass.prototype.initScrollBar = function () {
var _local1 = this;
if (_local1.scrollBar_mc == undefined) {
_local1.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:_local1.styleTable});
_local1.scrollBar_mc = _local1.container_mc.scrollBar_mc;
_local1.scrollBar_mc.setChangeHandler("scrollHandler", _local1);
_local1.scrollBar_mc.setSize(_local1.height);
_local1.scrollBar_mc._x = _local1.width - _local1.scrollBar_mc._width;
_local1.scrollBar_mc._y = 0;
_local1.scrollBar_mc.setLargeScroll(_local1.numDisplayed - 1);
_local1.scrollOffset = _local1.scrollBar_mc._width;
}
if ((((!_local1.permaScrollBar) || (_local1.showVScroll != true)) && (_local1.getLength() <= _local1.numDisplayed)) || (_local1.showVScroll == false)) {
_local1.realWidth = _local1.width;
_local1.scrollBar_mc._visible = false;
} else {
_local1.scrollBar_mc._visible = true;
_local1.realWidth = _local1.width - _local1.scrollBar_mc._width;
_local1.scrollBar_mc.setScrollProperties(_local1.numDisplayed, 0, _local1.getLength() - _local1.numDisplayed);
}
_local1.relayoutItems();
_local1.updateControl();
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var _local2 = this;
var pos = scrollBar.getScrollPosition();
var deltaPos = (pos - _local2.topDisplayed);
if (deltaPos == 0) {
} else {
_local2.topDisplayed = pos;
var scrollUp = (deltaPos > 0);
deltaPos = Math.abs(deltaPos);
if (deltaPos >= _local2.numDisplayed) {
_local2.updateControl();
} else {
var tmpArray = new Array();
var moveBlockLength = (_local2.numDisplayed - deltaPos);
var moveBlockDistance = (deltaPos * (_local2.itmHgt - 2));
var shuffleBlockDistance = (moveBlockLength * (_local2.itmHgt - 2));
var inc = (scrollUp ? 1 : -1);
var _local1 = 0;
while (_local1 < _local2.numDisplayed) {
if (((_local1 < deltaPos) && (scrollUp)) || ((_local1 >= moveBlockLength) && (!scrollUp))) {
_local2.rows[_local1]._y = _local2.rows[_local1]._y + (inc * shuffleBlockDistance);
var _local3 = _local1 + (inc * moveBlockLength);
var newItem = (_local2.topDisplayed + _local3);
tmpArray[_local3] = _local2.rows[_local1];
_local2.container_mc[("fListItem" + _local3) + "_mc"] = _local2.rows[_local1];
tmpArray[_local3].itemNum = _local3;
tmpArray[_local3].drawItem(_local2.getItemAt(newItem), _local2.isSelected(newItem));
} else {
_local2.rows[_local1]._y = _local2.rows[_local1]._y - (inc * moveBlockDistance);
var _local3 = _local1 - (inc * deltaPos);
tmpArray[_local3] = _local2.rows[_local1];
_local2.container_mc[("fListItem" + _local3) + "_mc"] = _local2.rows[_local1];
tmpArray[_local3].itemNum = _local3;
}
_local1++;
}
_local2.rows = tmpArray;
}
_local2.lastPosition = pos;
}
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
super.clickHandler(itmNum);
if ((_local1.dragScrolling == undefined) && (_local1.scrollBar_mc != undefined)) {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
var _local1 = this;
clearInterval(_local1.dragScrolling);
if (_local1.container_mc._ymouse < 0) {
_local1.setScrollPosition(_local1.getScrollPosition() - 1);
_local1.selectionHandler(0);
_local1.scrollInterval = Math.max(25, (-23.8 * (-_local1.container_mc._ymouse)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else if (_local1.container_mc._ymouse > ((_local1.itmHgt - 2) * _local1.numDisplayed)) {
_local1.setScrollPosition(_local1.getScrollPosition() + 1);
_local1.selectionHandler(_local1.numDisplayed - 1);
_local1.scrollInterval = Math.max(25, (-23.8 * Math.abs((_local1.container_mc._ymouse - ((_local1.itmHgt - 2) * _local1.numDisplayed)) - 2)) + 500);
_local1.dragScrolling = setInterval(_local1, "dragScroll", _local1.scrollInterval);
} else {
_local1.dragScrolling = setInterval(_local1, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
var _local2 = this;
if (_local2.focused) {
_local2.keyCodes = new Array(40, 38, 34, 33, 36, 35);
_local2.keyIncrs = new Array(1, -1, _local2.numDisplayed - 1, -(_local2.numDisplayed - 1), -_local2.getLength(), _local2.getLength());
var _local1 = 0;
while (_local1 < _local2.keyCodes.length) {
if (Key.isDown(_local2.keyCodes[_local1])) {
_local2.moveSelBy(_local2.keyIncrs[_local1]);
return;
}
_local1++;
}
_local2.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var _local1 = Key.getAscii();
if ((_local1 >= 33) && (_local1 <= 126)) {
this.findString(String.fromCharCode(_local1));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
} else {
var _local3 = this.getSelectedIndex();
var jump = 0;
var _local1 = _local3 + 1;
while (_local1 != _local3) {
var _local2 = this.getItemAt(_local1).label.substring(0, str.length);
if ((str == _local2) || (str.toUpperCase() == _local2.toUpperCase())) {
var jump = (_local1 - _local3);
break;
}
if (_local1 >= (this.getLength() - 1)) {
_local1 = -1;
}
_local1++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
}
};
#endinitclip
Instance of Symbol 130 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 133 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 132 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 133 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 136 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 136 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 139 MovieClip [FDataGridSymbol] Frame 1
#initclip 13
function FDataGridClass() {
var _local1 = this;
if (_local1._name == undefined) {
} else {
_local1.init();
_local1.permaScrollBar = true;
var _local2 = 0;
while (_local2 < _local1.labels.length) {
_local1.addItem(_local1.labels[_local2], _local1.data[_local2]);
_local2++;
}
_local1.boundingBox_mc.gotoAndStop(1);
_local1.boundingBox_mc._visible = false;
_local1.width = (_local1.realWidth = _local1._width);
_local1.height = _local1._height;
_local1._yscale = (_local1._xscale = 100);
_local1.invalidate("setSize");
if (_local1.changeHandler.length > 0) {
_local1.setChangeHandler(_local1.changeHandler);
}
_local1.colArray = new Array();
_local1.registerSkinElement(_local1.boundingBox_mc, "border");
}
}
FDataGridClass.prototype = new FScrollSelectListClass();
Object.registerClass("FDataGridSymbol", FDataGridClass);
FDataGridClass.prototype.borderOn = true;
FDataGridClass.prototype.setDataProvider = function (dP) {
super.setDataProvider(dP);
this.generateCols();
};
FDataGridClass.prototype.addItemAt = function (index, obj) {
var _local1 = this;
if ((index < 0) || (!_local1.enable)) {
} else {
_local1.dataProvider.addItemAt(index, obj);
_local1.generateCols();
}
};
FDataGridClass.prototype.addItem = function (obj) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.dataProvider.addItem(obj);
_local1.generateCols();
}
};
FDataGridClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndices();
return(super.removeItemAt(index));
};
FDataGridClass.prototype.removeAllItems = function () {
this.dataProvider.removeAll();
};
FDataGridClass.prototype.replaceItemAt = function (index, item) {
this.dataProvider.replaceItemAt(index, item);
};
FDataGridClass.prototype.setCellData = function (index, colName, data) {
var _local1 = this;
var _local2 = index;
_local1.dataProvider.getItemAt(_local2)[colName] = data;
_local1.rows[_local2 - _local1.topDisplayed].drawItem(_local1.dataProvider.getItemAt(_local2), _local1.isSelected(_local2));
};
FDataGridClass.prototype.sortItemsBy = function (fieldName, order) {
super.sortItemsBy(fieldName, order.toUpperCase());
};
FDataGridClass.prototype.sort = function (sortFunction) {
this.dataProvider.sort(sortFunction);
};
FDataGridClass.prototype.setSelectable = function (mode) {
this.selectable = mode;
};
FDataGridClass.prototype.getSelectedIndices = function () {
var _local1 = this;
var _local2 = new Array();
for (var _local3 in _local1.selected) {
_local2.push(_local1.selected[_local3].sIndex);
}
if (_local2.length <= 0) {
return(undefined);
}
return(_local2);
};
FDataGridClass.prototype.getSelectedItems = function () {
var _local2 = this.getSelectedIndices();
var _local3 = new Array();
var _local1 = 0;
while (_local1 < _local2.length) {
_local3.push(this.getItemAt(_local2[_local1]));
_local1++;
}
if (_local3.length <= 0) {
return(undefined);
}
return(_local3);
};
FDataGridClass.prototype.setSelectedIndices = function (indexArray) {
var _local2 = indexArray;
var _local3 = this;
_local3.clearSelected();
var _local1 = 0;
while (_local1 < _local2.length) {
_local3.selectItem(_local2[_local1], true);
_local1++;
}
_local3.updateControl();
};
FDataGridClass.prototype.setSelectMultiple = function (flag) {
this.selectMultiple = flag;
};
FDataGridClass.prototype.getSelectMultiple = function () {
return(this.selectMultiple);
};
FDataGridClass.prototype.setEditable = function (mode) {
this.editable = mode;
};
FDataGridClass.prototype.setSize = function (w, h) {
var _local1 = this;
var _local3 = h;
if (!_local1.enable) {
} else {
_local1._yscale = (_local1._xscale = 100);
delete _local1.methodTable.setSize;
if (_local1.borderOn) {
_local1.boundingBox_mc._visible = true;
}
w = Math.max(w, 20);
_local3 = Math.max(_local3, 40);
_local1.container_mc.removeMovieClip();
_local1.scrollBar_mc = undefined;
_local1.container_mc = _local1.createEmptyMovieClip("container", 3);
var _local2 = 0;
if (_local1.columnHeaders) {
_local1.initHeaders();
_local2 = _local1.header_mc._height;
_local1.container_mc._y = _local2;
}
_local1.measureItmHgt();
_local1.oldItmHgt = _local1.itmHgt;
if ((_local1.rowHeight != undefined) && (_local1.itmHgt < _local1.rowHeight)) {
_local1.itmHgt = _local1.rowHeight;
}
if (_local1.tmpRowCount != undefined) {
_local1.numDisplayed = _local1.tmpRowCount;
delete _local1.tmpRowCount;
} else {
_local1.numDisplayed = Math.floor((_local3 - _local2) / (_local1.itmHgt - 2));
}
_local1.height = ((_local1.numDisplayed * (_local1.itmHgt - 2)) + 2) + _local2;
super.setSize(w, _local1.height);
_local1.scrollBar_mc._y = _local1.scrollBar_mc._y - _local2;
_local1.initHeaders();
_local1.colArray[_local1.colArray.length - 1].setWidth(_local1.colArray[_local1.colArray.length - 1].width);
_local1.drawColumns();
delete _local1.methodTable.drawColumns;
}
};
FDataGridClass.prototype.setWidth = function (wdt) {
this.setSize(wdt, this.height);
};
FDataGridClass.prototype.setRowCount = function (count) {
this.tmpRowCount = count;
this.invalidate("setSize");
};
FDataGridClass.prototype.getRowCount = function () {
return(this.numDisplayed);
};
FDataGridClass.prototype.setRowHeight = function (rowHeight) {
this.rowHeight = rowHeight;
this.invalidate("setSize");
};
FDataGridClass.prototype.alternateRowColors = function (col1, col2) {
var _local1 = this;
if (col1 == undefined) {
_local1.aRC = false;
} else {
_local1.aRC = true;
_local1.row1 = col1;
_local1.row2 = col2;
}
_local1.invalidate("updateControl");
};
FDataGridClass.prototype.showBorder = function (bool) {
this.borderOn = bool;
this.boundingBox_mc._visible = bool;
};
FDataGridClass.prototype.setVScroll = function (tFAuto) {
var _local1 = this;
_local1.showVScroll = tfAuto;
_local1.initScrollBar();
_local1.invalidate("initHeaders");
_local1.invalidate("drawColumns");
};
FDataGridClass.prototype.selectionHandler = (FListBoxClass.prototype.selectionHandler = function (itemNum) {
var _local1 = this;
if (!_local1.selectable) {
} else if (_local1.clickFilter) {
var _local3 = _local1.topDisplayed + itemNum;
if (_local1.getItemAt(_local3) == undefined) {
_local1.changeFlag = false;
return;
}
_local1.changeFlag = true;
if (((!_local1.selectMultiple) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) {
_local1.clearSelected();
_local1.selectItem(_local3, true);
_local1.lastSelected = _local3;
_local1.rows[itemNum].drawItem(_local1.getItemAt(_local3), _local1.isSelected(_local3));
} else if (Key.isDown(16) && (_local1.selectMultiple)) {
if (_local1.lastSelected == -1) {
_local1.lastSelected = _local3;
}
var incr = ((_local1.lastSelected < _local3) ? 1 : -1);
_local1.clearSelected();
var _local2 = _local1.lastSelected;
while (_local2 != _local3) {
_local1.selectItem(_local2, true);
if ((_local2 >= _local1.topDisplayed) && (_local2 < (_local1.topDisplayed + _local1.numDisplayed))) {
_local1.rows[_local2 - _local1.topDisplayed].drawItem(_local1.getItemAt(_local2), _local1.isSelected(_local2));
}
_local2 = _local2 + incr;
}
_local1.selectItem(_local3, true);
_local1.rows[_local3 - _local1.topDisplayed].drawItem(_local1.getItemAt(_local3), _local1.isSelected(_local3));
} else if (key.isDown(17)) {
var selectedFlag = _local1.isSelected(_local3);
if (!_local1.selectMultiple) {
_local1.clearSelected();
}
if (!((!_local1.selectMultiple) && (selectedFlag))) {
_local1.selectItem(_local3, !selectedFlag);
_local1.rows[itemNum].drawItem(_local1.getItemAt(_local1.topDisplayed + itemNum), _local1.isSelected(_local1.topDisplayed + itemNum));
}
_local1.lastSelected = _local3;
}
} else {
_local1.clickFilter = true;
}
});
FDataGridClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
super.modelChanged(eventObj);
if (eventObj.event == "sort") {
} else {
_local1.initScrollBar();
_local1.invalidate("drawColumns");
_local1.invalidate("initHeaders");
}
};
FDataGridClass.prototype.findInputText = function () {
};
FDataGridClass.prototype.moveSelBy = function (itemNum) {
super.moveSelBy(itemNum);
this.releaseHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 133 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 139 MovieClip [FDataGridSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 142 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 4
function FCheckBoxClass() {
this.init();
}
FCheckBoxClass.prototype = new FUIComponentClass();
Object.registerClass("FCheckBoxSymbol", FCheckBoxClass);
FCheckBoxClass.prototype.init = function () {
var _local1 = this;
super.setSize(_local1._width, _local1._height);
_local1.boundingBox_mc.unloadMovie();
_local1.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1);
_local1.attachMovie("fcb_states", "fcb_states_mc", 2);
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
_local1.setChangeHandler(_local1.changeHandler);
_local1._xscale = 100;
_local1._yscale = 100;
_local1.setSize(_local1.width, _local1.height);
if (_local1.initialValue == undefined) {
_local1.setCheckState(false);
} else {
_local1.setCheckState(_local1.initialValue);
}
if (_local1.label != undefined) {
_local1.setLabel(_local1.label);
}
_local1.ROLE_SYSTEM_CHECKBUTTON = 44;
_local1.STATE_SYSTEM_CHECKED = 16;
_local1.EVENT_OBJECT_STATECHANGE = 32778;
_local1.EVENT_OBJECT_NAMECHANGE = 32780;
_local1._accImpl.master = _local1;
_local1._accImpl.stub = false;
_local1._accImpl.get_accRole = _local1.get_accRole;
_local1._accImpl.get_accName = _local1.get_accName;
_local1._accImpl.get_accState = _local1.get_accState;
_local1._accImpl.get_accDefaultAction = _local1.get_accDefaultAction;
_local1._accImpl.accDoDefaultAction = _local1.accDoDefaultAction;
};
FCheckBoxClass.prototype.setLabelPlacement = function (pos) {
var _local1 = this;
var _local3 = pos;
_local1.setLabel(_local1.getLabel());
_local1.txtFormat(_local3);
var halfLabelH = (_local1.fLabel_mc._height / 2);
var halfFrameH = (_local1.fcb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var checkWidth = _local1.fcb_states_mc._width;
var frame = _local1.fcb_states_mc;
var label = _local1.fLabel_mc;
var _local2 = 0;
if (frame._width > _local1.width) {
_local2 = 0;
} else {
_local2 = _local1.width - frame._width;
}
_local1.fLabel_mc.setSize(_local2);
if ((_local3 == "right") || (_local3 == undefined)) {
_local1.labelPlacement = "right";
_local1.fcb_states_mc._x = 0;
_local1.fLabel_mc._x = checkWidth;
_local1.txtFormat("left");
} else if (_local3 == "left") {
_local1.labelPlacement = "left";
_local1.fLabel_mc._x = 0;
_local1.fcb_states_mc._x = _local1.width - checkWidth;
_local1.txtFormat("right");
}
_local1.fLabel_mc._y = vertCenter;
_local1.fcb_hitArea_mc._y = vertCenter;
};
FCheckBoxClass.prototype.txtFormat = function (pos) {
var _local1 = this;
var _local2 = _local1.textStyle;
var _local3 = _local1.styleTable;
_local2.align = ((_local3.textAlign.value == undefined) ? ((_local2.align = pos)) : undefined);
_local2.leftMargin = ((_local3.textLeftMargin.value == undefined) ? ((_local2.leftMargin = 0)) : undefined);
_local2.rightMargin = ((_local3.textRightMargin.value == undefined) ? ((_local2.rightMargin = 0)) : undefined);
if (_local1.flabel_mc._height > _local1.height) {
super.setSize(_local1.width, _local1.flabel_mc._height);
} else {
super.setSize(_local1.width, _local1.height);
}
_local1.fLabel_mc.labelField.setTextFormat(_local1.textStyle);
_local1.setEnabled(_local1.enable);
};
FCheckBoxClass.prototype.setHitArea = function (w, h) {
var _local2 = this;
var _local1 = _local2.fcb_hitArea_mc;
_local2.hitArea = _local1;
if (_local2.fcb_states_mc._width > w) {
_local1._width = _local2.fcb_states_mc._width;
} else {
_local1._width = w;
}
_local1._visible = false;
if (arguments.length > 1) {
_local1._height = h;
}
};
FCheckBoxClass.prototype.setSize = function (w) {
var _local1 = this;
_local1.setLabel(_local1.getLabel());
_local1.setLabelPlacement(_local1.labelPlacement);
if (_local1.fcb_states_mc._height < _local1.flabel_mc.labelField._height) {
super.setSize(w, _local1.flabel_mc.labelField._height);
}
_local1.setHitArea(_local1.width, _local1.height);
_local1.setLabelPlacement(_local1.labelPlacement);
};
FCheckBoxClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1._width + 6, _local1._height - 1);
};
FCheckBoxClass.prototype.onPress = function () {
var _local2 = this;
_local2.pressFocus();
_root.focusRect.removeMovieClip();
var _local1 = _local2.fcb_states_mc;
if (_local2.getValue()) {
_local1.gotoAndStop("checkedPress");
} else {
_local1.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.onRelease = function () {
var _local1 = this;
_local1.fcb_states_mc.gotoAndStop("up");
_local1.setValue(!_local1.checked);
};
FCheckBoxClass.prototype.onReleaseOutside = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedEnabled");
} else {
_local1.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOut = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedEnabled");
} else {
_local1.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOver = function () {
var _local1 = this.fcb_states_mc;
if (this.getValue()) {
_local1.gotoAndStop("checkedPress");
} else {
_local1.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.setValue = function (checkedValue) {
var _local1 = this;
var _local2 = checkedValue;
if (_local2 || (_local2 == undefined)) {
_local1.setCheckState(_local2);
} else if (_local2 == false) {
_local1.setCheckState(_local2);
}
_local1.executeCallBack();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_STATECHANGE, true);
}
};
FCheckBoxClass.prototype.setCheckState = function (checkedValue) {
var _local1 = this;
var _local3 = checkedValue;
var _local2 = _local1.fcb_states_mc;
if (_local1.enable) {
_local1.flabel_mc.setEnabled(true);
if (_local3 || (_local3 == undefined)) {
_local2.gotoAndStop("checkedEnabled");
_local1.enabled = true;
_local1.checked = true;
} else {
_local2.gotoAndStop("up");
_local1.enabled = true;
_local1.checked = false;
}
} else {
_local1.flabel_mc.setEnabled(false);
if (_local3 || (_local3 == undefined)) {
_local2.gotoAndStop("checkedDisabled");
_local1.enabled = false;
_local1.checked = true;
} else {
_local2.gotoAndStop("uncheckedDisabled");
_local1.enabled = false;
_local1.checked = false;
_local1.focusRect.removeMovieClip();
}
}
};
FCheckBoxClass.prototype.getValue = function () {
return(this.checked);
};
FCheckBoxClass.prototype.setEnabled = function (enable) {
var _local1 = this;
if ((enable == true) || (enable == undefined)) {
_local1.enable = true;
Super.setEnabled(true);
} else {
_local1.enable = false;
Super.setEnabled(false);
}
_local1.setCheckState(_local1.checked);
};
FCheckBoxClass.prototype.getEnabled = function () {
return(this.enable);
};
FCheckBoxClass.prototype.setLabel = function (label) {
var _local1 = this;
_local1.fLabel_mc.setLabel(label);
_local1.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(_local1, 0, _local1.EVENT_OBJECT_NAMECHANGE);
}
};
FCheckBoxClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FCheckBoxClass.prototype.setTextColor = function (color) {
this.fLabel_mc.labelField.textColor = color;
};
FCheckBoxClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if (((Key.getCode() == 32) && (_local1.pressOnce == undefined)) && (_local1.enabled == true)) {
_local1.setValue(!_local1.getValue());
_local1.pressOnce = true;
}
};
FCheckBoxClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.pressOnce = undefined;
}
};
FCheckBoxClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_CHECKBUTTON);
};
FCheckBoxClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FCheckBoxClass.prototype.get_accState = function (childId) {
if (this.master.getValue()) {
return(this.master.STATE_SYSTEM_CHECKED);
}
return(0);
};
FCheckBoxClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getValue()) {
return("UnCheck");
}
return("Check");
};
FCheckBoxClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 143 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 10
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
var _local1 = this;
super.setSize(w, h);
_local1.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 146 MovieClip [FComboBoxSymbol] Frame 1
#initclip 11
function FComboBoxClass() {
var _local1 = this;
_global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1));
_local1.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
var _local3 = _local1.superHolder.createEmptyMovieClip("testCont", 20000);
var testBox = _local3.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
if (testBox._name == undefined) {
_local1.superHolder.removeMovieClip();
_local1.superHolder = _local1._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
} else {
_local3.removeMovieClip();
}
if (_local1.rowCount == undefined) {
_local1.rowCount = 8;
_local1.editable = false;
}
_local1.itemSymbol = "FComboBoxItemSymbol";
_local1.init();
_local1.permaScrollBar = false;
_local1.proxyBox_mc.gotoAndStop(1);
_local1.width = _local1._width;
_local1.height = (_local1.proxyBox_mc._height * _local1._yscale) / 100;
var _local2 = 0;
while (_local2 < _local1.labels.length) {
_local1.addItem(_local1.labels[_local2], _local1.data[_local2]);
_local2++;
}
_local1.lastSelected = 0;
_local1.selectItem(0);
_local1._xscale = (_local1._yscale = 100);
_local1.opened = false;
_local1.setSize(_local1.width);
_local1.highlightTop(false);
if (_local1.changeHandler.length > 0) {
_local1.setChangeHandler(_local1.changeHandler);
}
_local1.onUnload = function () {
this.superHolder.removeMovieClip();
};
_local1.setSelectedIndex(0, false);
_local1.value = "";
_local1.focusEnabled = true;
_local1.changeFlag = false;
}
FComboBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FComboBoxSymbol", FComboBoxClass);
FComboBoxClass.prototype.modelChanged = function (eventObj) {
var _local1 = this;
super.modelChanged(eventObj);
var _local2 = eventObj.event;
if ((_local2 == "addRows") || (_local2 == "deleteRows")) {
var diff = ((eventObj.lastRow - eventObj.firstRow) + 1);
var mode = ((_local2 == "addRows") ? 1 : -1);
var _local3 = _local1.getLength();
var lenBefore = (_local3 - (mode * diff));
if ((_local1.rowCount > lenBefore) || (_local1.rowCount > _local3)) {
_local1.invalidate("setSize");
}
if (_local1.getSelectedIndex() == undefined) {
_local1.setSelectedIndex(0, false);
}
} else if (_local2 == "updateAll") {
_local1.invalidate("setSize");
}
};
FComboBoxClass.prototype.removeAll = function () {
var _local1 = this;
if (!_local1.enable) {
} else {
super.removeAll();
if (_local1.editable) {
_local1.value = "";
}
_local1.invalidate("setSize");
}
};
FComboBoxClass.prototype.setSize = function (w) {
var _local1 = this;
var _local2 = w;
if ((((_local2 == undefined) || (typeof(_local2) != "number")) || (_local2 <= 0)) || (!_local1.enable)) {
} else {
_local1.proxyBox_mc._width = _local2;
_local1.container_mc.removeMovieClip();
_local1.measureItmHgt();
_local1.container_mc = _local1.superHolder.createEmptyMovieClip("container", 3);
_local1.container_mc.tabChildren = false;
_local1.setPopUpLocation(_local1.container_mc);
_local1.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
_local1.boundingBox_mc = _local1.container_mc.boundingBox_mc;
_local1.boundingBox_mc.component = _local1;
_local1.registerSkinElement(_local1.boundingBox_mc.boundingBox, "background");
_local1.proxyBox_mc._height = _local1.itmHgt;
_local1.numDisplayed = Math.min(_local1.rowCount, _local1.getLength());
if (_local1.numDisplayed < 3) {
_local1.numDisplayed = Math.min(3, _local1.getLength());
}
_local1.height = (_local1.numDisplayed * (_local1.itmHgt - 2)) + 2;
super.setSize(_local2, _local1.height);
_local1.attachMovie("DownArrow", "downArrow", 10);
_local1.downArrow._y = 0;
_local1.downArrow._width = _local1.itmHgt;
_local1.downArrow._height = _local1.itmHgt;
_local1.downArrow._x = _local1.proxyBox_mc._width - _local1.downArrow._width;
_local1.setEditable(_local1.editable);
_local1.container_mc._visible = _local1.opened;
_local1.highlightTop(false);
_local1.fader = _local1.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4);
_local1.registerSkinElement(_local1.fader.boundingBox, "background");
_local1.fader._width = _local1.width;
_local1.fader._height = _local1.height;
_local1.fader._visible = false;
}
};
FComboBoxClass.prototype.setDataProvider = function (dp) {
super.setDataProvider(dp);
this.invalidate("setSize");
this.setSelectedIndex(0);
};
FComboBoxClass.prototype.getValue = function () {
if (this.editable) {
return(this.fLabel_mc.getLabel());
}
return(super.getValue());
};
FComboBoxClass.prototype.getRowCount = function () {
return(this.rowCount);
};
FComboBoxClass.prototype.setRowCount = function (count) {
var _local1 = this;
var _local3 = count;
_local1.rowCount = ((_local1.getLength() > _local3) ? (Math.max(_local3, 3)) : (_local3));
_local1.setSize(_local1.width);
var _local2 = _local1.getLength();
if ((_local2 - _local1.getScrollPosition()) < _local1.rowCount) {
_local1.setScrollPosition(_local2 - Math.min(_local1.rowCount, _local2));
_local1.invalidate("updateControl");
}
};
FComboBoxClass.prototype.setEditable = function (editableFlag) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.editable = editableFlag;
if (!_local1.editable) {
_local1.onPress = _local1.pressHandler;
_local1.useHandCursor = false;
_local1.trackAsMenu = true;
_local1.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:_local1, itemNum:-1});
_local1.fLabel_mc.onRollOver = undefined;
_local1.fLabel_mc.setSize((_local1.width - _local1.itmHgt) + 1, _local1.itmHgt);
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
_local1.highlightTop(false);
} else {
_local1.attachMovie("FLabelSymbol", "fLabel_mc", 5);
_local1.fLabel_txt = _local1.fLabel_mc.labelField;
_local1.fLabel_txt.type = "input";
_local1.fLabel_txt._x = 4;
_local1.fLabel_txt.onSetFocus = _local1.onLabelFocus;
_local1.fLabel_mc.setSize((_local1.width - _local1.itmHgt) - 3);
delete _local1.onPress;
_local1.fLabel_txt.onKillFocus = function () {
this._parent._parent.myOnKillFocus();
};
_local1.fLabel_mc.setLabel(_local1.value);
_local1.fLabel_txt.onChanged = function () {
this._parent._parent.findInputText();
};
_local1.downArrow.onPress = _local1.buttonPressHandler;
_local1.downArrow.useHandCursor = false;
_local1.downArrow.trackAsMenu = true;
}
}
};
FComboBoxClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
_local2 = (((_local2 == undefined) || (typeof(_local2) != "boolean")) ? true : (_local2));
super.setEnabled(_local2);
_local1.registerSkinElement(_local1.boundingBox_mc.boundingBox, "background");
_local1.proxyBox_mc.gotoAndStop((_local1.enable ? "enabled" : "disabled"));
_local1.downArrow.gotoAndStop((_local1.enable ? 1 : 3));
if (_local1.editable) {
_local1.fLabel_txt.type = (_local2 ? "input" : "dynamic");
_local1.fLabel_txt.selectable = _local2;
} else if (_local2) {
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
_local1.setSelectedIndex(_local1.getSelectedIndex(), false);
}
_local1.fLabel_mc.setEnabled(_local1.enable);
_local1.fLabel_txt.onSetFocus = (_local2 ? (_local1.onLabelFocus) : undefined);
};
FComboBoxClass.prototype.setSelectedIndex = function (index, flag) {
var _local1 = this;
super.setSelectedIndex(index, flag);
if (!_local1.editable) {
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, false);
} else {
_local1.value = ((flag != undefined) ? "" : (_local1.getSelectedItem().label));
_local1.fLabel_mc.setLabel(_local1.value);
}
_local1.invalidate("updateControl");
};
FComboBoxClass.prototype.setValue = function (value) {
var _local1 = this;
if (_local1.editable) {
_local1.fLabel_mc.setLabel(value);
_local1.value = value;
}
};
FComboBoxClass.prototype.pressHandler = function () {
var _local1 = this;
_local1.focusRect.removeMovieClip();
if (_local1.enable) {
if (!_local1.opened) {
_local1.onMouseUp = _local1.releaseHandler;
} else {
_local1.onMouseUp = undefined;
}
_local1.changeFlag = false;
if (!_local1.focused) {
_local1.pressFocus();
_local1.clickFilter = (_local1.editable ? false : true);
}
if (!_local1.clickFilter) {
_local1.openOrClose(!_local1.opened);
} else {
_local1.clickFilter = false;
}
}
};
FComboBoxClass.prototype.clickHandler = function (itmNum) {
var _local1 = this;
if (!_local1.focused) {
if (_local1.editable) {
_local1.fLabel_txt.onKillFocus = undefined;
}
_local1.pressFocus();
}
super.clickHandler(itmNum);
_local1.selectionHandler(itmNum);
_local1.onMouseUp = _local1.releaseHandler;
};
FComboBoxClass.prototype.highlightTop = function (flag) {
var _local1 = this;
if (!_local1.editable) {
_local1.fLabel_mc.drawItem(_local1.topLabel, flag);
}
};
FComboBoxClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
this.fLabel_mc.highlight_mc.gotoAndStop("enabled");
this.highlightTop(true);
};
FComboBoxClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1._height + 4);
};
FComboBoxClass.prototype.myOnKillFocus = function () {
var _local1 = this;
if (Selection.getFocus().indexOf("labelField") != -1) {
} else {
super.myOnKillFocus();
delete _local1.fLabel_txt.onKeyDown;
_local1.openOrClose(false);
_local1.highlightTop(false);
}
};
FComboBoxClass.prototype.setPopUpLocation = function (mcRef) {
var _local1 = this;
var _local3 = mcRef;
_local3._x = _local1._x;
var _local2 = {x:_local1._x, y:_local1._y + _local1.proxyBox_mc._height};
_local1._parent.localToGlobal(_local2);
_local3._parent.globalToLocal(_local2);
_local3._x = _local2.x;
_local3._y = _local2.y;
if ((_local1.height + _local3._y) >= Stage.height) {
_local1.upward = true;
_local3._y = (_local2.y - _local1.height) - _local1.proxyBox_mc._height;
} else {
_local1.upward = false;
}
};
FComboBoxClass.prototype.openOrClose = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.getLength() == 0) {
} else {
_local1.setPopUpLocation(_local1.container_mc);
if ((_local1.lastSelected != -1) && ((_local1.lastSelected < _local1.topDisplayed) || (_local1.lastSelected > (_local1.topDisplayed + _local1.numDisplayed)))) {
super.moveSelBy(_local1.lastSelected - _local1.getSelectedIndex());
}
if (!_local2) {
(_local1.downArrow.gotoAndStop(1));// not popped
} else {
(_local1.downArrow.gotoAndStop(2));// not popped
}
if (_local2 == _local1.opened) {
} else {
_local1.highlightTop(!_local2);
_local1.fadeRate = _local1.styleTable.popUpFade.value;
if (((!_local2) || (_local1.fadeRate == undefined)) || (_local1.fadeRate == 0)) {
_local1.opened = (_local1.container_mc._visible = _local2);
} else {
_local1.setPopUpLocation(_local1.fader);
_local1.time = 0;
_local1.const = 85 / Math.sqrt(_local1.fadeRate);
_local1.fader._alpha = 85;
_local1.container_mc._visible = (_local1.fader._visible = true);
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.fader._alpha = 100 - ((_local1.const * Math.sqrt(++_local1.time)) + 15);
if (_local1.time >= _local1.fadeRate) {
_local1.fader._visible = false;
delete _local1.onEnterFrame;
_local1.opened = true;
}
};
}
}
}
};
FComboBoxClass.prototype.fireChange = function () {
var _local1 = this;
_local1.lastSelected = _local1.getSelectedIndex();
if (!_local1.editable) {
_local1.topLabel = _local1.getSelectedItem();
_local1.fLabel_mc.drawItem(_local1.topLabel, true);
} else {
_local1.value = _local1.getSelectedItem().label;
_local1.fLabel_mc.setLabel(_local1.value);
}
_local1.executeCallback();
};
FComboBoxClass.prototype.releaseHandler = function () {
var _local1 = this;
var _local2 = _root;
var _local3 = _local1.boundingBox_mc.hitTest(_local2._xmouse, _local2._ymouse);
if (_local1.changeFlag) {
if (_local3) {
_local1.fireChange();
}
_local1.openOrClose(!_local1.opened);
} else if (_local3) {
_local1.openOrClose(false);
} else {
_local1.onMouseDown = function () {
var _local1 = this;
var _local2 = _root;
if ((!_local1.boundingBox_mc.hitTest(_local2._xmouse, _local2._ymouse)) && (!_local1.hitTest(_local2._xmouse, _local2._ymouse))) {
_local1.onMouseDown = undefined;
_local1.openOrClose(false);
}
};
}
_local1.changeFlag = false;
_local1.onMouseUp = undefined;
clearInterval(_local1.dragScrolling);
_local1.dragScrolling = undefined;
};
FComboBoxClass.prototype.moveSelBy = function (itemNum) {
var _local1 = this;
if (itemNum != 0) {
super.moveSelBy(itemNum);
if (_local1.editable) {
_local1.setValue(_local1.getSelectedItem().label);
}
if (!_local1.opened) {
if (_local1.changeFlag && (!_local1.isSelected(_local1.lastSelected))) {
_local1.fireChange();
}
}
}
};
FComboBoxClass.prototype.myOnKeyDown = function () {
var _local1 = this;
if (!_local1.focused) {
} else {
if (_local1.editable && (Key.isDown(13))) {
_local1.setValue(_local1.fLabel_mc.getLabel());
_local1.executeCallback();
_local1.openOrClose(false);
} else if ((Key.isDown(13) || (Key.isDown(32) && (!_local1.editable))) && (_local1.opened)) {
if (_local1.getSelectedIndex() != _local1.lastSelected) {
_local1.fireChange();
}
_local1.openOrClose(false);
_local1.fLabel_txt.hscroll = 0;
}
super.myOnKeyDown();
}
};
FComboBoxClass.prototype.findInputText = function () {
if (!this.editable) {
super.findInputText();
}
};
FComboBoxClass.prototype.onLabelFocus = function () {
var _local1 = this;
_local1._parent._parent.tabFocused = false;
_local1._parent._parent.focused = true;
_local1.onKeyDown = function () {
this._parent._parent.myOnKeyDown();
};
Key.addListener(_local1);
};
FComboBoxClass.prototype.buttonPressHandler = function () {
this._parent.pressHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 133 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 146 MovieClip [FComboBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 151 MovieClip Frame 1
Instance of Symbol 151 MovieClip in Symbol 272 MovieClip [b] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
_parent.gotoAndStop(_root.bgSet);
}
Instance of Symbol 159 MovieClip in Symbol 272 MovieClip [b] Frame 3
onClipEvent (load) {
gotoAndStop(int(random(2)) + 1);
}
Instance of Symbol 168 MovieClip in Symbol 272 MovieClip [b] Frame 4
onClipEvent (load) {
gotoAndStop(int(random(7)) + 1);
}
Instance of Symbol 173 MovieClip in Symbol 272 MovieClip [b] Frame 5
onClipEvent (load) {
gotoAndStop(int(random(2)) + 1);
}
Instance of Symbol 185 MovieClip in Symbol 272 MovieClip [b] Frame 8
onClipEvent (load) {
gotoAndStop(int(random(5)) + 1);
}
Instance of Symbol 194 MovieClip in Symbol 272 MovieClip [b] Frame 9
onClipEvent (load) {
gotoAndStop(int(random(3)) + 1);
}
Instance of Symbol 271 MovieClip in Symbol 272 MovieClip [b] Frame 10
onClipEvent (load) {
gotoAndPlay(int(((Math.random() * 519) / 10) + 1) * 10);
}
Symbol 302 Button
on (release) {
_root.play();
}
Symbol 303 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 303 MovieClip Frame 2
gotoAndPlay (1);
Symbol 321 Button
on (release) {
_root.pause = 0;
this.removeMovieClip();
_root.ppause.removeMovieClip();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Instance of Symbol 309 MovieClip [ril] in Symbol 322 MovieClip [pause] Frame 1
onClipEvent (enterFrame) {
_root.ppause._x = _root.screen._x;
_root.ppause._y = _root.screen._y;
}
Symbol 335 Button
on (release) {
if ((_root.level == "custom") or (_root.level == "custom2")) {
_root.goMenu();
_root.bye();
} else {
_root.goMenu();
_root.bye();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 347 Button
on (release) {
if (_root.pause == 0) {
_root.pause = 1;
_root.attachMovie("pause", "ppause", 999934);
if (_root.zoomView == true) {
_root.ppause._width = _root.ppause._width / 2;
_root.ppause._height = _root.ppause._height / 2;
_root.ppause._x = _root.screen._x;
_root.ppause._y = _root.screen._y;
}
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 355 Button
on (release) {
_root.actions.once = 0;
_root.gotoAndPlay("in between", 1);
gotoAndPlay (1);
_root.goBetween();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 388 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 1
stop();
Symbol 459 Button
on (release) {
_root.actions.once = 0;
_root.gotoAndPlay("in between", 1);
gotoAndPlay (1);
_root.goBetween();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Instance of Symbol 381 MovieClip "healthheart" in Symbol 461 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 533 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
if (_root.level != "custom") {
_root.level++;
_root.goBetween();
} else {
_root.goCreator();
}
}
Symbol 535 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
if (_root.level != "custom") {
_root.goLoadGame();
} else {
_root.goMenu();
_root.bye();
}
}
Symbol 536 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.actions.once = 0;
_root.goBetween();
}
Symbol 581 MovieClip Frame 1
stop();
Instance of Symbol 543 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
this.a = 0;
if (_root.lifeLosses == 0) {
this.a = this.a + 500;
}
if (_root.noItemsUsed) {
this.a = this.a + 200;
}
this.a = this.a + (_root.monstersGotten * 100);
this.a = this.a + (_root.health * 50);
this.a = this.a + (_root.lifeLosses * 75);
varA = 300 - (_root.movesMade * 5);
if (varA < 0) {
varA = 0;
}
this.a = this.a + varA;
varB = (60 - int(_root.timeElapsed / 30)) * 10;
if (varB < 0) {
varB = 0;
}
this.a = this.a + varB;
if (this.a < 0) {
this.a = 0;
}
}
Instance of Symbol 549 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
this.a = (60 - int(_root.timeElapsed / 30)) * 10;
if (this.a < 0) {
this.a = 0;
}
}
Instance of Symbol 553 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
this.a = 300 - (_root.movesMade * 5);
if (this.a < 0) {
this.a = 0;
}
}
Instance of Symbol 560 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
this.a = _root.lifeLosses * 75;
}
Instance of Symbol 566 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
this.a = _root.health * 50;
}
Instance of Symbol 572 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
this.a = _root.monstersGotten * 100;
}
Instance of Symbol 576 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.noItemsUsed) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 580 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lifeLosses == 0) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Symbol 585 Button
on (press) {
getURL ("http://www.playmonsters.com/buy.html", "_blank");
}
Symbol 586 MovieClip [screen] Frame 1
_root.screen.swapDepths(747);
play();
Instance of Symbol 381 MovieClip "healthheart" in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
this.hhealth = _root.health;
this.gotoAndStop(hhealth);
}
Instance of Symbol 388 MovieClip "speedbar" in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
if ((_root.speedboosts == 0) and (this._currentframe != 2)) {
this.gotoAndStop(2);
}
if ((_root.speedboosts > 0) and (this._currentframe != 1)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 395 MovieClip in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
if ((_root.shieldboosts == 0) and (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if ((_root.shieldboosts != 0) and (this._currentframe == 2)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 401 MovieClip in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
if (_root.gooboosts == 0) {
this.gotoAndStop(2);
}
if (_root.gooboosts != 0) {
this.gotoAndStop(1);
}
}
Instance of Symbol 407 MovieClip in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
if ((_root.ghostboosts == 0) and (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if ((_root.ghostboosts != 0) and (this._currentframe == 2)) {
this.gotoAndStop(1);
}
}
Instance of Symbol 414 MovieClip "healthheart" in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
this.nnum = _root.keyCountGreen + 1;
this.gotoAndStop(nnum);
}
Instance of Symbol 420 MovieClip "healthheart" in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
this.nnum = _root.keyCountYellow + 1;
this.gotoAndStop(nnum);
}
Instance of Symbol 426 MovieClip in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
this.nnum = _root.keyCountBlue + 1;
this.gotoAndStop(nnum);
}
Instance of Symbol 432 MovieClip "healthheart" in Symbol 586 MovieClip [screen] Frame 1
onClipEvent (enterFrame) {
this.nnum = _root.keyCountRed + 1;
this.gotoAndStop(nnum);
}
Symbol 586 MovieClip [screen] Frame 3
if (_root.soundon) {
_root.ssound = new Sound(_root.main);
_root.ssound.attachSound("3");
_root.ssound.start();
}
_root.screen.swapDepths(747);
Symbol 586 MovieClip [screen] Frame 30
if (_root.soundon) {
_root.ssound = new Sound(_root.main);
_root.ssound.attachSound("2");
_root.ssound.start();
}
Symbol 586 MovieClip [screen] Frame 60
if (_root.soundon) {
_root.ssound = new Sound(_root.main);
_root.ssound.attachSound("1");
_root.ssound.start();
}
Symbol 586 MovieClip [screen] Frame 90
if (_root.soundon) {
_root.ssound = new Sound(_root.main);
_root.ssound.attachSound("Go");
_root.ssound.start();
}
Symbol 586 MovieClip [screen] Frame 99
_root.pause = 0;
Symbol 586 MovieClip [screen] Frame 100
if (_root.zoomView != true) {
_root.screen.swapDepths(-1);
}
stop();
Symbol 586 MovieClip [screen] Frame 101
stopAllSounds();
_root.lastScreen = "menu";
Symbol 586 MovieClip [screen] Frame 102
if (_root.musicon) {
sssound = new Sound(this);
sssound.attachSound("gameOverMusic");
sssound.start();
}
Instance of Symbol 151 MovieClip in Symbol 586 MovieClip [screen] Frame 126
onClipEvent (load) {
this._visible = 0;
if (_root.zoomView) {
dx = 0;
dy = 0;
i = 100;
} else {
dx = (285 - _root.main._x) / 200;
dy = (230 - _root.main._y) / 200;
i = 200;
}
}
onClipEvent (enterFrame) {
if (i >= 0) {
_root.main._x = _root.main._x + dx;
_root.main._y = _root.main._y + dy;
_root.main._width = _root.main._width * 1.0085;
_root.main._height = _root.main._height * 1.0085;
i--;
}
}
Instance of Symbol 524 MovieClip in Symbol 586 MovieClip [screen] Frame 239
onClipEvent (enterFrame) {
gotoAndStop(_root.lastMonsterType);
}
Symbol 586 MovieClip [screen] Frame 281
stop();
Symbol 586 MovieClip [screen] Frame 510
_root.lastScreen = "menu";
Instance of Symbol 151 MovieClip in Symbol 586 MovieClip [screen] Frame 510
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
_root.loadGameData();
}
Instance of Symbol 151 MovieClip in Symbol 586 MovieClip [screen] Frame 517
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
_root.decrypted = _root.decrypt(_root.loadContent);
}
Instance of Symbol 151 MovieClip in Symbol 586 MovieClip [screen] Frame 525
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
myNumber = new Number(_root.decrypted);
_root.encryption = _root.blowfish(myNumber + 1);
}
Instance of Symbol 151 MovieClip in Symbol 586 MovieClip [screen] Frame 531
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.level != "custom") {
if (_root.decrypted < (_root.level + 2)) {
_root.saveGameData(_root.encryption);
}
}
}
Symbol 586 MovieClip [screen] Frame 650
stop();
Symbol 595 Button
on (release) {
this.play();
_root.optionsOpen = true;
_root.drag = null;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 600 Button
on (release) {
this.play();
}
Symbol 603 Button
on (release) {
this.play();
_root.optionsOpen = false;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 642 MovieClip Frame 1
_root.bgSet = "desert";
stop();
Instance of Symbol 607 MovieClip in Symbol 642 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lastScreen == "level creator") {
this._visible = 0;
} else if (_root.zoomView) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Symbol 642 MovieClip Frame 2
_root.bgSet = "cave";
stop();
Symbol 642 MovieClip Frame 3
_root.bgSet = "mountain";
stop();
Symbol 642 MovieClip Frame 4
_root.bgSet = "forest";
stop();
Symbol 642 MovieClip Frame 5
_root.bgSet = "forest";
stop();
Symbol 642 MovieClip Frame 6
_root.bgSet = "jungle";
stop();
Symbol 642 MovieClip Frame 7
_root.bgSet = "lava";
stop();
Symbol 642 MovieClip Frame 8
_root.bgSet = "color";
stop();
Symbol 642 MovieClip Frame 9
_root.bgSet = "mountain";
stop();
Symbol 642 MovieClip Frame 10
_root.bgSet = "ice";
stop();
Symbol 642 MovieClip Frame 11
_root.bgSet = "ice";
stop();
Symbol 642 MovieClip Frame 12
_root.bgSet = "factory";
stop();
Symbol 642 MovieClip Frame 13
_root.bgSet = "factory";
stop();
Symbol 642 MovieClip Frame 14
_root.bgSet = "lava";
stop();
Symbol 642 MovieClip Frame 15
_root.bgSet = "cave";
stop();
Symbol 642 MovieClip Frame 16
_root.bgSet = "ice";
stop();
Symbol 642 MovieClip Frame 17
_root.bgSet = "desert";
stop();
Symbol 642 MovieClip Frame 18
_root.bgSet = "dance";
stop();
Symbol 642 MovieClip Frame 19
_root.bgSet = "ice";
stop();
Symbol 644 Button
on (release) {
_root.bbackground.nextFrame();
_root.optionsTab.bbackground_small.nextFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 645 Button
on (release) {
_root.bbackground.prevFrame();
_root.optionsTab.bbackground_small.prevFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 667 MovieClip Frame 1
stop();
Symbol 668 Button
on (release) {
_root.optionsTab.heartTab.nextFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 669 Button
on (release) {
_root.optionsTab.heartTab.prevFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 671 Button
on (release) {
_root.optionsTab.view.nextFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 672 Button
on (release) {
_root.optionsTab.view.prevFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 677 MovieClip Frame 1
stop();
Symbol 684 MovieClip [optionsTab] Frame 1
stop();
Symbol 684 MovieClip [optionsTab] Frame 35
stop();
Instance of Symbol 642 MovieClip "bbackground_small" in Symbol 684 MovieClip [optionsTab] Frame 35
onClipEvent (load) {
this.gotoAndStop(_root.backgroundd);
}
onClipEvent (enterFrame) {
_root.backgroundd = this._currentframe;
}
Instance of Symbol 667 MovieClip "heartTab" in Symbol 684 MovieClip [optionsTab] Frame 35
onClipEvent (load) {
this.gotoAndStop(_root.health);
}
onClipEvent (enterFrame) {
_root.optionsTabHealth = this._currentframe;
_root.health = this._currentframe;
}
Instance of Symbol 677 MovieClip "view" in Symbol 684 MovieClip [optionsTab] Frame 35
onClipEvent (load) {
this.gotoAndStop(_root.zoomView + 1);
}
onClipEvent (enterFrame) {
_root.zoomView = this._currentframe - 1;
}
Instance of Symbol 689 MovieClip in Symbol 690 MovieClip [g] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 702 MovieClip [shield] Frame 1
stop();
Instance of Symbol 698 MovieClip in Symbol 702 MovieClip [shield] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 702 MovieClip [shield] Frame 55
_root.main.shield.removeMovieClip();
this.removeMovieClip();
stop();
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 51
stop();
_root[(("b" + _parent._x) + "x") + _parent._y] = null;
_parent._name = "open";
Instance of Symbol 719 MovieClip in Symbol 720 MovieClip Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 726 MovieClip in Symbol 727 MovieClip Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 728 MovieClip [lock] Frame 1
stop();
Symbol 728 MovieClip [lock] Frame 43
stop();
Symbol 757 MovieClip [bomb] Frame 25
gotoAndPlay (1);
Symbol 792 MovieClip [d] Frame 1
stop();
Symbol 792 MovieClip [d] Frame 25
stop();
Symbol 805 MovieClip [fire] Frame 1
stop();
Symbol 805 MovieClip [fire] Frame 20
this.removeMovieClip();
Instance of Symbol 814 MovieClip in Symbol 884 MovieClip [j] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 884 MovieClip [j] Frame 32
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 814 MovieClip in Symbol 884 MovieClip [j] Frame 37
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 828 MovieClip in Symbol 884 MovieClip [j] Frame 81
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 843 MovieClip in Symbol 884 MovieClip [j] Frame 161
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 855 MovieClip in Symbol 884 MovieClip [j] Frame 188
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 843 MovieClip in Symbol 884 MovieClip [j] Frame 193
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 855 MovieClip in Symbol 884 MovieClip [j] Frame 268
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 843 MovieClip in Symbol 884 MovieClip [j] Frame 273
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 884 MovieClip [j] Frame 321
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 884 MovieClip [j] Frame 534
gotoAndPlay (321);
Instance of Symbol 889 MovieClip in Symbol 890 MovieClip [k] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 895 MovieClip in Symbol 945 MovieClip [l] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 894 MovieClip in Symbol 945 MovieClip [l] Frame 161
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 939 MovieClip in Symbol 945 MovieClip [l] Frame 321
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 945 MovieClip [l] Frame 534
gotoAndPlay (321);
Instance of Symbol 814 MovieClip in Symbol 1005 MovieClip [m] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 828 MovieClip in Symbol 1005 MovieClip [m] Frame 81
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 975 MovieClip in Symbol 1005 MovieClip [m] Frame 161
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 1005 MovieClip [m] Frame 321
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 1005 MovieClip [m] Frame 534
gotoAndPlay (321);
Instance of Symbol 1008 MovieClip in Symbol 1055 MovieClip [n] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 1055 MovieClip [n] Frame 32
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 1008 MovieClip in Symbol 1055 MovieClip [n] Frame 37
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 828 MovieClip in Symbol 1055 MovieClip [n] Frame 81
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 975 MovieClip in Symbol 1055 MovieClip [n] Frame 161
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 1037 MovieClip in Symbol 1055 MovieClip [n] Frame 188
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 975 MovieClip in Symbol 1055 MovieClip [n] Frame 193
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 1037 MovieClip in Symbol 1055 MovieClip [n] Frame 268
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 975 MovieClip in Symbol 1055 MovieClip [n] Frame 273
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 1055 MovieClip [n] Frame 321
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 1055 MovieClip [n] Frame 534
gotoAndPlay (321);
Symbol 1092 MovieClip [p] Frame 1
stop();
Symbol 1092 MovieClip [p] Frame 38
_root[(("b" + this._x) + "x") + this._y] = null;
stop();
Instance of Symbol 1008 MovieClip in Symbol 1136 MovieClip [q] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 1136 MovieClip [q] Frame 32
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 1008 MovieClip in Symbol 1136 MovieClip [q] Frame 37
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 828 MovieClip in Symbol 1136 MovieClip [q] Frame 81
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 843 MovieClip in Symbol 1136 MovieClip [q] Frame 161
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 855 MovieClip in Symbol 1136 MovieClip [q] Frame 188
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 843 MovieClip in Symbol 1136 MovieClip [q] Frame 193
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 855 MovieClip in Symbol 1136 MovieClip [q] Frame 268
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 843 MovieClip in Symbol 1136 MovieClip [q] Frame 273
onClipEvent (load) {
this._visible = _root.lighting;
}
Instance of Symbol 818 MovieClip in Symbol 1136 MovieClip [q] Frame 321
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 1136 MovieClip [q] Frame 534
gotoAndPlay (321);
Symbol 1293 MovieClip [t] Frame 72
gotoAndPlay (1);
Symbol 1293 MovieClip [t] Frame 188
gotoAndPlay (1);
Symbol 1293 MovieClip [t] Frame 236
gotoAndPlay (1);
Instance of Symbol 895 MovieClip in Symbol 1293 MovieClip [t] Frame 331
onClipEvent (enterFrame) {
this._visible = _root.lighting;
}
Symbol 1293 MovieClip [t] Frame 351
gotoAndPlay (1);
Symbol 1293 MovieClip [t] Frame 445
gotoAndPlay (1);
Symbol 1293 MovieClip [t] Frame 561
gotoAndPlay (1);
Instance of Symbol 1297 MovieClip in Symbol 1306 MovieClip [w] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 1306 MovieClip [w] Frame 60
gotoAndPlay (1);
Instance of Symbol 151 MovieClip in Symbol 1308 MovieClip [wdestination] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root["w" + _parent._name.substr(2, 1)].x == null) {
_parent.removeMovieClip();
}
}
Instance of Symbol 1297 MovieClip in Symbol 1312 MovieClip [x] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 1312 MovieClip [x] Frame 60
gotoAndPlay (1);
Instance of Symbol 151 MovieClip in Symbol 1314 MovieClip [xdestination] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root["x" + _parent._name.substr(2, 1)].x == null) {
_parent.removeMovieClip();
}
}
Instance of Symbol 1297 MovieClip in Symbol 1318 MovieClip [y] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
}
Symbol 1318 MovieClip [y] Frame 60
gotoAndPlay (1);
Instance of Symbol 151 MovieClip in Symbol 1320 MovieClip [ydestination] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root["y" + _parent._name.substr(2, 1)].x == null) {
_parent.removeMovieClip();
}
}
Instance of Symbol 1323 MovieClip in Symbol 1708 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = _root.lighting;
_root.main.facing = "front";
}
Instance of Symbol 1323 MovieClip in Symbol 1709 MovieClip [z] Frame 1
onClipEvent (load) {
this._visible = _root.lighting;
_root.main.facing = "front";
}
Symbol 1709 MovieClip [z] Frame 80
gotoAndStop (1);
Instance of Symbol 1323 MovieClip in Symbol 1709 MovieClip [z] Frame 81
onClipEvent (load) {
this._visible = _root.lighting;
_root.main.facing = "back";
}
Symbol 1709 MovieClip [z] Frame 160
gotoAndStop (1);
Instance of Symbol 1396 MovieClip in Symbol 1709 MovieClip [z] Frame 161
onClipEvent (load) {
this._visible = _root.lighting;
_root.main.facing = "right";
}
Symbol 1709 MovieClip [z] Frame 240
gotoAndStop (1);
gotoAndStop (1);
Instance of Symbol 1396 MovieClip in Symbol 1709 MovieClip [z] Frame 241
onClipEvent (load) {
this._visible = _root.lighting;
_root.main.facing = "left";
}
Symbol 1709 MovieClip [z] Frame 320
gotoAndStop (1);
gotoAndStop (1);
Instance of Symbol 1323 MovieClip in Symbol 1709 MovieClip [z] Frame 321
onClipEvent (load) {
this._visible = _root.lighting;
_root.main.facing = "front";
}
Symbol 1709 MovieClip [z] Frame 391
stop();
Instance of Symbol 1323 MovieClip in Symbol 1709 MovieClip [z] Frame 392
onClipEvent (enterFrame) {
this._visible = _root.lighting;
_root.main.facing = "front";
}
Symbol 1709 MovieClip [z] Frame 550
_root.main.shield.play();
stop();
Symbol 1745 Button
on (press) {
_parent.removeMovieClip();
}
Symbol 1754 Button
on (press) {
_parent.removeMovieClip();
}
on (keyPress "<Enter>") {
_parent.removeMovieClip();
}
Symbol 1767 Button
on (press) {
_root.edit("f");
}
Symbol 1771 Button
on (press) {
_root.edit("h");
}
Symbol 1775 Button
on (press) {
_root.edit("i");
}
Symbol 1779 Button
on (press) {
_root.edit("r");
}
Symbol 1785 Button
on (press) {
_root.edit("g");
}
Symbol 1790 Button
on (press) {
_root.edit("n");
}
Symbol 1794 Button
on (press) {
_root.edit("j");
}
Symbol 1798 Button
on (press) {
_root.edit("l");
}
Symbol 1802 Button
on (press) {
_root.edit("q");
}
Symbol 1806 Button
on (press) {
_root.edit("m");
}
Symbol 1811 Button
on (press) {
_root.edit("k");
}
Symbol 1815 Button
on (press) {
_root.edit("o");
}
Symbol 1819 Button
on (press) {
_root.edit("u");
}
Symbol 1824 Button
on (press) {
_root.edit("x");
}
Symbol 1828 Button
on (press) {
_root.edit("y");
}
Symbol 1832 Button
on (press) {
_root.edit("w");
}
Symbol 1843 Button
on (release) {
if (_root.dontPressYet == 0) {
_root.covered = false;
this.removeMovieClip();
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
}
Symbol 1847 Button
on (release) {
myColor = new Color(a.gatee.kcolor);
myColor.setRGB(16711680);
myColor2 = new Color(b.kcolor);
myColor2.setRGB(16711680);
lastRGB = "0xFF0000";
lastColor = "red";
_root.finalColor = new Color(_root[_root.dragPrevious].rotate.gate.gatee.kcolor);
_root.finalColor.setRGB(lastRGB);
_root.finalColor2 = new Color(_root[_root.dragPrevious].lock.lock.kcolor);
_root.finalColor2.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1850 Button
on (release) {
myColor = new Color(a.gatee.kcolor);
myColor.setRGB(16776960);
myColor2 = new Color(b.kcolor);
myColor2.setRGB(16776960);
lastRGB = "0xFFFF00";
lastColor = "yellow";
_root.finalColor = new Color(_root[_root.dragPrevious].rotate.gate.gatee.kcolor);
_root.finalColor.setRGB(lastRGB);
_root.finalColor2 = new Color(_root[_root.dragPrevious].lock.lock.kcolor);
_root.finalColor2.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1853 Button
on (release) {
myColor = new Color(a.gatee.kcolor);
myColor.setRGB(65280);
myColor2 = new Color(b.kcolor);
myColor2.setRGB(65280);
lastRGB = "0x00FF00";
lastColor = "green";
_root.finalColor = new Color(_root[_root.dragPrevious].rotate.gate.gatee.kcolor);
_root.finalColor.setRGB(lastRGB);
_root.finalColor2 = new Color(_root[_root.dragPrevious].lock.lock.kcolor);
_root.finalColor2.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1856 Button
on (release) {
myColor = new Color(a.gatee.kcolor);
myColor.setRGB(255);
myColor2 = new Color(b.kcolor);
myColor2.setRGB(255);
lastRGB = "0x0000FF";
lastColor = "blue";
_root.finalColor = new Color(_root[_root.dragPrevious].rotate.gate.gatee.kcolor);
_root.finalColor.setRGB(lastRGB);
_root.finalColor2 = new Color(_root[_root.dragPrevious].lock.lock.kcolor);
_root.finalColor2.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1859 Button
on (release) {
_root[_root.dragPrevious].rrotate = 0;
_root[_root.dragPrevious].rotate._rotation = 0;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1860 Button
on (release) {
_root[_root.dragPrevious].rrotate = 90;
_root[_root.dragPrevious].rotate._rotation = 90;
}
Instance of Symbol 720 MovieClip "b" in Symbol 1862 MovieClip [lockedGate] Frame 1
onClipEvent (load) {
_parent.myColor = new Color(_parent.a.gatee.kcolor);
_parent.myColor.setRGB(16776960);
_parent.myColor2 = new Color(_parent.b.kcolor);
_parent.myColor2.setRGB(16776960);
_parent.lastRGB = "0xFFFF00";
_parent.lastColor = "yellow";
_root.finalColor = new Color(_root[_root.dragPrevious].rotate.gate.gatee.kcolor);
_root.finalColor.setRGB(_parent.lastRGB);
_root.finalColor2 = new Color(_root[_root.dragPrevious].lock.lock.kcolor);
_root.finalColor2.setRGB(_parent.lastRGB);
_root[_root.dragPrevious].ccolor = _parent.lastColor;
}
Symbol 1865 Button
on (release) {
myColor = new Color(preview.kcolor);
myColor.setRGB(16711680);
lastRGB = "0xFF0000";
lastColor = "red";
_root.finalColor = new Color(_root[_root.dragPrevious].kcolor);
_root.finalColor.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1866 Button
on (release) {
myColor = new Color(preview.kcolor);
myColor.setRGB(16776960);
lastRGB = "0xFFFF00";
lastColor = "yellow";
_root.finalColor = new Color(_root[_root.dragPrevious].kcolor);
_root.finalColor.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1867 Button
on (release) {
myColor = new Color(preview.kcolor);
myColor.setRGB(65280);
lastRGB = "0x00FF00";
lastColor = "green";
_root.finalColor = new Color(_root[_root.dragPrevious].kcolor);
_root.finalColor.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1868 Button
on (release) {
myColor = new Color(preview.kcolor);
myColor.setRGB(255);
lastRGB = "0x0000FF";
lastColor = "blue";
_root.finalColor = new Color(_root[_root.dragPrevious].kcolor);
_root.finalColor.setRGB(lastRGB);
_root[_root.dragPrevious].ccolor = lastColor;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Instance of Symbol 727 MovieClip "preview" in Symbol 1870 MovieClip [key] Frame 1
onClipEvent (load) {
_parent.myColor = new Color(_parent.preview.kcolor);
_parent.myColor.setRGB(16711680);
_parent.lastRGB = "0xFF0000";
_parent.lastColor = "red";
_root.finalColor = new Color(_root[_root.dragPrevious].kcolor);
_root.finalColor.setRGB(_parent.lastRGB);
_root[_root.dragPrevious].ccolor = _parent.lastColor;
}
Symbol 1875 MovieClip [o] Frame 1
stop();
Symbol 1875 MovieClip [o] Frame 38
_root[(("b" + this._x) + "x") + this._y] = null;
stop();
Symbol 1876 Button
on (release) {
_root[_root.dragPrevious].rrotate = 0;
_root[_root.dragPrevious]._rotation = 0;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1877 Button
on (release) {
_root[_root.dragPrevious].rrotate = 90;
_root[_root.dragPrevious]._rotation = 90;
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1885 Button
on (release) {
if (openWhen > 0) {
openWhen--;
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Symbol 1886 Button
on (release) {
if (openWhen < 270) {
openWhen++;
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
Instance of Symbol 151 MovieClip in Symbol 1891 MovieClip [gate] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_parent.openWhen > 270) {
_parent.openWhen = 270;
}
_parent.openWhen = int(_parent.openWhen);
_root[_root.dragPrevious].openWhen = _parent.openWhen;
}
Instance of Symbol 1897 MovieClip in Symbol 1914 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = _root.lighting;
}
Instance of Symbol 1924 MovieClip in Symbol 1958 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = _root.lighting;
}
Symbol 1964 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (1);
_root.level = _root.levelTotal;
}
Symbol 1969 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (1);
}
Symbol 1974 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (1);
}
Symbol 1978 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndPlay (1);
}
Instance of Symbol 1055 MovieClip [n] in Symbol 1979 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1136 MovieClip [q] in Symbol 1979 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1914 MovieClip in Symbol 1979 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1958 MovieClip in Symbol 1979 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Symbol 1981 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (82);
}
Symbol 1982 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (75);
}
Symbol 1983 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (78);
}
Symbol 1984 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.ironGate.stop();
gotoAndStop (77);
}
Symbol 1994 Button
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.nextFrame();
}
Symbol 2036 Button
on (release) {
_root[_root.drag].removeMovieClip();
_root.attachMovie("bomb", "bomb", 88889);
_root.drag = "bomb";
}
Symbol 2037 Button
on (press) {
_root.edit("b");
}
Symbol 2038 Button
on (release) {
_root.attachMovie("monsters", "monsters", 9998);
_root.monsters._x = 40;
_root.monsters._y = 173.3;
_root.monsters._width = 71.9;
_root.monsters._height = 41;
_root.tabOpen = true;
}
Symbol 2039 Button
on (press) {
_root.edit("t");
}
Symbol 2040 Button
on (release) {
_root.attachMovie("powerups", "powerups", 9995);
_root.powerups._x = 40;
_root.powerups._y = 227.9;
_root.powerups._width = 71.9;
_root.powerups._height = 41.1;
_root.tabOpen = true;
}
Symbol 2041 Button
on (release) {
_root.attachMovie("gates", "gates", 9996);
_root.gates._x = 40;
_root.gates._y = 282.7;
_root.gates._width = 79;
_root.gates._height = 24.7;
_root.tabOpen = true;
}
Symbol 2042 Button
on (release) {
_root.attachMovie("edit warp", "warp", 9997);
_root.warp._x = 40;
_root.warp._y = 254.7;
_root.warp._width = 71.2;
_root.warp._height = 22.1;
_root.tabOpen = true;
}
Symbol 2043 Button
on (press) {
_root.edit("d");
}
Symbol 2044 Button
on (press) {
_root.edit("z");
}
Symbol 2046 Button
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
if (_root.covered == false) {
if (_root.mxz < 1) {
_root.attachMovie("warn2", "warningg", 599);
}
if (_root.mxd < 1) {
_root.attachMovie("warn3", "wwarning", 598);
}
if ((((((_root.mxq + _root.mxm) + _root.mxn) + _root.mxl) + _root.mxj) > 0) and ((_root.mxt + _root.mxf) == 0)) {
_root.attachMovie("warn4", "wwarningg", 600);
}
if (!(((_root.mxz < 1) or (_root.mxd < 1)) or ((((((_root.mxq + _root.mxm) + _root.mxn) + _root.mxl) + _root.mxj) > 0) and ((_root.mxt + _root.mxf) == 0)))) {
_root.optionsTab.gotoAndStop(1);
_root.optionsOpen = false;
_root.convertToCode();
_root.zoomView = false;
_root.bye();
_root.optionsTab.removeMovieClip();
_root.level = "custom";
gotoAndStop (86);
}
}
}
Symbol 2047 Button
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
_root.convertToCode();
_root.bye();
_root.zoomView = false;
gotoAndStop (74);
}
Symbol 2071 Button
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
on (release) {
gotoAndStop (74);
}
Symbol 2093 Button
on (release) {
_root.ironGate.stop();
if (((_root.level == "custom") or (_root.level == "custom2")) and (_root.lastScreen != "credits")) {
_root.goMenu();
_root.bye();
} else {
_root.goMenu();
_root.bye();
}
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2104 Button
on (release) {
gotoAndStop (79);
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2108 Button
on (release) {
gotoAndStop (80);
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2112 Button
on (release) {
gotoAndStop (81);
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2117 Button
on (release) {
nextFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2142 Button
on (release) {
prevFrame();
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2145 Button
on (release) {
gotoAndStop (78);
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2206 Button
on (release) {
_root.bye();
gotoAndStop (74);
}
on (press) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("press");
this.ssound.start();
}
}
Symbol 2211 Button
on (rollOver) {
if (_root.soundon) {
this.ssound = new Sound(this);
this.ssound.attachSound("over");
this.ssound.start();
}
}
on (release) {
_root.bye();
if (_root.ggg == null) {
_root.ggg = 1;
}
_root.level = Number(_root.ggg - 1);
gotoAndPlay (83);
}