Frame 2
if (_root.getBytesTotal() == _root.getBytesLoaded()) {
gotoAndPlay (4);
}
Frame 5
function TurnOn() {
y = 1;
while (5 >= y) {
x = 1;
while (5 >= x) {
this[("h" + x) + y].gotoAndStop("oncomplete");
x++;
}
y++;
}
}
function Click(x, y) {
holestatinc = 0;
xvals = new Array(-1, 1, 0, 0);
yvals = new Array(0, 0, -1, 1);
moves++;
j = 0;
while (j < 4) {
nx = x + xvals[j];
ny = y + yvals[j];
mc = ("h" + nx) + ny;
if (this[mc]._x) {
this[mc].Swap();
}
j++;
}
if (!resetbutton.reset) {
resetbutton.gotoAndStop(2);
}
if (PuzzleSolved()) {
if (0 < solver.count) {
stop();
} else {
gotoAndPlay (139);
}
}
}
function ReadPuzzle(wp) {
var puzzlines = new Array();
puzzlines = puzzles[wp].split("|");
j = 0;
while (j < 5) {
puzzarray[j] = new Array();
puzzarray[j] = puzzlines[j].split(",");
j++;
}
}
function PuzzleSolved() {
y = 0;
while (4 >= y) {
x = 0;
while (4 >= x) {
if (puzzarray[y][x] == 1) {
return(0);
}
x++;
}
y++;
}
solved = true;
return(1);
}
function ShowPuzzle() {
solver.stop();
solved = false;
moves = 0;
holestatinc = 1;
holestats = 0;
var x;
var y;
var knob;
y = 0;
while (y < 5) {
x = 0;
while (x < 5) {
knob = ("h" + (x + 1)) + (y + 1);
if ((puzzarray[y][x] == 1) && (this[knob].status == 0)) {
this[knob].gotoAndPlay("on");
holestats++;
}
if ((puzzarray[y][x] == 0) && (this[knob].status == 1)) {
this[knob].gotoAndPlay("off");
holestats++;
}
if (this[knob].solution == 1) {
this[knob].base.gotoAndPlay("solutionoff");
}
x++;
}
y++;
}
timer.startTime = getTimer();
activebuttons = true;
resetbutton.gotoAndStop(1);
solvebutton.gotoAndStop(1);
randombutton.gotoAndStop(1);
_parent.activebuttons = true;
}
function Reset() {
y = 1;
while (5 >= y) {
x = 1;
while (5 >= x) {
this[("h" + x) + y].base.gotoAndStop(1);
x++;
}
y++;
}
}
function SolvePuzzle() {
var hint = new Array();
hint[0] = new Array(0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0);
hint[1] = new Array(1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0);
hint[2] = new Array(1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0);
hint[3] = new Array(1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1);
hint[4] = new Array(0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0);
hint[5] = new Array(0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0);
hint[6] = new Array(0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0);
hint[7] = new Array(1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1);
hint[8] = new Array(0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1);
hint[9] = new Array(1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1);
hint[10] = new Array(0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0);
hint[11] = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1);
hint[12] = new Array(0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0);
hint[13] = new Array(1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0);
hint[14] = new Array(1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0);
hint[15] = new Array(0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1);
hint[16] = new Array(0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1);
hint[17] = new Array(0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0);
hint[18] = new Array(0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1);
hint[19] = new Array(1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1);
hint[20] = new Array(0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0);
hint[21] = new Array(0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1);
hint[22] = new Array(0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0);
goal = new Array();
j = 0;
while (j < 5) {
goal[j] = new Array(0, 0, 0, 0, 0);
j++;
}
var current_state = new Array();
var hint_vector = new Array();
i = 0;
while (i < 23) {
hint_vector[i] = 0;
if (puzzarray[i % 5][int(i / 5)] == 0) {
current_state[i] = 0;
} else {
current_state[i] = 1;
}
i++;
}
i = 0;
while (i < 23) {
j = 0;
while (j < 23) {
hint_vector[i] = (hint_vector[i] + (current_state[j] * hint[i][j])) % 2;
j++;
}
i++;
}
i = 0;
while (i < 23) {
goal[i % 5][int(i / 5)] = hint_vector[i];
i++;
}
Reset();
}
function ShowSolution() {
y = 0;
while (y < 5) {
x = 0;
while (x < 5) {
if (goal[y][x] == 1) {
this[("h" + (x + 1)) + (y + 1)].base.gotoAndPlay("solutionon");
} else {
this[("h" + (x + 1)) + (y + 1)].base.gotoAndStop(1);
}
x++;
}
y++;
}
}
activebuttons = false;
puzzarray = new Array();
puzzles = new Array();
puzzles[1] = "1,1,0,1,1|1,0,1,0,1|0,1,1,1,0|1,0,1,0,1|1,1,0,1,1";
puzzles[2] = "0,1,0,1,0|1,1,0,1,1|0,1,0,1,0|1,0,1,0,1|1,0,1,0,1";
puzzles[3] = "1,0,0,0,1|1,1,0,1,1|0,0,1,0,0|1,0,1,0,0|1,0,1,1,0";
puzzles[4] = "1,1,0,1,1|0,0,0,0,0|1,1,0,1,1|0,0,0,0,1|1,1,0,0,0";
puzzles[5] = "1,1,1,1,1|1,1,1,1,1|1,1,1,1,1|1,1,1,1,1|1,1,1,1,1";
puzzles[6] = "0,1,1,1,0|1,0,0,0,1|1,0,1,0,1|1,0,0,0,1|0,1,1,1,0";
puzzles[6] = "0,0,0,1,1|0,0,0,1,1|0,0,0,0,0|1,1,0,0,0|1,1,0,0,0";
puzzles[7] = "0,0,0,0,0|0,1,1,1,0|1,1,1,1,1|0,1,1,1,0|0,0,0,0,0";
puzzles[8] = "0,0,0,0,0|0,1,1,1,0|0,1,1,1,0|0,1,1,1,0|0,0,0,0,0";
puzzles[9] = "1,1,0,1,1|1,1,0,1,1|0,0,0,0,0|1,1,0,1,1|1,1,0,1,1";
puzzles[10] = "1,1,1,1,1|0,1,1,1,0|0,0,1,0,0|0,1,1,1,0|1,1,1,1,1";
puzzles[11] = "1,1,1,1,1|1,0,0,0,1|1,0,0,0,1|1,0,0,0,1|1,1,1,1,1";
puzzles[12] = "0,0,1,1,1|0,0,0,1,1|1,0,0,0,1|1,1,0,0,0|1,1,1,0,0";
puzzles[13] = "1,0,0,0,1|0,1,0,1,0|0,0,1,0,0|0,1,0,1,0|1,0,0,0,1";
puzzles[14] = "1,1,1,1,1|1,0,1,0,1|1,1,1,1,1|1,0,1,0,1|1,1,1,1,1";
puzzles[15] = "1,0,0,0,0|1,1,1,1,0|1,1,1,1,0|1,1,1,1,0|1,1,1,1,1";
puzzles[16] = "1,1,1,1,1|1,1,1,1,1|1,1,0,1,1|1,1,1,1,1|1,1,1,1,1";
puzzles[17] = "1,0,1,0,1|0,1,0,1,0|0,0,1,0,0|0,1,0,1,0|1,0,1,0,1";
puzzles[18] = "1,1,1,0,1|1,1,1,0,1|0,0,0,0,0|1,0,1,1,1|1,0,1,1,1";
puzzles[19] = "1,1,0,1,1|1,1,0,1,1|1,1,0,1,1|1,1,0,1,1|1,1,0,1,1";
puzzles[20] = "1,1,1,1,1|1,0,0,0,1|1,1,0,1,1|1,1,0,1,1|1,1,1,1,1";
puzzles[21] = "1,1,1,1,1|1,1,1,1,1|0,0,0,1,1|0,0,0,1,1|0,0,0,1,1";
puzzles[22] = "1,1,1,0,1|1,1,1,0,0|1,1,1,0,0|1,1,1,0,0|1,1,1,0,1";
puzzles[23] = "1,1,1,1,1|0,0,1,0,0|0,0,1,0,0|0,0,1,0,0|1,1,1,1,1";
puzzles[24] = "0,0,0,0,0|0,1,1,0,0|0,1,1,1,0|0,0,1,1,0|0,0,0,0,0";
puzzles[25] = "0,0,0,1,1|0,0,1,1,1|0,0,1,0,0|1,1,1,0,0|1,1,0,0,0";
puzzles[26] = "0,0,0,1,1|1,1,0,1,1|1,1,0,0,0|1,1,0,0,0|1,1,0,1,1";
puzzles[27] = "1,0,0,0,1|0,1,1,1,0|0,1,1,1,0|0,1,1,1,0|1,0,0,0,1";
puzzles[28] = "1,0,1,0,1|0,1,0,1,0|1,0,1,0,1|0,1,0,1,0|1,0,1,0,1";
puzzles[29] = "0,0,1,0,0|1,0,0,1,0|0,1,1,1,1|1,0,0,0,0|1,1,0,1,0";
puzzles[30] = "0,0,0,0,1|0,0,0,1,1|0,0,1,0,1|0,1,0,0,1|1,1,1,1,1";
puzzles[31] = "1,1,0,1,1|0,1,0,1,0|1,1,1,1,1|1,1,0,1,1|1,0,0,0,1";
puzzles[32] = "0,1,1,0,0|0,1,1,0,1|0,1,0,0,1|1,1,0,0,0|1,1,1,1,0";
puzzles[33] = "0,0,0,0,1|1,1,1,0,0|1,0,1,1,1|1,1,1,1,0|1,0,0,1,0";
puzzles[34] = "1,0,1,1,1|0,0,1,0,1|0,0,0,0,0|1,1,1,1,0|1,1,0,1,0";
puzzles[35] = "1,1,0,1,1|0,1,0,1,1|0,0,0,1,0|1,1,0,0,0|1,1,1,1,0";
puzzles[36] = "1,1,1,1,1|0,0,0,1,0|0,1,0,1,1|1,1,1,0,1|1,0,1,0,0";
puzzles[37] = "0,0,0,1,1|1,0,1,1,0|0,0,1,0,0|0,1,1,1,1|1,0,0,1,0";
puzzles[38] = "0,0,0,0,1|0,0,1,1,1|1,1,0,0,1|1,1,1,0,0|0,0,1,0,0";
puzzles[39] = "0,0,1,1,1|1,0,1,1,1|1,1,1,0,0|0,0,1,0,0|1,1,0,1,1";
puzzles[40] = "0,1,1,1,1|0,0,1,1,1|0,0,1,1,1|1,1,1,1,0|0,0,0,1,0";
puzzles[41] = "1,1,1,1,1|1,0,0,0,0|0,1,0,0,1|0,0,0,1,1|1,1,1,1,1";
puzzles[42] = "1,1,1,1,1|1,0,0,0,0|0,0,1,0,0|0,1,1,1,0|0,1,0,0,1";
puzzles[43] = "0,0,0,0,0|0,0,0,1,0|1,1,0,1,1|0,1,1,0,0|1,1,1,1,1";
puzzles[44] = "0,0,0,1,1|0,1,1,0,0|0,1,0,0,0|1,1,1,1,0|1,1,1,1,0";
puzzles[45] = "0,0,0,1,0|1,1,1,1,1|0,0,0,0,0|0,0,1,0,0|1,1,1,1,0";
puzzles[46] = "0,1,0,1,0|0,0,0,1,0|0,1,0,1,0|0,0,1,0,0|0,1,1,1,0";
puzzles[47] = "1,0,0,1,0|0,0,0,0,1|0,1,0,0,0|0,0,0,0,0|1,0,1,0,0";
puzzles[48] = "1,1,0,0,1|0,1,0,0,1|0,1,1,1,1|0,1,0,1,0|1,1,1,1,1";
puzzles[49] = "1,1,1,1,1|0,0,1,0,0|0,1,1,0,0|0,0,1,1,0|1,1,1,0,1";
puzzles[50] = "1,0,1,0,1|1,0,1,0,0|0,0,0,1,1|0,1,0,1,0|1,0,0,1,0";
puzzles[51] = "0,1,0,1,0|1,0,0,1,0|0,1,1,1,1|1,0,1,0,0|0,1,1,0,0";
puzzles[52] = "1,1,1,1,1|1,1,0,0,0|0,0,0,1,1|0,1,1,1,0|0,0,1,0,0";
puzzsize = puzzles.length - 1;
chooser.levelnum = 1;
popSound = new Sound();
popSound.attachSound("pop");
winSound = new Sound();
winSound.attachSound("winsound");
lewbeep = new Sound();
lewbeep.attachSound("lewbeep");
app = "allout1.2";
Instance of Symbol 44 MovieClip "solver" in Frame 5
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 76 MovieClip "chooser" in Frame 5
onClipEvent (load) {
maxlevel = _parent.puzzles.length - 1;
newlevelnum = "01";
}
Instance of Symbol 83 MovieClip "timer" in Frame 5
onClipEvent (enterFrame) {
if (!_parent.solved) {
elapsed = Math.round((getTimer() - startTime) / 1000);
minutes = int(elapsed / 60);
seconds = elapsed % 60;
if (seconds < 10) {
seconds = "0" + seconds;
}
_parent.elapsed = (minutes + ":") + seconds;
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 145 MovieClip "scroll" in Frame 5
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 150 MovieClip "mouselevelind" in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
this.startDrag(true);
}
}
Instance of Symbol 205 MovieClip "enet" in Frame 5
onClipEvent (load) {
eflashon = 0;
version = "v.1.2";
jweb = 0;
quit = 0;
screensaver = 0;
downloadlinkurl = "http://enetwork.ncbuy.com/downloads/ntcallout.html";
}
Frame 28
title.play();
lewlegsframe = 1;
if (random(10) == 1) {
lewlegsframe = random(3) + 1;
}
Frame 95
lew.gotoAndPlay("entrance");
Frame 133
ReadPuzzle(chooser.levelnum);
ShowPuzzle();
stop();
Frame 145
if (sfx) {
winSound.start();
}
Frame 187
stop();
chooser.gotoAndPlay("next");
Frame 222
help.gotoAndStop("stop");
stop();
Frame 223
help.gotoAndPlay("walk");
Frame 247
helpbutton.gotoAndStop(1);
gotoAndStop (134);
Instance of Symbol 16 MovieClip "preloadbar" in Symbol 17 MovieClip Frame 1
onClipEvent (load) {
totalbytes = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
bytesloaded = _root.getBytesLoaded();
_xscale = (100 * (bytesloaded / totalbytes));
_parent.percent = int(_xscale) + "%";
if (bytesloaded == totalbytes) {
_parent._parent.play();
}
}
Symbol 32 MovieClip Frame 1
_parent.stop();
Symbol 32 MovieClip Frame 61
_parent.play();
Symbol 36 MovieClip Frame 1
stop();
_parent.solution = 0;
Symbol 36 MovieClip Frame 2
_parent.solution = 1;
Symbol 36 MovieClip Frame 8
stop();
Symbol 36 MovieClip Frame 13
gotoAndStop (1);
Symbol 40 Button
on (press) {
if (!_parent.activebuttons) {
return(undefined);
}
if (_parent.sfx) {
_parent.popSound.start();
}
Swap();
if (solution == 1) {
base.gotoAndPlay("solutionoff");
}
_parent.Click(x, y);
}
on (rollOver) {
if (status) {
gotoAndStop (19);
}
base.gotoAndStop("solutionoff");
}
on (rollOut, dragOut) {
if (status) {
gotoAndStop (8);
}
if (!solution) {
base.gotoAndStop(1);
}
}
Symbol 42 MovieClip Frame 1
function Swap() {
if (status == 0) {
_parent.puzzarray[y - 1][x - 1] = 1;
gotoAndPlay (4);
} else {
_parent.puzzarray[y - 1][x - 1] = 0;
gotoAndPlay (12);
}
}
status = 0;
x = Number(_name.charAt(1));
y = Number(_name.charAt(2));
stop();
Symbol 42 MovieClip Frame 4
status = 1;
Symbol 42 MovieClip Frame 6
stop();
status = 1;
_parent.holestats = _parent.holestats - _parent.holestatinc;
Symbol 42 MovieClip Frame 12
status = 0;
Symbol 42 MovieClip Frame 14
status = 0;
stop();
_parent.holestats = _parent.holestats - _parent.holestatinc;
Symbol 44 MovieClip Frame 1
stop();
count = 0;
complete = 0;
Symbol 44 MovieClip Frame 2
do {
if (23 < count) {
complete = 1;
}
y = count % 5;
x = int(count / 5);
count++;
} while ((_parent.goal[y][x] != 1) and (complete != 1));
if (23 < count) {
gotoAndStop (1);
} else {
_parent[("h" + (x + 1)) + (y + 1)].base.gotoAndPlay("solutionon");
}
Symbol 44 MovieClip Frame 14
_parent[("h" + (x + 1)) + (y + 1)].Swap();
_parent.Click(x + 1, y + 1);
if (_parent.sfx) {
_parent.popSound.start();
}
Symbol 44 MovieClip Frame 25
if (24 < count) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 57 Button
on (press) {
if (_parent.holestats == 0) {
gotoAndPlay (15);
next = true;
buttonpause.dir = "next";
buttonpause.gotoAndPlay(2);
}
}
on (release, releaseOutside) {
next = false;
btn = false;
buttonpause.gotoAndStop(1);
_parent.mouselevelind._visible = false;
}
Symbol 62 Button
on (press) {
if (_parent.holestats == 0) {
gotoAndPlay (7);
back = true;
buttonpause.dir = "back";
buttonpause.gotoAndPlay(2);
}
}
on (release, releaseOutside) {
back = false;
btn = false;
buttonpause.gotoAndStop(1);
_parent.mouselevelind._visible = false;
}
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 12
_parent.btn = true;
_parent.gotoAndPlay(dir);
_parent._parent.mouselevelind._visible = true;
Symbol 68 Button
on (press) {
if (_parent.holestats == 0) {
levelnum = 2;
gotoAndPlay (7);
back = true;
buttonpause.dir = "back";
}
}
on (release, dragOut) {
back = false;
btn = false;
buttonpause.gotoAndStop(1);
}
Symbol 73 Button
on (press) {
if (_parent.holestats == 0) {
levelnum = maxlevel - 1;
gotoAndPlay (15);
next = true;
buttonpause.dir = "next";
}
}
on (release, dragOut) {
next = false;
btn = false;
buttonpause.gotoAndStop(1);
_parent.mouselevelind._visible = false;
}
Symbol 76 MovieClip Frame 1
function nextLevel(d) {
levelnum = levelnum + d;
if (levelnum < 1) {
levelnum = maxlevel;
} else if (maxlevel < levelnum) {
levelnum = 1;
}
if (levelnum < 10) {
s = "0";
} else {
s = "";
}
newlevelnum = s + levelnum;
lnum.levelnum = newlevelnum;
}
stop();
_parent.solver.gotoAndStop(1);
nextLevel(0);
Instance of Symbol 65 MovieClip "buttonpause" in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 76 MovieClip Frame 7
lnum.levelnum = newlevelnum;
mli = levelnum - 1;
if (mli < 1) {
mli = maxlevel;
}
_parent.mouselevelind.levelnum = mli;
Symbol 76 MovieClip Frame 11
nextLevel(-1);
levelnum2 = levelnum + 1;
if (btn) {
gotoAndPlay (7);
}
Symbol 76 MovieClip Frame 12
gotoAndStop (1);
_parent.ReadPuzzle(levelnum);
_parent.ShowPuzzle();
Symbol 76 MovieClip Frame 15
lnum.levelnum = newlevelnum;
mli = levelnum + 1;
if (maxlevel < mli) {
mli = 1;
}
_parent.mouselevelind.levelnum = mli;
Symbol 76 MovieClip Frame 19
nextLevel(1);
if (btn) {
gotoAndPlay (15);
}
Symbol 76 MovieClip Frame 20
gotoAndStop (1);
_parent.ReadPuzzle(levelnum);
_parent.ShowPuzzle();
Symbol 79 Button
on (release) {
gotoAndStop (2);
}
Symbol 80 Button
on (release) {
gotoAndStop (1);
}
Symbol 81 MovieClip Frame 1
_parent.sfx = 1;
stop();
Symbol 81 MovieClip Frame 2
_parent.sfx = 0;
Symbol 100 Button
on (release) {
_parent.lew.gotoAndPlay("solution");
_parent.activebuttons = false;
gotoAndStop (2);
_parent.randombutton.gotoAndStop(2);
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 109 Button
on (release) {
_parent.solver.gotoAndStop(1);
_parent.lew.action = "reset";
_parent.lew.gotoAndPlay("clickbutton");
gotoAndStop (1);
}
Symbol 110 MovieClip Frame 1
stop();
reset = 0;
Symbol 110 MovieClip Frame 2
reset = 1;
Symbol 116 Button
on (release) {
_parent.solver.gotoAndStop(1);
_parent.lew.action = "random";
_parent.lew.gotoAndPlay("clickbutton");
gotoAndStop (2);
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 124 Button
on (release) {
gotoAndStop (2);
_parent.lew.action = "help";
_parent.lew.gotoAndPlay("clickbutton");
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 139 Button
on (release) {
this.gotoAndPlay("close");
_parent.lew.action = "solve";
}
Symbol 144 Button
on (release) {
this.gotoAndPlay("close");
_parent.lew.action = "nosolve";
_parent.solvebutton.gotoAndStop(1);
_parent.randombutton.gotoAndStop(1);
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 69
gotoAndPlay (16);
Symbol 145 MovieClip Frame 80
_parent.lew.play();
Symbol 145 MovieClip Frame 84
gotoAndStop (1);
_visible = false;
Symbol 161 Button
on (release) {
getURL (downloadlinkurl, "new");
}
Symbol 165 Button
on (release) {
getURL ("http://www.netcent.com", "new");
}
Symbol 171 Button
on (release) {
if (copyright._currentframe == 1) {
copyright.gotoAndStop("on");
enetstatus++;
} else {
copyright.gotoAndStop("off");
enetstatus--;
}
}
Symbol 179 Button
on (release) {
gotoAndStop (1);
_parent.enetstatus--;
}
Symbol 183 Button
on (press) {
if (_ymouse < slider.top) {
slider._y = slider.top;
} else if (slider.btm < _ymouse) {
slider._y = slider.btm;
} else {
slider._y = _ymouse;
}
}
Symbol 188 Button
on (press) {
startDrag (this, true, 0, top, 0, btm);
}
on (release) {
stopDrag();
}
Symbol 192 Button
on (press) {
movetext = -1;
}
on (release) {
movetext = 0;
}
Symbol 193 Button
on (press) {
movetext = 1;
}
on (release) {
movetext = 0;
}
Instance of Symbol 189 MovieClip "slider" in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.movetext != 0) {
sliderpos = _y + ((dy / _parent._parent.text.maxscroll) * _parent.movetext);
if (sliderpos < top) {
sliderpos = top;
} else if (btm < sliderpos) {
sliderpos = btm;
}
_y = sliderpos;
}
percent = (_y - top) / dy;
_parent._parent.text.scroll = _parent._parent.text.maxscroll * percent;
}
onClipEvent (load) {
top = -70;
btm = 70;
dy = btm - top;
inc = 4;
}
Symbol 200 MovieClip Frame 1
stop();
movetext = 0;
_parent.eflashstatus = 0;
Symbol 200 MovieClip Frame 2
_parent.eflashstatus = 1;
play();
Symbol 200 MovieClip Frame 3
loadVariables ("http://www.netcent.com/dynamic/enet/eflash.txt", this);
loadloop = 0;
Symbol 200 MovieClip Frame 4
if (end == "foo") {
gotoAndStop (6);
} else {
loadloop++;
if (200 < loadloop) {
loadloop = 0;
gotoAndStop (14);
}
}
Symbol 200 MovieClip Frame 5
gotoAndPlay (4);
Symbol 200 MovieClip Frame 6
text = update;
stop();
Symbol 202 Button
on (release) {
gotoAndStop (1);
_parent.enetstatus--;
}
Symbol 204 MovieClip Frame 1
stop();
movetext = 0;
Symbol 205 MovieClip Frame 1
stop();
fscommand ("ARG");
fscommand ("ARG", "connectState");
fscommand ("SYSINFO.CONNECTSTATE");
Instance of Symbol 204 MovieClip "copyright" in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
text = "NCBUY ENTERTAINMENT NETWORK APPLICATION LICENSE AGREEMENT\n\nACCEPTANCE: By installing or using the NCBuy Entertainment Network Application (\"Software\") you are agreeing to the terms of this License Agreement (\"Agreement\"). Please read this Agreement carefully.\n\nThis is an Agreement between you, either individually or as a representative of your company or institution and NetCent Communications (the \"Company\").\n\nYOU MAY redistribute the software freely, providing that: (a) The Software is not modified in any way; and (b) All credits and copyright notices remain intact.\n\nYOU MAY NOT: (a) Sublicense, sell, assign, transfer, pledge, distribute, rent or remove any proprietary notices on the Software except as expressly permitted in this Agreement; (b) Use, copy, adapt, disassemble, decompile, reverse engineer or modify the Software, in whole or in part, except as expressly permitted in this Agreement; or (c) Take any action designed to unlock or bypass any Company-implemented restrictions on usage, access to, or number of installations of the Software.\n\nIF YOU DO ANY OF THE FOREGOING, YOUR RIGHTS UNDER THIS LICENSE WILL AUTOMATICALLY TERMINATE. SUCH TERMINATION SHALL BE IN ADDITION TO AND NOT IN LIEU OF ANY CRIMINAL, CIVIL OR OTHER REMEDIES AVAILABLE TO THE COMPANY.\n\nThe Company does not warrant that the functions contained in the Software will meet your requirements or expectations or that the operation of the Software will be entirely error free, or appear precisely as described in the Software documentation.\n\nDISCLAIMER OF WARRANTY AND REMEDY: EXCEPT AS SPECIFICALLY STATED IN THIS AGREEMENT, THE SOFTWARE IS PROVIDED \"AS IS\" AND THERE ARE NO WARRANTIES OR CONDITIONS (EXPRESSED OR IMPLIED, ARISING BY STATUTE OR OTHERWISE IN LAW OR FROM A COURSE OF DEALING OR USAGE OF TRADE) FOR THE SOFTWARE. THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY, AND EFFORT IS WITH YOU, THE USER. THE COMPANY AND ITS DIRECT AND INDIRECT SUPPLIERS DISCLAIM ALL IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY OR FITNESS FOR ANY PURPOSE, PARTICULAR, SPECIFIC OR OTHERWISE.\n\nLIMITATION OF LIABILITY: TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL THE COMPANY OR ITS DIRECT OR INDIRECT SUPPLIERS BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF THE COMPANY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\nYOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT AND BY INSTALLING THIS SOFTWARE, INDICATE YOUR ACCEPTANCE OF ITS TERMS AND CONDITIONS. YOU ALSO AGREE THAT THIS IS THE COMPLETE AGREEMENT BETWEEN YOU AND THE COMPANY AND IT SUPERSEDES ANY OTHER INFORMATION YOU MAY HAVE RECEIVED RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.\n\nThe NCBuy Entertainment Network ( http://enetwork.ncbuy.com/ ) is a service of NetCent Communications. Copyright 2002, NetCent Communications, All Rights Reserved.\n";
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 6
stop();
Symbol 214 MovieClip Frame 1
stop();
gotoAndStop(_root.lewlegsframe);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 17
gotoAndStop (1);
Symbol 225 MovieClip Frame 107
gotoAndPlay (1);
Symbol 225 MovieClip Frame 113
stop();
Symbol 225 MovieClip Frame 185
gotoAndPlay (1);
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 11
hair.gotoAndPlay("bounce");
Symbol 231 MovieClip Frame 38
gotoAndStop (1);
Symbol 231 MovieClip Frame 54
eye.gotoAndPlay("lookdown");
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 23
tap--;
if (tap < 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 254 MovieClip Frame 1
stop();
stillcount = 0;
smokeinterval = 3;
Instance of Symbol 242 MovieClip "lewrightarm" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
tap = -1;
}
onClipEvent (enterFrame) {
if ((random(150) == 25) && (tap < 0)) {
tap = random(3) + 1;
play();
}
}
Symbol 254 MovieClip Frame 2
head.gotoAndStop(1);
Symbol 254 MovieClip Frame 42
if (random(25) == 10) {
head.eye.gotoAndPlay("lookaround");
}
Symbol 254 MovieClip Frame 91
stillcount++;
if (smokeinterval < stillcount) {
stillcount = 0;
smokeinterval = random(6) + 4;
gotoAndPlay (93);
} else {
gotoAndPlay (2);
}
Symbol 254 MovieClip Frame 143
head.gotoAndStop(2);
Symbol 254 MovieClip Frame 187
head.gotoAndPlay("blowsmoke");
Symbol 254 MovieClip Frame 270
gotoAndPlay (2);
Symbol 254 MovieClip Frame 274
head.eye.gotoAndPlay("lookdownforward");
head.gotoAndStop(2);
Symbol 254 MovieClip Frame 279
head.hair.gotoAndPlay("bounce");
Symbol 254 MovieClip Frame 286
if (_parent.sfx) {
_parent.lewbeep.start();
}
Symbol 254 MovieClip Frame 294
head.eye.gotoAndPlay("blink");
head.hair.gotoAndPlay("bounce");
if (action == "reset") {
with (_parent) {
ReadPuzzle(chooser.levelnum);
ShowPuzzle();
}
} else if (action == "random") {
with (_parent) {
do {
newlevel = random(50) + 1;
} while (newlevel == chooser.levelnum);
chooser.levelnum = newlevel - 1;
chooser.gotoAndPlay("next");
}
} else if (action == "solve") {
_parent.SolvePuzzle();
_parent.solver.play();
} else if (action == "help") {
_parent.gotoAndPlay("help");
}
Symbol 254 MovieClip Frame 297
gotoAndPlay (2);
Symbol 254 MovieClip Frame 300
head.gotoAndStop("entrance");
Symbol 254 MovieClip Frame 362
gotoAndPlay (2);
Symbol 254 MovieClip Frame 383
_parent.scroll._visible = true;
_parent.scroll.gotoAndPlay("open");
Symbol 254 MovieClip Frame 391
stop();
Symbol 254 MovieClip Frame 409
if (action == "nosolve") {
_parent.activebuttons = true;
gotoAndPlay (2);
} else {
gotoAndPlay (271);
}
Symbol 259 Button
on (release) {
_parent.play();
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 11
gotoAndPlay (1);
Symbol 273 MovieClip Frame 12
deadguy1.gotoAndStop(2);
deadguy2.eyes.gotoAndPlay(8);