Combined Code
frame 1 {
Stage.showMenu = false;
_focusrect = false;
}
frame 1 {
function addScore() {
score += 1;
}
}
button 5 {
on (release) {
this.gotoAndPlay('pt1');
clickSound.start();
_root.addScore();
}
}
button 7 {
on (release) {
this.gotoAndPlay('pt2');
clickSound.start();
_root.addScore();
}
}
button 8 {
on (release) {
this.gotoAndPlay('pt3');
clickSound.start();
}
}
movieClip 11 {
frame 1 {
clickSound = new Sound();
clickSound.attachSound('kiru');
this.stop();
}
frame 6 {
this.stop();
}
frame 11 {
this.stop();
}
frame 15 {
_root.addScore();
this.stop();
}
}
frame 2 {
score = 0;
}
frame 5 {
if (score >= 3) {
_root.gotoAndPlay('stage2');
} else {
_root.gotoAndPlay(5);
}
}
frame 6 {
this.gotoAndPlay(_currentframe - 1);
}
button 13 {
on (release) {
this.play();
clickSound.start();
_root.addScore();
}
}
movieClip 14 {
frame 1 {
clickSound = new Sound();
clickSound.attachSound('kiru');
this.stop();
}
}
frame 11 {
if (score >= 13) {
_root.gotoAndPlay('stage3');
} else {
_root.gotoAndPlay(11);
}
}
frame 12 {
this.gotoAndPlay(_currentframe - 1);
}
frame 42 {
this.stop();
getURL('http://www.lomando.com/main.html', '_self');
}