Here's how the names are chosen:
private static const greekLetters:Array = ["Alpha","Beta","Gamma","Delta","Epsilon","Zeta",
"Eta","Theta","Iota","Kappa","Lambda","Mu",
"Nu", "Xi", "Omicron","Pi","Rho","Sigma",
"Tau","Upsilon","Phi","Chi","Psi","Omega"];
private static const words:Array = ["a", "and", "away", "big", "blue", "can", "come", "down", "find", "for",
"funny", "go", "help", "here", "in", "is", "it", "jump", "little", "look",
"make", "not", "one", "play", "red", "run", "said", "see", "the", "three",
"to", "two", "up", "we", "where", "yellow","after", "again", "as", "ask",
"by", "fly", "from", "how", "just", "know", "let", "may", "of", "once",
"put", "round", "some", "then", "think", "walk", "were", "when", "apple", "bear",
"bell", "birthday", "boat", "box", "bread", "cake", "car", "chair", "coat", "day",
"door", "farm", "floor", "flower", "game", "garden", "grass", "ground", "hill", "letter",
"morning", "nest", "night", "paper", "party", "rain", "ring", "shoe", "snow", "song",
"street", "sun", "table", "time", "top", "toy", "tree", "water", "way", "window"];
private function onRandom(event:MouseEvent):void {
var r:Number = Math.random();
if (r < 0.05) {
codeTextField.text = greekLetters[int(Math.random()*greekLetters.length)] + " " +
greekLetters[int(Math.random()*greekLetters.length)] + " " +
greekLetters[int(Math.random()*greekLetters.length)];
} else if (r < 0.1) {
codeTextField.text = String(int(Math.random()*10000));
} else {
codeTextField.text = words[int(Math.random()*words.length)] + " " +
words[int(Math.random()*words.length)] + " " +
words[int(Math.random()*words.length)];
}
generateMinimap();
}