Frame 1
getURL ("fscommand:" + "trapallkeys", "true");
playagain = false;
Frame 2
stop();
Frame 142
kangaroo.head.ears.gotoAndStop("up");
Frame 148
kangaroo.head.ears.gotoAndPlay("up");
Frame 150
kangaroo.head.ears.wobble = 3;
kangaroo.head.ears.gotoAndPlay("wobble");
Frame 162
kangaroo.gotoAndPlay("headbob");
Frame 193
function makeSound(idname) {
if (mute) {
return(undefined);
}
sound_right = new Sound(this);
sound_right.setVolume(_root.volume);
sound_right.attachSound(idname);
sound_right.start();
}
function RegSave(k, v) {
getURL ("fscommand:" + "ARG", "Results");
fscommand ("ARG", RootKey);
fscommand ("ARG", SubKey);
fscommand ("ARG", k);
fscommand ("ARG", v);
getURL ("fscommand:" + "REGISTRY.SETSTR");
}
function RegRead(k, vari, d) {
fscommand ("ARG", vari);
fscommand ("ARG", RootKey);
fscommand ("ARG", SubKey);
fscommand ("ARG", k);
fscommand ("ARG", d);
getURL ("fscommand:" + "REGISTRY.GETVAL");
}
function checkPhrase(p) {
if (p.length > 56) {
return(1);
}
var words = new Array();
words = p.split(" ");
var line = 0;
var word = 0;
var lines = new Array();
var x = 0;
do {
x++;
if ((lines[line].length + words[word].length) <= 14) {
lines[line] = lines[line] + words[word];
word++;
if (lines[line].length < 14) {
lines[line] = lines[line] + " ";
}
} else {
line++;
}
} while ((word < words.length) && (line < 4));
if (word >= words.length) {
return(0);
}
return(1);
}
function pickphrases() {
var chosen = new Array();
puzzphrase = new Array();
var lastCatNumber = 999;
var thisCat;
var catName;
var numberOfPhrases;
var phraseNumber;
var phrase;
var subcat;
var moreinfo;
numberOfCats = rooXML.firstChild.childNodes.length;
trace("numberOfCats: " + numberOfCats);
j = 1;
while (j <= 10) {
trace("j:" + j);
if (numberOfCats <= 4) {
if (cat != "static") {
catNumber = random(numberOfCats);
} else {
catNumber = staticCat;
}
} else {
do {
catNumber = random(numberOfCats);
} while (catNumber == lastCatNumber);
}
var thisCat = rooXML.firstChild.childNodes[catNumber];
var catName = thisCat.attributes.name;
var numberOfPhrases = thisCat.childNodes.length;
var phraseNumber = random(numberOfPhrases);
var phrase = thisCat.childNodes[phraseNumber].firstChild.nodeValue;
var subCat = thisCat.childNodes[phraseNumber].attributes.subcategory;
var moreinfo = thisCat.childNodes[phraseNumber].attributes.moreinfo;
lastCatNumber = catNumber;
chosenIndex = (catNumber + "-") + phraseNumber;
if (chosen[chosenIndex]) {
j--;
} else if (thisCat.childNodes[phraseNumber].attributes.error == "true") {
j--;
} else {
phrase = phrase.toUpperCase();
puzzphrase[j] = (((((catName + "|") + subCat) + "|") + phrase) + "|") + moreinfo;
chosen[chosenIndex] = 1;
}
j++;
}
}
function parsephrase() {
var blankrow = new Array(" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ");
letters[0] = new Array();
letters[1] = new Array();
letters[2] = new Array();
letters[3] = new Array();
var temp = new Array();
var words = new Array();
var lines = new Array();
var line = 0;
temp = puzzphrase[puzzlecount].split("|");
moreinfo = temp[3];
phrase = temp[2];
ptype.phrasetype = temp[1];
category = temp[0];
if (temp[1].length < 2) {
ptype.phrasetype = temp[0];
}
words = phrase.split(" ");
i = 0;
while (i < words.length) {
if ((lines[line].length + words[i].length) >= maxlength) {
line++;
}
if (lines[line].length >= 1) {
sp = " ";
} else {
sp = "";
}
lines[line] = (lines[line] + sp) + words[i];
i++;
}
i = 0;
while (i <= line) {
while (lines[i].length < maxlength) {
lines[i] = lines[i] + " ";
if (lines[i].length < maxlength) {
lines[i] = " " + lines[i];
}
}
j = 0;
while (j < lines[i].length) {
letters[i].push(lines[i].substr(j, 1));
j++;
}
i++;
}
line++;
if (line == 1) {
letters[1] = letters[0];
letters[0] = blankrow;
letters[2] = blankrow;
letters[3] = blankrow;
}
if (line == 2) {
letters[2] = letters[1];
letters[1] = letters[0];
letters[0] = blankrow;
letters[3] = blankrow;
}
if (line == 3) {
letters[3] = blankrow;
}
}
function showblank() {
buttonhot = 0;
var i;
var j;
var clip;
i = 0;
while (i < 4) {
j = 0;
while (j < maxlength) {
if (letters[i][j] != " ") {
clip = ("b" + (i + 1)) + (j + 1);
this[clip].gotoAndPlay("uncover");
this[clip].letter_val = letters[i][j];
phraseletters++;
}
j++;
}
i++;
}
}
function resetpuzzle() {
phraseletters = 0;
strikes = 0;
var clip;
i = 1;
while (i <= 4) {
j = 1;
while (j <= maxlength) {
clip = ("b" + i) + j;
if (this[clip].status) {
this[clip].gotoAndPlay("cover");
}
j++;
}
i++;
}
i = 1;
while (i <= 26) {
this["lb" + i].gotoAndStop(1);
i++;
}
i = 1;
while (i <= maxwrong) {
this["strike" + i].gotoAndStop(1);
i++;
}
}
function letterbutton(keyb) {
var found = 0;
if (no_keys.indexOf(keyb) <= -1) {
if (yes_keys.indexOf(keyb) == -1) {
i = 0;
while (i < 4) {
j = 0;
while (j < maxlength) {
if (letters[i][j] == keyb) {
clip = this[("b" + (i + 1)) + (j + 1)];
phraseletters--;
clip.gotoAndPlay("reveal");
found = 1;
}
j++;
}
i++;
}
if (!found) {
no_keys = no_keys + keyb;
makeSound("wrong");
strikes++;
this["strike" + strikes].gotoAndPlay("on");
if (strikes >= maxwrong) {
if (strikes == maxwrong) {
buttonhot = 0;
this.gotoAndPlay("lose");
}
} else {
roo.Response(keyb, "wrong");
}
} else {
yes_keys = yes_keys + keyb;
makeSound("right");
roo.Response(keyb, "right");
}
if (phraseletters == 0) {
buttonhot = 0;
gotoAndPlay (252);
}
}
}
}
function revealpuzzle() {
var clip;
i = 1;
while (i <= 4) {
j = 1;
while (j <= maxlength) {
clip = ("b" + i) + j;
if (this[clip].status == 1) {
this[clip].gotoAndPlay("reveal");
}
j++;
}
i++;
}
}
function checkPhraseSource() {
if (!((openFile.length > 3) && (openFile != defaultXML))) {
phraseType = "INTERNAL";
openFile = defaultXML;
contentnoticebutton._visible = false;
return(defaultXML);
}
phraseType = "EXTERNAL";
contentnoticebutton._visible = true;
return(openFile);
}
function openFileDialog(title) {
if (lastdir == "") {
lastdir = "C:\\";
}
fscommand ("ARG", title);
fscommand ("ARG", lastdir);
getURL ("fscommand:" + "FILESYS.FILEOPEN");
}
function checkFile(x) {
var docInfo = new Array();
docInfo.numberOfCats = x.firstChild.childNodes.length;
docInfo.sumPhrases = 0;
docInfo.errors = false;
trace((((("yoyo: " + docInfo.numberOfCats) + ", ") + docInfo.sumPhrases) + ", ") + docInfo.errors);
if (x.firstChild.nodeName == "hangaroo_phrases") {
if (x.firstChild.childNodes[0].nodeName == "category") {
if (x.firstChild.childNodes[0].childNodes[0].nodeName != "phrase") {
docInfo.errors = true;
}
} else {
docInfo.errors = true;
}
} else {
docInfo.errors = true;
}
if (docInfo.errors) {
errorPopup.errorMsg = "Incorrect HangARoo Phrase File Format.";
errorPopup.gotoAndStop(2);
return(docInfo);
}
j = 0;
while (j < docInfo.numberOfCats) {
docInfo.sumPhrases = docInfo.sumPhrases + x.firstChild.childNodes[j].childNodes.length;
j++;
}
if (docInfo.sumPhrases < 10) {
errorPopup.errorMsg = "There must be at least 10 phrases in file!";
errorPopup.gotoAndStop(2);
docInfo.errors = true;
return(docInfo);
}
return(docInfo);
}
function fixPhrase(p) {
var i;
var si = 0;
var z = 10;
var j;
var searchArray = new Array("\"");
var replaceArray = new Array(""");
j = 0;
while (j < searchArray.length) {
while (((i = p.indexOf(searchArray[j], si))) != -1) {
z--;
if (z < 1) {
return(p);
}
var x = "";
if (i > 0) {
x = p.substr(0, i);
}
y = p.substr(i + 1, p.length - 2);
p = (x + replaceArray[j]) + y;
si = i + replaceArray[j].length;
}
j++;
}
return(p);
}
app = "hangaroo";
version = "2.05";
RootKey = "HKEY_CURRENT_USER";
SubKey = "Software\\NetCent\\HangARoo";
Instance of Symbol 276 MovieClip "help" in Frame 193
onClipEvent (load) {
_visible = false;
setProperty("", _visible, false);
}
Instance of Symbol 291 MovieClip "loadphrases" in Frame 193
onClipEvent (load) {
_visible = false;
setProperty("", _visible, false);
}
onClipEvent (data) {
_parent.gotoAndPlay("phrasesloaded");
}
onClipEvent (enterFrame) {
if (_root.ssFileOpen.length > 5) {
_root.openFile = _root.ssFileOpen;
_root.ssFileOpen = "";
if (_root.openFile != _root.defaultXML) {
dpos = _root.openFile.lastIndexOf("\\");
dirname = _root.openFile.substring(0, dpos + 1);
_root.RegSave("lastdir", dirname);
_root.lastdir = dirname;
}
if (_root.menuAction == "load") {
_root.phraseType = "EXTERNAL";
_root.RegSave("lastfile", _root.openFile);
_root.playagain = false;
_parent.gotoAndPlay("start");
}
if (_root.menuAction == "check") {
_root.checkAll.gotoAndPlay(2);
}
}
}
Instance of Symbol 291 MovieClip in Frame 193
onClipEvent (load) {
_visible = false;
setProperty("", _visible, false);
}
onClipEvent (keyUp) {
if (_parent.buttonhot) {
k = Key.getAscii();
if (k > 96) {
k = k - 32;
}
kb = chr(k);
if ((_parent["lb" + (k - 64)].status == 0) && (_parent.strikes < _parent.maxwrong)) {
_parent["lb" + (k - 64)].gotoAndStop(2);
_parent.letterbutton(kb);
}
}
}
onClipEvent (enterFrame) {
if ((((_parent.completely_shown >= _parent.phraseletters) && (_parent.phraseletters > 0)) && (_parent.strikes != _parent.maxwrong)) && (_parent.enet.enetstatus < 1)) {
_parent.buttonhot = 1;
}
}
Instance of Symbol 317 MovieClip "enet" in Frame 193
//component parameters
onClipEvent (initialize) {
eflashon = 0;
version = "v.2.05";
jstart = 0;
quit = 0;
screensaver = 0;
downloadlinkurl = "http://games.ncbuy.com/hangaroo/";
swfstudio = 1;
}
Instance of Symbol 408 MovieClip "contentnoticebutton" in Frame 193
onClipEvent (load) {
_visible = false;
setProperty("", _visible, false);
}
Frame 194
RegRead("lastfile", "ssFileOpen", "");
RegRead("lastdir", "lastdir", "");
RegRead("moreinfo", "showmoreinfo", "");
if (moreinfo != "") {
if (moreinfo == "false") {
menu.menu.showmoreinfo.gotoAndStop(2);
}
} else {
showmoreinfo = 1;
moreinfo = "true";
}
i = 1;
while (i <= 26) {
this["lb" + i].letter_val = chr(i + 64);
i++;
}
volume = 60;
mute = 0;
Frame 198
letters = new Array(4);
maxlength = 14;
puzzlecount = 0;
maxwrong = 4;
puzzlewin = 10;
buttonhot = 0;
wins = 0;
defaultXML = "hangaroo.xml";
trapdoor.gotoAndStop(1);
progress.resetindicator();
Frame 204
loadFile = checkPhraseSource();
if (playagain != false) {
gotoAndPlay (214);
} else {
getURL ("fscommand:" + "SetBasePath", "V1");
rooXML = new XML();
rooXML.onLoad = function () {
gotoAndPlay (211);
};
rooXML.ignoreWhite = true;
rooXML.load(loadFile);
bytesTotal = rooXML.getBytesTotal();
stop();
}
Frame 205
bytesLoaded = rooXML.getBytesLoaded();
bytesTotal = rooXML.getBytesTotal();
percent = int((bytesLoaded / bytesTotal) * 100) + 2;
loading.progressbar._xscale = percent;
Frame 206
gotoAndPlay (205);
Frame 211
docInfo = new Array();
docInfo = checkFile(rooXML);
playagain = false;
if (!docInfo.errors) {
lastfile = openFile;
} else {
phraseType = "INTERNAL";
RegSave("lastfile", "");
lastfile = "";
openFile = defaultXML;
playagain = false;
gotoAndPlay (198);
}
Frame 214
trace((((("playgain: " + playagain) + ", loadfile: ") + loadFile) + ", defaultXML: ") + defaultXML);
if (!docInfo.errors) {
if ((playagain == false) && (loadFile != defaultXML)) {
authorInfo.gotoAndPlay(2);
}
pickphrases();
gotoAndPlay (227);
}
Frame 219
stop();
Frame 220
letters = new Array(4);
maxlength = 14;
puzzlecount = 0;
maxwrong = 4;
puzzlewin = 10;
buttonhot = 0;
wins = 0;
progress.resetindicator();
i = 1;
while (i <= 26) {
this["lb" + i].letter_val = chr(i + 64);
i++;
}
Frame 232
resetpuzzle();
if (ptype.status) {
ptype.gotoAndPlay("hide");
}
if (catblock.status) {
catblock.gotoAndPlay("up");
}
Frame 238
puzzlecount++;
parsephrase();
Frame 239
completely_shown = 0;
showblank();
ptype.gotoAndPlay("show");
Frame 250
no_keys = "";
yes_keys = "";
gotoAndStop (227);
if (ptype.phrasetype != category) {
catblock.gotoAndPlay("down");
}
Frame 252
buttonhot = 0;
Frame 257
if (roo.kangaroo.talking) {
gotoAndPlay (255);
}
Frame 260
makeSound("win");
Frame 266
progress.turnOn(puzzlecount);
info.gotoAndPlay(2);
if (puzzlecount != puzzlewin) {
gotoAndPlay (232);
} else {
gotoAndPlay (361);
}
Frame 268
buttonhot = 0;
Frame 278
if (roo.kangaroo.talking) {
gotoAndPlay (276);
}
Frame 297
revealpuzzle();
makeSound("lose");
Frame 316
roo.kangaroo.gotoAndPLay("HANGFACE");
Frame 323
trapdoor.gotoAndPlay("go");
roo.kangaroo.gotoAndPLay("HANG");
Frame 326
roo._y = roo._y + 120;
Frame 327
roo._y = roo._y + 120;
Frame 328
roo.kangaroo.gotoAndPlay("HANGSTRETCH");
Instance of Symbol 451 MovieClip in Frame 340
onClipEvent (keyDown) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Frame 349
kangaroo.gotoAndPlay("angel");
Frame 352
if (kangaroo._y <= -250) {
nextFrame();
} else {
kangaroo._y = kangaroo._y - 3;
gotoAndPlay (351);
}
Frame 360
stop();
Frame 361
roo.kangaroo.gotoAndPlay("wingame");
Instance of Symbol 451 MovieClip "playagain" in Frame 410
onClipEvent (keyDown) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Frame 413
stop();
Frame 416
resetpuzzle();
if (ptype.status) {
ptype.gotoAndPlay("hide");
}
if (catblock.status) {
catblock.gotoAndPlay("up");
}
Frame 428
gotoAndPlay (198);
Symbol 62 Button
on (release) {
getURL (itemUrl, "new");
}
Instance of Symbol 75 MovieClip "preloadbar" in Symbol 73 MovieClip Frame 1
onClipEvent (load) {
totalbytes = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
bytesloaded = _root.getBytesLoaded();
_parent.bytesloaded = ((bytesloaded + " of ") + totalbytes) + " bytes";
_xscale = (100 * (bytesloaded / totalbytes));
setProperty("", _xscale, 100 * (bytesloaded / totalbytes));
_parent.preloadmask._yscale = 100 - _xscale;
_parent.bloboutline._alpha = 100 - _xscale;
_parent.percent = int(_xscale) + "%";
if (bytesloaded == totalbytes) {
_root.play();
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 96
gotoAndStop (1);
Symbol 135 MovieClip Frame 1
stop();
wob = 0;
Symbol 135 MovieClip Frame 10
stop();
Symbol 135 MovieClip Frame 15
stop();
Symbol 135 MovieClip Frame 27
wob++;
if (wobble) {
if (wob > wobble) {
wob = 0;
gotoAndStop (1);
}
}
gotoAndPlay (17);
Symbol 135 MovieClip Frame 34
stop();
Symbol 135 MovieClip Frame 39
stop();
Symbol 138 MovieClip Frame 1
bp = "0";
Symbol 138 MovieClip Frame 29
bp++;
if (bp < 8) {
gotoAndPlay (20);
} else {
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 40
stop();
Symbol 138 MovieClip Frame 51
stop();
Symbol 138 MovieClip Frame 59
stop();
Symbol 138 MovieClip Frame 64
stop();
Symbol 138 MovieClip Frame 71
stop();
Symbol 138 MovieClip Frame 76
gotoAndPlay (1);
Symbol 138 MovieClip Frame 81
stop();
Symbol 138 MovieClip Frame 89
gotoAndPlay (1);
Symbol 138 MovieClip Frame 99
stop();
Symbol 112 MovieClip Frame 1
function doSound() {
_parent._parent.rooSound.setVolume(_root.volume);
_parent._parent.rooSound.start();
}
stop();
Symbol 112 MovieClip Frame 9
eyes.gotoAndPlay("sad");
ears.gotoAndPlay("down");
Symbol 112 MovieClip Frame 16
stop();
Symbol 112 MovieClip Frame 18
sound_letter = new Sound();
sound_letter.attachSound(letter);
sayindex = 0;
_parent.talking = 1;
Symbol 112 MovieClip Frame 28
sound_letter.setVolume(_root.volume);
sound_letter.start();
Symbol 112 MovieClip Frame 29
ph = phonemes.shift();
if (!ph) {
gotoAndPlay (35);
} else {
mouth.gotoAndStop(ph);
}
Symbol 112 MovieClip Frame 33
gotoAndPlay (29);
Symbol 112 MovieClip Frame 46
gotoAndStop (1);
_parent.gotoAndPlay("putdown" + putdown);
Symbol 112 MovieClip Frame 47
doSound();
Symbol 112 MovieClip Frame 92
gotoAndStop (1);
Symbol 112 MovieClip Frame 95
doSound();
Symbol 112 MovieClip Frame 132
gotoAndStop (1);
Symbol 112 MovieClip Frame 133
doSound();
Symbol 112 MovieClip Frame 165
gotoAndStop (1);
Symbol 112 MovieClip Frame 166
doSound();
Symbol 112 MovieClip Frame 208
gotoAndStop (1);
Symbol 112 MovieClip Frame 209
doSound();
Symbol 112 MovieClip Frame 248
gotoAndStop (1);
Symbol 112 MovieClip Frame 249
doSound();
Symbol 112 MovieClip Frame 283
gotoAndStop (1);
Symbol 112 MovieClip Frame 285
doSound();
Symbol 112 MovieClip Frame 326
gotoAndStop (1);
Symbol 112 MovieClip Frame 345
gotoAndStop (1);
Symbol 112 MovieClip Frame 346
doSound();
Symbol 112 MovieClip Frame 389
gotoAndStop (1);
Symbol 112 MovieClip Frame 390
doSound();
Symbol 112 MovieClip Frame 459
gotoAndStop (1);
Symbol 112 MovieClip Frame 465
doSound();
Symbol 112 MovieClip Frame 511
gotoAndStop (1);
Symbol 112 MovieClip Frame 512
doSound();
Symbol 112 MovieClip Frame 557
gotoAndStop (1);
Symbol 112 MovieClip Frame 559
doSound();
Symbol 112 MovieClip Frame 621
gotoAndStop (1);
Symbol 112 MovieClip Frame 622
doSound();
Symbol 112 MovieClip Frame 673
gotoAndStop (1);
Symbol 112 MovieClip Frame 674
doSound();
Symbol 112 MovieClip Frame 697
gotoAndStop (1);
Symbol 112 MovieClip Frame 703
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 724
gotoAndStop (1);
Symbol 112 MovieClip Frame 726
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 739
gotoAndStop (1);
Symbol 112 MovieClip Frame 740
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 757
gotoAndStop (1);
Symbol 112 MovieClip Frame 758
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 773
gotoAndStop (1);
Symbol 112 MovieClip Frame 774
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 787
gotoAndStop (1);
Symbol 112 MovieClip Frame 788
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 807
gotoAndStop (1);
Symbol 112 MovieClip Frame 808
eyes.gotoAndPlay("blink");
doSound();
Symbol 112 MovieClip Frame 818
gotoAndStop (1);
Symbol 112 MovieClip Frame 819
eyes.gotoAndPlay("close");
ears.gotoAndPlay("down");
_root.makeSound("wingame");
Symbol 112 MovieClip Frame 851
mouth.gotoAndPlay("smile");
Symbol 112 MovieClip Frame 864
eyes.gotoAndStop("blink");
ears.gotoAndPlay("up");
Symbol 112 MovieClip Frame 871
gotoAndStop (1);
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 44
stop();
Symbol 160 MovieClip Frame 55
play();
Symbol 160 MovieClip Frame 68
gotoAndStop (1);
Symbol 108 MovieClip Frame 1
stop();
talking = 0;
Symbol 108 MovieClip Frame 4
hb = 0;
Symbol 108 MovieClip Frame 7
head.ears.wobble = 3;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 20
hb++;
if (hb <= 50) {
gotoAndPlay (17);
} else {
gotoAndPlay (4);
}
Symbol 108 MovieClip Frame 22
Symbol 108 MovieClip Frame 29
head.gotoAndPlay("grimace");
Symbol 108 MovieClip Frame 32
pause = 50;
Symbol 108 MovieClip Frame 35
talking = 0;
head.gotoAndStop(1);
head.eyes.gotoAndStop(1);
head.ears.gotoAndPlay("up");
gotoAndStop (1);
Symbol 108 MovieClip Frame 36
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 38
head.gotoAndPlay("putdown1");
head.eyes.gotoAndPlay("angry");
head.ears.gotoAndPlay("down");
arms.gotoAndPlay("moverightout");
Symbol 108 MovieClip Frame 62
talking = 0;
head.ears.gotoAndPlay("up");
head.eyes.gotoAndPlay("blink");
gotoAndStop (1);
Symbol 108 MovieClip Frame 63
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 66
head.gotoAndPlay("putdown2");
head.eyes.gotoAndPlay("close");
head.ears.gotoAndPlay("down");
Symbol 108 MovieClip Frame 90
gotoAndStop (1);
head.eyes.gotoAndPlay("blink");
head.ears.gotoAndPlay("up");
talking = 0;
Symbol 108 MovieClip Frame 92
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 95
head.gotoAndPlay("putdown3");
head.eyes.gotoAndPlay("lookup");
head.ears.gotoAndPlay("down");
Symbol 108 MovieClip Frame 122
talking = 0;
head.eyes.gotoAndPlay("lookdown");
head.ears.gotoAndPlay("up");
gotoAndStop (1);
Symbol 108 MovieClip Frame 123
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 125
head.gotoAndPlay("putdown4");
head.ears.wobble = 3;
head.ears.gotoAndPlay("wobble");
head.eyes.gotoAndPlay("angry");
Symbol 108 MovieClip Frame 165
head.eyes.gotoAndPlay("blink");
gotoAndStop (1);
Symbol 108 MovieClip Frame 166
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 168
head.gotoAndPlay("putdown5");
head.ears.gotoAndPlay("tiltright");
head.eyes.gotoAndPlay("close");
Symbol 108 MovieClip Frame 217
head.ears.gotoAndPlay("tiltup");
Symbol 108 MovieClip Frame 222
talking = 0;
head.eyes.gotoAndPlay("blink");
gotoAndStop (1);
Symbol 108 MovieClip Frame 223
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 227
head.gotoAndPlay("putdown6");
head.ears.wobble = 2;
head.ears.gotoAndPlay("wobble");
head.eyes.gotoAndPlay("angry");
Symbol 108 MovieClip Frame 258
head.eyes.gotoAndPlay("close");
head.ears.gotoAndPlay("wobble");
head.eyes.gotoAndPlay("blink");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 259
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 261
head.gotoAndPlay("putdown7");
head.eyes.gotoAndPlay("lookright");
head.ears.wobble = 4;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 301
talking = 0;
head.eyes.gotoAndPlay("lookstraight");
gotoAndStop (1);
Symbol 108 MovieClip Frame 302
head.gotoAndPlay("putdown8");
head.eyes.gotoAndPlay("angry");
head.ears.gotoAndPlay("down");
Symbol 108 MovieClip Frame 324
head.ears.gotoAndPlay("up");
head.eyes.gotoAndPlay("blink");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 325
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 327
head.eyes.gotoAndPlay("angry");
head.gotoAndPlay("putdown9");
Symbol 108 MovieClip Frame 365
head.eyes.gotoAndPlay("blink");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 366
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 368
head.gotoAndPlay("putdown10");
head.eyes.gotoAndPlay("close");
Symbol 108 MovieClip Frame 371
head.ears.wobble = 6;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 398
head.eyes.gotoAndPlay("angry");
Symbol 108 MovieClip Frame 426
head.eyes.gotoAndPlay("angry");
head.ears.gotoAndPlay("down");
Symbol 108 MovieClip Frame 442
head.eyes.gotoAndPlay("blink");
head.ears.gotoAndPlay("up");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 443
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 445
head.gotoAndPlay("putdown11");
head.eyes.gotoAndPlay("close");
Symbol 108 MovieClip Frame 449
head.ears.wobble = 3;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 479
head.ears.wobble = 2;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 483
head.eyes.gotoAndPlay("blink");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 484
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 486
head.gotoAndPlay("putdown12");
head.eyes.gotoAndPlay("close");
head.ears.wobble = 4;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 488
arms.gotoAndPlay("moverightout");
Symbol 108 MovieClip Frame 517
head.eyes.gotoAndPlay("angry");
head.ears.gotoAndPlay("down");
Symbol 108 MovieClip Frame 537
head.ears.gotoAndPlay("up");
Symbol 108 MovieClip Frame 542
head.eyes.gotoAndPlay("blink");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 543
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 545
head.gotoAndPlay("putdown13");
head.eyes.gotoAndPlay("close");
Symbol 108 MovieClip Frame 570
head.ears.wobble = 5;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 611
head.eyes.gotoAndPlay("blink");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 612
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 614
head.gotoAndPlay("putdown14");
head.eyes.gotoAndPlay("sad");
Symbol 108 MovieClip Frame 650
head.eyes.gotoAndPlay("angry");
head.ears.gotoAndPlay("down");
Symbol 108 MovieClip Frame 661
head.eyes.gotoAndPlay("blink");
head.ears.gotoAndPlay("up");
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 662
pause = 20;
talking = 1;
Symbol 108 MovieClip Frame 664
head.gotoAndPlay("putdown15");
head.eyes.gotoAndPlay("lookup");
Symbol 108 MovieClip Frame 681
head.eyes.gotoAndPlay("lookdown");
Symbol 108 MovieClip Frame 685
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 687
pause = 5;
talking = 1;
Symbol 108 MovieClip Frame 689
head.gotoAndPlay("praise1");
head.ears.wobble = 3;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 700
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 701
pause = 5;
talking = 1;
Symbol 108 MovieClip Frame 703
head.gotoAndPlay("praise2");
head.ears.wobble = 4;
head.ears.gotoAndPlay("wobble");
Symbol 108 MovieClip Frame 719
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 720
pause = 5;
head.gotoAndStop(1);
Symbol 108 MovieClip Frame 723
head.eyes.gotoAndPlay("close");
head.mouth.gotoAndStop("GRIN");
Symbol 108 MovieClip Frame 742
talking = 0;
head.eyes.gotoAndPlay("blink");
head.mouth.gotoAndStop(1);
gotoAndStop (1);
Symbol 108 MovieClip Frame 743
head.gotoAndPlay("praise4");
head.ears.wobble = 5;
head.ears.gotoAndPlay("wobble");
talking = 1;
Symbol 108 MovieClip Frame 769
talking = 0;
head.eyes.gotoAndPlay("blink");
gotoAndStop (1);
Symbol 108 MovieClip Frame 770
head.gotoAndPlay("praise5");
head.ears.wobble = 3;
head.ears.gotoAndPlay("wobble");
talking = 1;
Symbol 108 MovieClip Frame 789
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 791
head.gotoAndPlay("praise6");
talking = 1;
Symbol 108 MovieClip Frame 805
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 806
talking = 1;
head.gotoAndPlay("praise7");
Symbol 108 MovieClip Frame 819
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 821
talking = 1;
head.gotoAndPlay("praise8");
Symbol 108 MovieClip Frame 834
talking = 0;
gotoAndStop (1);
Symbol 108 MovieClip Frame 836
talking = 1;
head.gotoAndStop(1);
arms.gotoAndPlay("rightthumb");
Symbol 108 MovieClip Frame 837
head.mouth.gotoAndPlay("SMILE");
Symbol 108 MovieClip Frame 850
talking = 0;
head.gotoAndStop(1);
gotoAndStop (1);
Symbol 108 MovieClip Frame 874
head.gotoAndPlay("wingame");
Symbol 108 MovieClip Frame 980
_root.makeSound("zipaway");
Symbol 108 MovieClip Frame 1012
stop();
_root.roowin.play();
Symbol 108 MovieClip Frame 1013
head.gotoAndStop(1);
head.eyes.gotoAndPlay("angry");
head.mouth.gotoAndStop("FROWN");
Symbol 108 MovieClip Frame 1022
stop();
Symbol 108 MovieClip Frame 1024
head.gotoAndStop(1);
head.ears.gotoAndPlay("down");
head.eyes.gotoAndPlay("sad");
Symbol 108 MovieClip Frame 1034
stop();
Symbol 108 MovieClip Frame 1035
head.eyes.gotoAndPlay("surprised");
head.ears.gotoAndPlay("up");
Symbol 108 MovieClip Frame 1039
stop();
Symbol 108 MovieClip Frame 1040
_root.makeSound("rope");
Symbol 108 MovieClip Frame 1044
_root.makeSound("hang");
Symbol 108 MovieClip Frame 1116
gotoAndPlay (1045);
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 16
stop();
Symbol 191 MovieClip Frame 1
function resetindicator() {
j = 1;
while (j <= 10) {
this["indicator" + j].gotoAndStop("off");
j++;
}
wins = 0;
}
function turnOn(n) {
this["indicator" + n].gotoAndPlay("on");
wins++;
}
wins = 0;
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 2
_root.makeSound("trapdoor");
Symbol 200 MovieClip Frame 6
stop();
Symbol 204 MovieClip Frame 1
function speakletter(letter, putdown) {
if (letter != "A") {
if (letter != "B") {
if (letter != "C") {
if (letter != "D") {
if (letter != "E") {
if (letter != "F") {
if (letter != "G") {
if (letter != "H") {
if (letter != "I") {
if (letter != "J") {
if (letter != "K") {
if (letter != "L") {
if (letter != "M") {
if (letter != "N") {
if (letter != "O") {
if (letter != "P") {
if (letter != "Q") {
if (letter != "R") {
if (letter != "S") {
if (letter != "T") {
if (letter != "U") {
if (letter != "V") {
if (letter != "W") {
if (letter != "X") {
if (letter != "Y") {
if (letter == "Z") {
ls = "65-25";
}
} else {
ls = "20-5";
}
} else {
ls = "5-45";
}
} else {
ls = "70-10-20";
}
} else {
ls = "30-25";
}
} else {
ls = "45-20";
}
} else {
ls = "55-25";
}
} else {
ls = "5-65";
}
} else {
ls = "70-15";
}
} else {
ls = "60-20";
}
} else {
ls = "10-25";
}
} else {
ls = "70-20";
}
} else {
ls = "5-45";
}
} else {
ls = "5-10";
}
} else {
ls = "5-40";
}
} else {
ls = "45-5";
}
} else {
ls = "60-5";
}
} else {
ls = "5-25";
}
} else {
ls = "5-60";
}
} else {
ls = "60-25";
}
} else {
ls = "5-30";
}
} else {
ls = "25";
}
} else {
ls = "60-25";
}
} else {
ls = "60-25";
}
} else {
ls = "10-25";
}
} else {
ls = "5";
}
saypause = 1;
kangaroo.head.phonemes = ls.split("-");
kangaroo.head.letter = letter;
kangaroo.head.putdown = putdown;
kangaroo.head.gotoAndPlay("sayletter");
}
function roo(m) {
kangaroo.gotoAndPlay(m);
}
function Response(letter, answer) {
if (kangaroo.talking == 0) {
sayletter = 0;
maxputdowns = 15;
maxpraises = 9;
if (!((answer == "wrong") && (!_root.mute))) {
if (!((answer == "right") && (!_root.mute))) {
if (_root.mute) {
saypause = 0;
if (answer != "right") {
kangaroo.gotoAndPlay("putdown8");
} else {
kangaroo.gotoAndPlay("praise9");
}
}
} else {
do {
praise = random(maxpraises) + 1;
} while (praise == lastpraise);
lastpraise = praise;
rooSound = new Sound();
rooSound.attachSound("praise" + praise);
kangaroo.gotoAndPlay("praise" + praise);
}
} else {
do {
putdown = random(maxputdowns) + 1;
} while (putdown == lastputdown);
lastputdown = putdown;
rooSound = new Sound();
rooSound.attachSound("putdown" + putdown);
if (random(3) != 2) {
saypause = 0;
kangaroo.gotoAndPlay("putdown" + putdown);
} else {
speakletter(letter, putdown);
}
}
}
}
kangaroo.noose.gotoAndStop("on");
Instance of Symbol 108 MovieClip "kangaroo" in Symbol 204 MovieClip Frame 1
onClipEvent (load) {
lastputdown = "0";
lastpraise = "0";
}
Instance of Symbol 205 MovieClip "pauser" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.kangaroo.pause && (!_parent.saypause)) {
_parent.kangaroo.stop();
p = _parent.kangaroo.pause;
_parent.kangaroo.pause--;
if (_parent.kangaroo.pause == 0) {
_parent.kangaroo.play();
}
}
}
Symbol 206 MovieClip Frame 1
stop();
status = 0;
Symbol 206 MovieClip Frame 2
category = _parent.category;
status = 1;
Symbol 206 MovieClip Frame 14
stop();
Symbol 218 MovieClip Frame 1
letter = _parent.letter_val;
Symbol 213 MovieClip Frame 1
stop();
status = 0;
Symbol 213 MovieClip Frame 8
pause = random(5);
Symbol 213 MovieClip Frame 9
if (pause >= 1) {
pause--;
} else {
gotoAndPlay (12);
}
Symbol 213 MovieClip Frame 10
gotoAndPlay (9);
Symbol 213 MovieClip Frame 20
stop();
status = 1;
_parent.completely_shown++;
cc = letter_val.charCodeAt(0);
if ((cc < 65) || (cc > 90)) {
_parent.phraseletters--;
play();
}
Symbol 213 MovieClip Frame 28
stop();
status = 2;
Symbol 213 MovieClip Frame 30
status = 0;
letter.gotoAndStop(letter_val);
Symbol 213 MovieClip Frame 35
gotoAndStop (1);
Symbol 223 MovieClip Frame 1
status = 0;
stop();
cat.setMask(catmask);
cat.phrasetype = phrasetype;
trace("phrasetype: " + phrasetype);
cat._visible = false;
Symbol 223 MovieClip Frame 2
cat.phrasetype = phrasetype;
Symbol 223 MovieClip Frame 15
cat._visible = true;
Symbol 223 MovieClip Frame 22
status = 1;
stop();
Symbol 223 MovieClip Frame 29
gotoAndStop (1);
Symbol 233 Button
on (release) {
if (_parent.buttonhot == 1) {
_parent.letterbutton(letter_val);
gotoAndStop (2);
}
}
Symbol 232 MovieClip Frame 1
stop();
status = 0;
Symbol 232 MovieClip Frame 2
status = 1;
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 17
stop();
Symbol 246 Button
on (press) {
gotoAndStop (1);
}
Symbol 244 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
fileAuthor = "";
fileTitle = "";
fileWebsite = "";
fileAuthor = _root.rooXML.firstChild.attributes.author.toUpperCase();
fileTitle = _root.rooXML.firstChild.attributes.title.toUpperCase();
fileWebsite = _root.rooXML.firstChild.attributes.website.toUpperCase();
if (((fileAuthor.length < 2) && (fileTitle.length < 2)) && (fileWebsite.length < 2)) {
gotoAndStop (1);
}
Symbol 251 MovieClip Frame 3
if (fileAuthor.length <= 1) {
author.fileAuthor = "by Unknown";
} else {
author.fileAuthor = "by " + fileAuthor;
}
if (fileTitle.length > 1) {
author.fileTitle = ("\"" + fileTitle) + "\"";
}
if (fileWebsite.length > 1) {
fileURL = fileWebsite;
if (fileURL.indexOf("http://") == -1) {
fileURL = "http://" + fileURL;
}
author.fileWebsite = ((("<P align=\"center\"><u><a href=\"" + fileURL) + "\">") + fileWebsite) + "</a></u></P>";
}
Symbol 251 MovieClip Frame 71
gotoAndStop (1);
Symbol 267 Button
on (release, keyPress "<Space>") {
gotoAndPlay (16);
}
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
if (_root.showmoreinfo != 0) {
if (_root.moreinfo.length <= 0) {
gotoAndStop (1);
} else {
moreinfo = _root.moreinfo;
}
} else {
gotoAndStop (1);
}
Symbol 259 MovieClip Frame 12
style1 = new TextFormat("_sans", 18, 16777215, true, false);
style2 = new TextFormat("_sans", 15, 16777215, true, false);
style3 = new TextFormat("_sans", 12, 16777215, true, false);
styleb1 = new TextFormat("_sans", 18, 26265, true, false);
styleb2 = new TextFormat("_sans", 15, 26265, true, false);
styleb3 = new TextFormat("_sans", 12, 26265, true, false);
trace("22");
if (t.textHeight > 114) {
t.setTextFormat(style1);
t2.setTextFormat(styleb1);
trace("18");
}
if (t.textHeight > 114) {
t.setTextFormat(style2);
t2.setTextFormat(styleb2);
trace("15");
}
if (t.textHeight > 114) {
t.setTextFormat(style3);
t2.setTextFormat(styleb3);
trace("12");
}
t._x = -19 - (t.textWidth / 2);
t._y = -25 - (t.textHeight / 2);
t2._x = t._x + 2;
t2._y = t._y + 2;
stop();
Symbol 259 MovieClip Frame 16
t.removeTextField();
Symbol 259 MovieClip Frame 23
gotoAndStop (1);
Symbol 268 Button
on (release) {
if (help._visible != true) {
help.gotoAndStop(1);
help._visible = true;
} else {
help._visible = false;
}
}
Symbol 280 Button
on (release) {
gotoAndStop (2);
}
Symbol 284 Button
on (release) {
_visible = false;
setProperty("", _visible, false);
}
Symbol 289 Button
on (release) {
gotoAndStop (1);
}
Instance of Symbol 297 MovieClip "progressbar" in Symbol 295 MovieClip Frame 1
onClipEvent (load) {
_xscale = 1;
setProperty("", _xscale, 1);
}
Instance of Symbol 297 MovieClip "progressbar" in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
_xscale = 1;
setProperty("", _xscale, 1);
}
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
_root.ssReadFile = "";
checkXML = new XML();
checkXML.onLoad = function () {
gotoAndPlay (6);
};
checkXML.ignoreWhite = true;
checkXML.load(_root.openFile);
bytesTotal = checkXML.getBytesTotal();
Symbol 294 MovieClip Frame 3
bytesLoaded = checkXML.getBytesLoaded();
bytesTotal = checkXML.getBytesTotal();
percent = int((bytesLoaded / bytesTotal) * 100) + 2;
loading.progressbar._xscale = percent;
Symbol 294 MovieClip Frame 4
gotoAndPlay (3);
Symbol 294 MovieClip Frame 6
var docInfo = new Array();
docInfo = _root.checkFile(checkXML);
trace((((docInfo.errors + ", ") + docInfo.sumPhrases) + ", ") + docInfo.numberOfCats);
if (docInfo.errors) {
gotoAndStop (1);
}
Symbol 294 MovieClip Frame 9
var j = 0;
var numberOfPhrases;
var catNum = 0;
var phraseNum = 0;
var errorCount = 0;
var total = 0;
numberOfPhrases = checkXML.firstChild.childNodes[catNum].childNodes.length;
var authorinfo = "";
var author = checkXML.firstChild.attributes.author;
var website = checkXML.firstChild.attributes.website;
var title = checkXML.firstChild.attributes.title;
if (author.length > 1) {
authorinfo = (" author=\"" + author) + "\"";
}
if (website.length > 1) {
authorinfo = authorinfo + ((" website=\"" + website) + "\"");
}
if (title.length > 1) {
authorinfo = authorinfo + ((" title=\"" + title) + "\"");
}
tempFile = _root.dirname + "temp.xml";
fs = ("<hangaroo_phrases" + authorinfo) + ">\n";
fs = fs + ((" <category name=\"" + checkXML.firstChild.childNodes[catNum].attributes.name) + "\">");
fscommand ("FILESYS.WRITEFILE", (tempFile + "\t") + fs);
fs = "";
Symbol 294 MovieClip Frame 10
while ((phraseNum < numberOfPhrases) && (j < 40)) {
j++;
thisNode = checkXML.firstChild.childNodes[catNum].childNodes[phraseNum];
phrase = thisNode.firstChild.nodeValue;
cp = 0;
cp = _root.checkPhrase(phrase);
if (cp) {
errorCount++;
checking.errorCount = errorCount;
thisNode.attributes.error = "true";
}
if (!cp) {
fs = fs + (newline + checkXML.firstChild.childNodes[catNum].childNodes[phraseNum].toString());
} else {
fs = fs + (("\n <!-- " + checkXML.firstChild.childNodes[catNum].childNodes[phraseNum].toString()) + " -->");
}
phraseNum++;
total++;
checking.progress = (total + " / ") + docInfo.sumPhrases;
percent = (total / docInfo.sumPhrases) * 100;
checking.progressbar._xscale = percent;
}
Symbol 294 MovieClip Frame 11
j = 0;
if (phraseNum >= numberOfPhrases) {
catNum++;
phraseNum = 0;
fs = fs + " </category>\n";
numberOfPhrases = checkXML.firstChild.childNodes[catNum].childNodes.length;
if (catNum >= docInfo.numberOfCats) {
fs = fs + "</hangaroo_phrases>\n";
} else {
gotoAndPlay (10);
fs = fs + ((" <category name=\"" + checkXML.firstChild.childNodes[catNum].attributes.name.toUpperCase()) + "\">");
}
fscommand ("FILESYS.APPENDFILE", ((tempFile + "\t") + newline) + fs);
fs = "";
} else {
gotoAndPlay (10);
}
Symbol 294 MovieClip Frame 12
if (!errorCount) {
_root.errorPopup.errorMsg = (("Excellent!\nThere were no errors found!\n Categories: " + docInfo.numberOfCats) + " Phrases: ") + docInfo.sumPhrases;
_root.errorPopup.errorTitle = "File Check Complete";
_root.errorPopup.gotoAndStop(2);
gotoAndStop (1);
fscommand ("FILESYS.DELETEFILE", tempFile);
}
Symbol 294 MovieClip Frame 13
_root.errorPopup.gotoAndStop(2);
_root.errorPopup.errorTitle = "File Check Complete";
_root.errorPopup.errorMsg = ("There were " + errorCount) + " phrases found that would not fit correctly into the puzzle layout.\n These phrases have been marked.";
if (errorCount) {
fscommand ("FILESYS.DELETEFILE", _root.openFile);
}
Symbol 294 MovieClip Frame 15
if (errorCount) {
fscommand ("FILESYS.COPYFILE", (tempFile + "\t") + _root.openFile);
}
Symbol 294 MovieClip Frame 21
if (errorCount) {
fscommand ("FILESYS.DELETEFILE", tempFile);
}
gotoAndStop (1);
Symbol 321 Button
on (press) {
_parent.revealAll();
}
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 67
stop();
_parent.startScroll();
Symbol 318 MovieClip Frame 81
stop();
Symbol 325 Button
on (release) {
enet_menu();
}
Symbol 330 Button
on (release) {
getURL ("http://www.netcent.com", "new");
}
Symbol 334 Button
on (release) {
enet_copyright();
}
Symbol 341 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 10
blinkCount++;
if (blinkCount > 19) {
gotoAndStop (25);
}
Symbol 339 MovieClip Frame 23
textframe++;
if (textframe > 4) {
textframe = 1;
}
text.gotoAndStop(textframe);
gotoAndPlay (1);
Symbol 339 MovieClip Frame 25
stop();
text.gotoAndStop("menu");
Symbol 346 Button
on (release) {
getURL (downloadlinkurl, "new");
}
Symbol 362 Button
on (release) {
getURL (_parent.mainURL + url, "new");
}
Symbol 359 MovieClip Frame 1
if (bg) {
var barcolor = new Color(bgcolor);
barcolor.setRGB(bg);
}
Symbol 373 Button
on (release) {
getURL ("http://www.ncbuy.com" + qualifier, "new");
}
Symbol 381 Button
on (release) {
_parent.enet_menu();
}
Symbol 386 Button
on (release) {
getURL ("http://www.ncbuy.com/servicecenter/contacts.html", "new");
}
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
mainURL = "http://www.ncbuy.com/redir.php?ref=han10&id=";
ncbuy1.label = "ASTROLOGY";
ncbuy1.url = 10100;
ncbuy2.label = "BUSINESS & FINANCE";
ncbuy2.url = 10101;
ncbuy3.label = "CONTESTS & SWEEPSTAKES";
ncbuy3.url = 10102;
ncbuy4.label = "CREDIT CARD OFFERS";
ncbuy4.url = 10103;
ncbuy5.label = "ENTERTAINMENT CENTER";
ncbuy5.url = 10104;
ncbuy6.label = "FLOWERS & ARRANGEMENTS";
ncbuy6.url = 10105;
ncbuy7.label = "FREE STUFF";
ncbuy7.url = 10106;
ncbuy8.label = "GAMEHOUSE - PLAY ONLINE";
ncbuy8.url = 10107;
ncbuy9.label = "HUMOR & JOKES";
ncbuy9.url = 10108;
ncbuy10.label = "MAGAZINE SUBSCRIPTIONS";
ncbuy10.url = 10109;
ncbuy11.label = "SHOPPING";
ncbuy11.url = 10110;
ncbuy12.label = "TRAVEL & VACATIONS";
ncbuy12.url = 10114;
ncbuy13.label = "TODAY IN HISTORY";
ncbuy13.url = 10111;
ncbuy14.label = "WEATHER CONDITIONS";
ncbuy14.url = 10112;
ncbuy15.label = "WEIRD & WORLD NEWS";
ncbuy15.url = 10113;
ncbuy16.label = "SEARCH THE NET";
ncbuy16.url = 10115;
ncbuy17.label = "DOWNLOAD MORE GAMES";
ncbuy17.url = 10116;
ncbuy18.label = "REGISTER - JOIN TODAY";
ncbuy18.url = 10117;
ncbuy19.label = "WEBMASTER AFFILIATE PRG";
ncbuy19.url = 10118;
ncbuy15.bg = 10092492 /* 0x99FFCC */;
ncbuy16.bg = 10092492 /* 0x99FFCC */;
ncbuy17.bg = 16763904 /* 0xFFCC00 */;
ncbuy18.bg = 16763904 /* 0xFFCC00 */;
ncbuy19.bg = 16763904 /* 0xFFCC00 */;
Symbol 393 Button
on (release) {
gotoAndStop (1);
_parent.enetstatus--;
}
Symbol 396 Button
on (press) {
if (_ymouse >= slider.top) {
if (_ymouse <= slider.btm) {
slider._y = _ymouse;
} else {
slider._y = slider.btm;
}
} else {
slider._y = slider.top;
}
}
Symbol 400 Button
on (press) {
startDrag (this, true, 0, top, 0, btm);
}
on (release) {
stopDrag();
}
Symbol 404 Button
on (press) {
movetext = -1;
}
on (release) {
movetext = 0;
}
Symbol 406 Button
on (press) {
movetext = 1;
}
on (release) {
movetext = 0;
}
Instance of Symbol 398 MovieClip "slider" in Symbol 394 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.movetext != 0) {
sliderpos = _y + ((dy / _parent._parent.text.maxscroll) * _parent.movetext);
if (sliderpos >= top) {
if (sliderpos > btm) {
sliderpos = btm;
}
} else {
sliderpos = top;
}
_y = sliderpos;
setProperty("", _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 391 MovieClip Frame 1
stop();
movetext = 0;
Symbol 317 MovieClip Frame 1
trace("enet_template");
enet_menu = function () {
if (menu._currentframe != 2) {
if (menu._currentframe == 1) {
menu.gotoAndStop("on");
clickhere.gotoAndStop("stopmenu");
}
} else {
menu.gotoAndStop("off");
}
};
enet_copyright = function () {
if (scrollwindow._currentframe != 2) {
if (scrollwindow._currentframe == 1) {
scrollwindow.text = "NCBUY END USER APPLICATION LICENSE AGREEMENT\n\nACCEPTANCE: By installing or using this 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\nNCBuy ( http://www.ncbuy.com/ ) is a service of NetCent Communications. Copyright 2007, NetCent Communications, All Rights Reserved.\n";
scrollwindow.gotoAndStop("on");
}
} else {
scrollwindow.gotoAndStop("off");
}
};
Instance of Symbol 339 MovieClip "clickhere" in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
textframe = 1;
}
Symbol 317 MovieClip Frame 6
stop();
Symbol 409 Button
on (release) {
if (_parent.enet.scrollwindow._currentframe != 1) {
_parent.enet.scrollwindow.gotoAndStop("off");
_parent.enet.enetstatus--;
} else {
_parent.enet.scrollwindow.text = "CONTENT WARNING ADVISORY<BR><BR>You are currently playing HangARoo using an external data file with phrases and categories that are not part of the built-in content of the production software.<BR><BR>";
_parent.enet.scrollwindow.text = _parent.enet.scrollwindow.text + "External HangARoo phrase files allow people to create their own word lists, however, the quality or suitability of the material within these files may not be appropriate for all audiences.<BR><BR>";
_parent.enet.scrollwindow.text = _parent.enet.scrollwindow.text + "Please be advised that unless the phrase file was downloaded directly from the HangARoo page at the NCBuy.com Web site (http://www.ncbuy.com) the contents of the file you arere playing with has not been reviewed by the developer, and we cannot be responsible for the material in question.<BR><BR>";
_parent.enet.scrollwindow.text = _parent.enet.scrollwindow.text + "When the game first loads with an external phrase file in play, you may receive a credit notice stating who created the phrase file, along with a URL to their Web Site. The references you are provided with in the credit notice appear as written by the phrase file author and may or may not be legitimate.<BR><BR>";
_parent.enet.scrollwindow.text = _parent.enet.scrollwindow.text + "IF YOU QUESTION THE VALIDITY OF THE PHRASE FILE, OR IF YOU WOULD LIKE TO RESUME PLAYING WITH THE BUILT IN PHRASES, YOU MAY DO SO BY SELECTING THE \"USE DEFAULT PHRASES\" OPTION FROM THE HANGAROO MENU.<BR><BR>";
_parent.enet.scrollwindow.gotoAndStop("on");
_parent.enet.enetstatus++;
}
}
Symbol 424 Button
on (press) {
this.startDrag(1, 0, 0, 40, 0);
slider = true;
}
on (release) {
this.stopDrag();
_root.volume = _x * 2.5;
volsnd.setVolume(_root.volume);
if (!_root.mute) {
volsnd.start();
}
slider = false;
}
Instance of Symbol 419 MovieClip "blue" in Symbol 416 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.volumeslider.slider) {
_x = _parent.volumeslider._x;
setProperty("", _x, _parent.volumeslider._x);
}
}
Instance of Symbol 422 MovieClip "volumeslider" in Symbol 416 MovieClip Frame 1
onClipEvent (load) {
_root.volume = _x * 2.5;
volsnd = new Sound();
volsnd.attachSound("bzorp");
}
Symbol 428 Button
on (press) {
gotoAndStop (2);
}
Symbol 430 Button
on (press) {
gotoAndStop (1);
}
Symbol 426 MovieClip Frame 1
stop();
_root.mute = 0;
Symbol 426 MovieClip Frame 2
_root.mute = 1;
Symbol 435 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 444 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 445 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 446 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 447 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 448 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 449 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 450 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 452 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 495 MovieClip Frame 1
truckNum = random(3) + 1;
stop();
gotoAndStop(truckNum);
Symbol 453 MovieClip Frame 1
stop();
death = random(3) + 1;
Symbol 453 MovieClip Frame 59
gotoAndPlay("death" + death);
Symbol 453 MovieClip Frame 111
stop();
Symbol 453 MovieClip Frame 136
stop();
Symbol 453 MovieClip Frame 204
stop();
Symbol 511 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 512 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 513 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 514 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 515 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}
Symbol 516 Button
on (release) {
_root.playagain = true;
_root.gotoAndPlay("resetscreen");
}