Frame 1
var originalWord;
var numberOfLetters;
var letterFlags = new Array();
var selectedLetter;
var newWord;
var mistakes = 0;
var skipped = 0;
var i;
stopAllSounds();
Frame 2
stop();
Frame 3
originalWord = "Russia";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 7
originalWord = "Germany";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 12
originalWord = "Great Britain";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 17
originalWord = "Austria";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 22
originalWord = "Liechtenstein";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 27
originalWord = "Sweden";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 32
originalWord = "Luxembourg";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 37
originalWord = "Qatar";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 42
originalWord = "Ethiopia";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 47
originalWord = "Djibouti";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 52
originalWord = "Zimbabwe";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 57
originalWord = "Congo";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 62
originalWord = "Iran";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 67
originalWord = "Bangladesh";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 72
originalWord = "Kazakhstan";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 77
originalWord = "Uzbekistan";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 82
originalWord = "Singapore";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 87
originalWord = "Venezuela";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 92
originalWord = "Nicaragua";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 97
originalWord = "Lesotho";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 102
originalWord = "Sierra Leone";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 107
originalWord = "Finland";
numberOfLetters = originalWord.length;
newWord = "";
i = 0;
while (i < numberOfLetters) {
letterFlags[i] = false;
i++;
}
do {
selectedLetter = Math.floor(Math.random() * numberOfLetters);
if (letterFlags[selectedLetter] == false) {
newWord = newWord + originalWord.charAt(selectedletter);
letterFlags[selectedLetter] = true;
}
} while (numberOfLetters != newWord.length);
stop();
Frame 111
stop();
Symbol 9 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 14 Button
on (release) {
_root.play();
}
Symbol 15 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop (3);
}
Symbol 15 MovieClip Frame 2
gotoAndPlay (1);
Symbol 15 MovieClip Frame 3
_root.play();
Symbol 35 Button
on (press) {
play();
}
Symbol 45 Button
on (press) {
if (userGuess.toLowerCase() == originalWord.toLowerCase()) {
right.gotoAndPlay("start");
} else {
wrong.gotoAndPlay("start");
mistakes++;
}
}
Symbol 52 Button
on (release) {
skipped++;
play();
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 46
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 46
_root.play();
stop();