// Init
this.mc_messages._visible = false;
benclicked = false;
weilerclicked = false;
filewalkerclicked = false;
richieclicked = false;
bjoernclicked = false;
clicked = 1;
stop();
// Ben
this.mc_ben.onPress = function() {
if (benclicked == false) {
this.gotoAndPlay(2);
benclicked = true;
mc_messages._x = 200;
mc_messages._y = 40;
mc_messages.txt_message.text = "[just "+(5-clicked)+" more hits to access the secret area]";
}
};
this.mc_ben.onRollOver = function() {
if (benclicked == false) {
mc_messages._visible = true;
mc_messages._x = _xmouse;
mc_messages._y = _ymouse;
mc_messages.txt_message.text = "[hit]";
}
};
this.mc_ben.onRollOut = function() {
mc_messages._visible = false;
};
// weiler
this.mc_weiler.onPress = function() {
if (weilerclicked == false) {
this.gotoAndPlay(2);
weilerclicked = true;
mc_messages._x = 200;
mc_messages._y = 40;
mc_messages.txt_message.text = "[just "+(5-clicked)+" more hits to access the secret area]";
}
};
this.mc_weiler.onRollOver = function() {
if (weilerclicked == false) {
mc_messages._visible = true;
mc_messages._x = _xmouse;
mc_messages._y = _ymouse;
mc_messages.txt_message.text = "[hit]";
}
};
this.mc_weiler.onRollOut = function() {
mc_messages._visible = false;
};
// filewalker
this.mc_filewalker.onPress = function() {
if (filewalkerclicked == false) {
this.gotoAndPlay(2);
filewalkerclicked = true;
mc_messages._x = 200;
mc_messages._y = 40;
mc_messages.txt_message.text = "[just "+(5-clicked)+" more hits to access the secret area]";
}
};
this.mc_filewalker.onRollOver = function() {
if (filewalkerclicked == false) {
mc_messages._visible = true;
mc_messages._x = _xmouse;
mc_messages._y = _ymouse;
mc_messages.txt_message.text = "[hit]";
}
};
this.mc_filewalker.onRollOut = function() {
mc_messages._visible = false;
};
// richie
this.mc_richie.onPress = function() {
if (richieclicked == false) {
this.gotoAndPlay(2);
richieclicked = true;
mc_messages._x = 200;
mc_messages._y = 40;
mc_messages.txt_message.text = "[just "+(5-clicked)+" more hits to access the secret area]";
}
};
this.mc_richie.onRollOver = function() {
if (richieclicked == false) {
mc_messages._visible = true;
mc_messages._x = _xmouse;
mc_messages._y = _ymouse;
mc_messages.txt_message.text = "[hit]";
}
};
this.mc_richie.onRollOut = function() {
mc_messages._visible = false;
};
// bjoern
this.mc_bjoern.onPress = function() {
if (bjoernclicked == false) {
this.gotoAndPlay(2);
bjoernclicked = true;
mc_messages._x = 200;
mc_messages._y = 40;
mc_messages.txt_message.text = "[just "+(5-clicked)+" more hits to access the secret area]";
}
};
this.mc_bjoern.onRollOver = function() {
if (bjoernclicked == false) {
mc_messages._visible = true;
mc_messages._x = _xmouse;
mc_messages._y = _ymouse;
mc_messages.txt_message.text = "[hit]";
}
};
this.mc_bjoern.onRollOut = function() {
mc_messages._visible = false;
};
this.onEnterFrame = function() {
if (clicked == 6) {
benclicked = false;
weilerclicked = false;
filewalkerclicked = false;
richieclicked = false;
bjoernclicked = false;
clicked = 0;
mc_ben.gotoAndStop(1);
mc_weiler.gotoAndStop(1);
mc_filewalker.gotoAndStop(1);
mc_richie.gotoAndStop(1);
mc_bjoern.gotoAndStop(1);
mc_messages.txt_message.text = "[just shoot the rodeo bull]";
}
};