Frame 1
stop();
Frame 3
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 (137);
}
}
}
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");
Instance of Symbol 43 MovieClip "solver" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 75 MovieClip "chooser" in Frame 3
onClipEvent (load) {
maxlevel = _parent.puzzles.length - 1;
newlevelnum = "01";
}
Instance of Symbol 82 MovieClip "timer" in Frame 3
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 144 MovieClip "scroll" in Frame 3
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 149 MovieClip "mouselevelind" in Frame 3
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
this.startDrag(true);
}
}
Instance of Symbol 273 MovieClip in Frame 3
onClipEvent (load) {
eflashon = 0;
version = "v1.1";
jweb = 0;
quit = 0;
screensaver = 0;
downloadlinkurl = "http://enetwork.ncbuy.com/downloads/ntcallout.html";
}
Frame 26
title.play();
lewlegsframe = 1;
if (random(10) == 1) {
lewlegsframe = random(3) + 1;
}
Frame 93
lew.gotoAndPlay("entrance");
Frame 131
ReadPuzzle(chooser.levelnum);
ShowPuzzle();
stop();
Frame 143
if (sfx) {
winSound.start();
}
Frame 185
stop();
chooser.gotoAndPlay("next");
Frame 220
help.gotoAndStop("stop");
stop();
Frame 221
help.gotoAndPlay("walk");
Frame 245
helpbutton.gotoAndStop(1);
gotoAndStop (132);
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 30 MovieClip Frame 1
_parent.stop();
Symbol 30 MovieClip Frame 64
_parent.play();
Symbol 34 MovieClip Frame 1
stop();
_parent.solution = 0;
Symbol 34 MovieClip Frame 2
_parent.solution = 1;
Symbol 34 MovieClip Frame 8
stop();
Symbol 34 MovieClip Frame 13
gotoAndStop (1);
Symbol 38 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 40 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 40 MovieClip Frame 4
status = 1;
Symbol 40 MovieClip Frame 6
stop();
status = 1;
_parent.holestats = _parent.holestats - _parent.holestatinc;
Symbol 40 MovieClip Frame 12
status = 0;
Symbol 40 MovieClip Frame 14
status = 0;
stop();
_parent.holestats = _parent.holestats - _parent.holestatinc;
Symbol 41 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 41 MovieClip Frame 4
status = 1;
Symbol 41 MovieClip Frame 6
stop();
status = 1;
_parent.holestats = _parent.holestats - _parent.holestatinc;
Symbol 41 MovieClip Frame 12
status = 0;
Symbol 41 MovieClip Frame 14
status = 0;
stop();
_parent.holestats = _parent.holestats - _parent.holestatinc;
Symbol 43 MovieClip Frame 1
stop();
count = 0;
complete = 0;
Symbol 43 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 43 MovieClip Frame 14
_parent[("h" + (x + 1)) + (y + 1)].Swap();
_parent.Click(x + 1, y + 1);
if (_parent.sfx) {
_parent.popSound.start();
}
Symbol 43 MovieClip Frame 25
if (24 < count) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 56 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 61 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 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 12
_parent.btn = true;
_parent.gotoAndPlay(dir);
_parent._parent.mouselevelind._visible = true;
Symbol 67 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 72 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 75 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 64 MovieClip "buttonpause" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 75 MovieClip Frame 7
lnum.levelnum = newlevelnum;
mli = levelnum - 1;
if (mli < 1) {
mli = maxlevel;
}
_parent.mouselevelind.levelnum = mli;
Symbol 75 MovieClip Frame 11
nextLevel(-1);
levelnum2 = levelnum + 1;
if (btn) {
gotoAndPlay (7);
}
Symbol 75 MovieClip Frame 12
gotoAndStop (1);
_parent.ReadPuzzle(levelnum);
_parent.ShowPuzzle();
Symbol 75 MovieClip Frame 15
lnum.levelnum = newlevelnum;
mli = levelnum + 1;
if (maxlevel < mli) {
mli = 1;
}
_parent.mouselevelind.levelnum = mli;
Symbol 75 MovieClip Frame 19
nextLevel(1);
if (btn) {
gotoAndPlay (15);
}
Symbol 75 MovieClip Frame 20
gotoAndStop (1);
_parent.ReadPuzzle(levelnum);
_parent.ShowPuzzle();
Symbol 78 Button
on (release) {
gotoAndStop (2);
}
Symbol 79 Button
on (release) {
gotoAndStop (1);
}
Symbol 80 MovieClip Frame 1
_parent.sfx = 1;
stop();
Symbol 80 MovieClip Frame 2
_parent.sfx = 0;
Symbol 99 Button
on (release) {
_parent.lew.gotoAndPlay("solution");
_parent.activebuttons = false;
gotoAndStop (2);
_parent.randombutton.gotoAndStop(2);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 108 Button
on (release) {
_parent.solver.gotoAndStop(1);
_parent.lew.action = "reset";
_parent.lew.gotoAndPlay("clickbutton");
gotoAndStop (1);
}
Symbol 109 MovieClip Frame 1
stop();
reset = 0;
Symbol 109 MovieClip Frame 2
reset = 1;
Symbol 115 Button
on (release) {
_parent.solver.gotoAndStop(1);
_parent.lew.action = "random";
_parent.lew.gotoAndPlay("clickbutton");
gotoAndStop (2);
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 123 Button
on (release) {
gotoAndStop (2);
_parent.lew.action = "help";
_parent.lew.gotoAndPlay("clickbutton");
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 138 Button
on (release) {
this.gotoAndPlay("close");
_parent.lew.action = "solve";
}
Symbol 143 Button
on (release) {
this.gotoAndPlay("close");
_parent.lew.action = "nosolve";
_parent.solvebutton.gotoAndStop(1);
_parent.randombutton.gotoAndStop(1);
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 69
gotoAndPlay (16);
Symbol 144 MovieClip Frame 80
_parent.lew.play();
Symbol 144 MovieClip Frame 84
gotoAndStop (1);
_visible = false;
Symbol 155 Button
on (release) {
if (menustatus) {
menu.gotoAndStop("off");
enetstatus--;
} else {
menu.gotoAndStop("on");
enetstatus++;
clickhere.gotoAndStop("stopmenu");
}
}
Symbol 160 Button
on (release) {
GotoUrl("http://www.netcent.com");
}
Symbol 166 Button
on (release) {
if (eflashstatus) {
eflash.gotoAndStop("off");
enetstatus--;
}
if (!copyrightstatus) {
copyright.gotoAndStop("on");
enetstatus++;
} else {
copyright.gotoAndStop("off");
enetstatus--;
}
}
Symbol 172 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 23
textframe++;
if (4 < textframe) {
textframe = 1;
}
text.gotoAndStop(textframe);
gotoAndPlay (1);
Symbol 173 MovieClip Frame 25
stop();
text.gotoAndStop("menu");
Symbol 182 Button
on (release) {
if (_parent.eflashstatus) {
_parent.eflash.gotoAndStop("off");
_parent.enetstatus--;
} else {
_parent.eflash.gotoAndPlay("on");
_parent.enetstatus++;
}
if (_parent.copyrightstatus) {
_parent.copyright.gotoAndStop("off");
_parent.enetstatus--;
}
}
Symbol 189 Button
on (release) {
_parent.GetUrl(_parent.downloadlinkurl);
}
Symbol 190 MovieClip Frame 1
stop();
if (_parent.eflashon != 1) {
gotoAndStop (2);
}
Symbol 194 Button
on (release) {
if (cobrandstatus) {
cobrand.gotoAndStop("off");
enetstatus--;
} else {
cobrand.gotoAndStop("on");
enetstatus++;
}
}
Symbol 209 Button
on (release) {
_parent._parent.GotoUrl(url);
}
Symbol 210 MovieClip Frame 1
if (bg) {
var barcolor = new Color(bgcolor);
barcolor.setRGB(bg);
}
Symbol 215 Button
on (release) {
_parent.GotoUrl("http://www.downtoearthcomic.com");
}
Symbol 220 Button
on (release) {
_parent.enetstatus--;
gotoAndStop (1);
}
Symbol 222 MovieClip Frame 1
stop();
_parent.cobrandstatus = 0;
Symbol 222 MovieClip Frame 2
_parent.cobrandstatus = 1;
p1.label = "ARCHIVES";
p1.url = "http://downtoearth.ncbuy.com/archives/";
p2.label = "FORUM";
p2.url = "http://data.ncbuy.com/cgi-bin/WebX?14@@.ee734f0!nc=998414396";
p3.label = "CHARACTERS";
p3.url = "http://downtoearth.ncbuy.com/characters.html";
p4.label = "CREATORS";
p4.url = "http://downtoearth.ncbuy.com/creators.html";
p5.label = "SYNDICATION";
p5.url = "http://downtoearth.ncbuy.com/syndication/";
p6.label = "GET THE BOOK";
p6.url = "http://downtoearth.ncbuy.com/books/";
Symbol 227 MovieClip Frame 1
if (bg) {
var barcolor = new Color(bgcolor);
barcolor.setRGB(bg);
}
Symbol 228 Button
on (release) {
if (_parent._parent.eflashstatus) {
_parent._parent.eflash.gotoAndStop("off");
_parent._parent.enetstatus--;
} else {
_parent._parent.eflash.gotoAndPlay("on");
_parent.gotoAndStop("off");
}
if (_parent._parent.copyrightstatus) {
_parent._parent.copyright.gotoAndStop("off");
_parent._parent.enetstatus--;
}
}
Symbol 237 Button
on (release) {
_parent.GotoUrl("http://www.ncbuy.com");
}
Symbol 238 Button
on (release) {
_parent.enetstatus--;
gotoAndStop (1);
}
Symbol 243 Button
on (release) {
_parent.GotoUrl("http://enetwork.ncbuy.com");
}
Symbol 244 MovieClip Frame 1
_parent.menustatus = 0;
stop();
Symbol 244 MovieClip Frame 2
_parent.menustatus = 1;
ncbuy1.label = "ASTROLOGY";
ncbuy2.label = "BUSINESS CENTER";
ncbuy3.label = "CARTOONS & COMICS";
ncbuy4.label = "CLASSIFIEDS & AUCTIONS";
ncbuy5.label = "CONTESTS & SWEEPSTAKES";
ncbuy6.label = "CURRENT NEWS";
ncbuy7.label = "ENTERTAINMENT CENTER";
ncbuy8.label = "FREE STUFF";
ncbuy9.label = "GAMEHOUSE - GO PLAY!";
ncbuy10.label = "HOME & LEISURE";
ncbuy11.label = "INTERNET SHOPPING";
ncbuy12.label = "JOKE CENTER";
ncbuy13.label = "LOTTO & GAMBLING";
ncbuy14.label = "TRAVEL CENTER";
ncbuy15.label = "WEATHER CONDITIONS";
ncbuy16.label = "SEARCH THE NET";
ncbuy17.label = "AFFILIATE PROGRAMS";
ncbuy18.label = "DOWNLOADS - MORE APPS";
ncbuy19.label = "REGISTER - JOIN TODAY";
ncbuy20.label = "WEBMASTERS - FOR YOUR SITE";
ncbuy16.bg = 10092492 /* 0x99FFCC */;
ncbuy17.bg = 10092492 /* 0x99FFCC */;
ncbuy18.bg = 16763904 /* 0xFFCC00 */;
ncbuy19.bg = 16763904 /* 0xFFCC00 */;
ncbuy20.bg = 16763904 /* 0xFFCC00 */;
ncbuy1.url = "http://www.ncbuy.com/entertainment/astrology/";
ncbuy2.url = "http://www.ncbuy.com/business/";
ncbuy3.url = "http://www.ncbuy.com/entertainment/cartoons/";
ncbuy4.url = "http://www.ncbuy.com/classifieds/";
ncbuy5.url = "http://www.ncbuy.com/entertainment/contests/";
ncbuy6.url = "http://www.ncbuy.com/news/";
ncbuy7.url = "http://www.ncbuy.com/entertainment/";
ncbuy8.url = "http://www.ncbuy.com/directories/freestuff/";
ncbuy9.url = "http://www.ncbuy.com/entertainment/gamehouse/";
ncbuy10.url = "http://www.ncbuy.com/homeleisure/";
ncbuy11.url = "http://www.ncbuy.com/shopping/";
ncbuy12.url = "http://jokes.ncbuy.com/";
ncbuy13.url = "http://www.ncbuy.com/entertainment/lotteries/";
ncbuy14.url = "http://www.ncbuy.com/homeleisure/travel/";
ncbuy15.url = "http://www.ncbuy.com/homeleisure/weather/";
ncbuy16.url = "http://search.ncbuy.com/";
ncbuy17.url = "http://affiliate.ncbuy.com/";
ncbuy18.url = "http://enetwork.ncbuy.com/downloads/";
ncbuy19.url = "http://enetwork.ncbuy.com/register/";
ncbuy20.url = "http://enetwork.ncbuy.com/webmasters/";
Instance of Symbol 229 MovieClip in Symbol 244 MovieClip Frame 2
onClipEvent (load) {
if (_parent._parent.screensaver == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 246 Button
on (release) {
gotoAndStop (1);
_parent.enetstatus--;
}
Symbol 250 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 255 Button
on (press) {
startDrag (this, true, 0, top, 0, btm);
}
on (release) {
stopDrag();
}
Symbol 258 Button
on (press) {
movetext = -1;
}
on (release) {
movetext = 0;
}
Symbol 259 Button
on (press) {
movetext = 1;
}
on (release) {
movetext = 0;
}
Instance of Symbol 256 MovieClip "slider" in Symbol 260 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 265 MovieClip Frame 1
stop();
movetext = 0;
_parent.eflashstatus = 0;
Symbol 265 MovieClip Frame 2
_parent.eflashstatus = 1;
play();
Symbol 265 MovieClip Frame 3
loadVariables ("http://www.netcent.com/dynamic/enet/eflash.txt", this);
loadloop = 0;
Symbol 265 MovieClip Frame 4
if (end == "foo") {
gotoAndStop (6);
} else {
loadloop++;
if (200 < loadloop) {
loadloop = 0;
gotoAndStop (14);
}
}
Symbol 265 MovieClip Frame 5
gotoAndPlay (4);
Symbol 265 MovieClip Frame 6
text = update;
stop();
Symbol 267 Button
on (release) {
gotoAndStop (1);
_parent.enetstatus--;
}
Symbol 269 MovieClip Frame 1
stop();
movetext = 0;
_parent.copyrightstatus = 0;
Symbol 269 MovieClip Frame 2
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 2001, NetCent Communications, All Rights Reserved.\n";
_parent.copyrightstatus = 1;
Symbol 272 Button
on (release) {
if (menustatus) {
menu.gotoAndStop("off");
} else {
menu.gotoAndStop("on");
}
enetstatus++;
}
Symbol 273 MovieClip Frame 1
function GotoUrl(url) {
if (jweb) {
fscommand ("exec", "JWEB.exe\t" + url);
} else {
getURL (url, "_blank");
}
if (quit) {
fscommand ("quit");
}
}
stop();
Instance of Symbol 173 MovieClip "clickhere" in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
textframe = 1;
}
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 6
stop();
Symbol 282 MovieClip Frame 1
stop();
gotoAndStop(_root.lewlegsframe);
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 17
gotoAndStop (1);
Symbol 293 MovieClip Frame 107
gotoAndPlay (1);
Symbol 293 MovieClip Frame 113
stop();
Symbol 293 MovieClip Frame 185
gotoAndPlay (1);
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 11
hair.gotoAndPlay("bounce");
Symbol 299 MovieClip Frame 38
gotoAndStop (1);
Symbol 299 MovieClip Frame 54
eye.gotoAndPlay("lookdown");
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 23
tap--;
if (tap < 0) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 11
hair.gotoAndPlay("bounce");
Symbol 317 MovieClip Frame 38
gotoAndStop (1);
Symbol 317 MovieClip Frame 54
eye.gotoAndPlay("lookdown");
Symbol 323 MovieClip Frame 1
stop();
stillcount = 0;
smokeinterval = 3;
Instance of Symbol 310 MovieClip "lewrightarm" in Symbol 323 MovieClip Frame 1
onClipEvent (load) {
tap = -1;
}
onClipEvent (enterFrame) {
if ((random(150) == 25) && (tap < 0)) {
tap = random(3) + 1;
play();
}
}
Symbol 323 MovieClip Frame 2
head.gotoAndStop(1);
Symbol 323 MovieClip Frame 42
if (random(25) == 10) {
head.eye.gotoAndPlay("lookaround");
}
Symbol 323 MovieClip Frame 91
stillcount++;
if (smokeinterval < stillcount) {
stillcount = 0;
smokeinterval = random(6) + 4;
gotoAndPlay (93);
} else {
gotoAndPlay (2);
}
Symbol 323 MovieClip Frame 143
head.gotoAndStop(2);
Symbol 323 MovieClip Frame 187
head.gotoAndPlay("blowsmoke");
Symbol 323 MovieClip Frame 270
gotoAndPlay (2);
Symbol 323 MovieClip Frame 274
head.eye.gotoAndPlay("lookdownforward");
head.gotoAndStop(2);
Symbol 323 MovieClip Frame 279
head.hair.gotoAndPlay("bounce");
Symbol 323 MovieClip Frame 286
if (_parent.sfx) {
_parent.lewbeep.start();
}
Symbol 323 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 323 MovieClip Frame 297
gotoAndPlay (2);
Symbol 323 MovieClip Frame 300
head.gotoAndStop("entrance");
Symbol 323 MovieClip Frame 362
gotoAndPlay (2);
Symbol 323 MovieClip Frame 383
_parent.scroll._visible = true;
_parent.scroll.gotoAndPlay("open");
Symbol 323 MovieClip Frame 391
stop();
Symbol 323 MovieClip Frame 409
if (action == "nosolve") {
_parent.activebuttons = true;
gotoAndPlay (2);
} else {
gotoAndPlay (271);
}
Symbol 328 Button
on (release) {
_parent.play();
}
Symbol 341 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 11
gotoAndPlay (1);
Symbol 342 MovieClip Frame 12
deadguy1.gotoAndStop(2);
deadguy2.eyes.gotoAndPlay(8);