Frame 1
function say(s) {
output.text = s;
}
stop();
var genders = new Array();
genders[0] = "man";
genders[1] = "woman";
var hairs = new Array();
hairs[0] = "black";
hairs[1] = "brown";
hairs[2] = "blond";
hairs[3] = "red";
var figures = new Array();
figures[0] = "slim";
figures[1] = "fit";
figures[2] = "fat";
var personals = new Array();
personals[0] = "angry";
personals[1] = "happy";
personals[2] = "sad";
var hij = new Array();
hij[0] = "He";
hij[1] = "She";
var zijn = new Array();
zijn[0] = "his";
zijn[1] = "her";
i = 0;
char = _root.createEmptyMovieClip("c" + i, 10 + i);
char.id = i;
char.naam = "test";
char.gender = random(2);
char.hair = random(hairs.length);
char.figure = random(figures.length);
char.personal = random(personals.length);
char.look = function () {
say(((((((((((((("You see a " + genders[this.gender]) + ". \n") + hij[this.gender]) + " has a ") + figures[this.figure]) + " body and ") + zijn[this.gender]) + " hair is ") + hairs[this.hair]) + ".\n") + hij[this.gender]) + " looks ") + personals[this.personal]) + ".");
};
char.look();
_root.onEnterFrame = function () {
if (Key.isDown(32)) {
this.play();
}
};