Combined Code
frame 1 {
stop();
}
button 6 {
on (release) {
if (_currentframe == 2) {
stopAllSounds();
gotoAndPlay(1);
} else {
stopAllSounds();
gotoAndPlay(2);
}
}
}
button 9 {
on (release) {
if (_currentframe == 3) {
stopAllSounds();
gotoAndPlay(1);
} else {
stopAllSounds();
gotoAndPlay(3);
}
}
}
button 12 {
on (release) {
if (_currentframe == 4) {
stopAllSounds();
gotoAndPlay(1);
} else {
stopAllSounds();
gotoAndPlay(4);
}
}
}
button 16 {
on (release) {
if (_currentframe == 23) {
stopAllSounds();
gotoAndPlay(1);
} else {
stopAllSounds();
gotoAndPlay(23);
}
}
}
button 19 {
on (release) {
stopAllSounds();
gotoAndPlay(19);
}
}
button 22 {
on (release) {
stopAllSounds();
gotoAndPlay(11);
}
}
button 25 {
on (release) {
stopAllSounds();
gotoAndPlay(15);
}
}
button 28 {
on (release) {
stopAllSounds();
gotoAndPlay(5);
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
button 42 {
on (release) {
if (_currentframe == 10) {
stopAllSounds();
gotoAndPlay(5);
} else {
stopAllSounds();
gotoAndPlay(10);
}
}
}
button 44 {
on (release) {
if (_currentframe == 8) {
stopAllSounds();
gotoAndPlay(5);
} else {
stopAllSounds();
gotoAndPlay(8);
}
}
}
button 46 {
on (release) {
if (_currentframe == 9) {
stopAllSounds();
gotoAndPlay(5);
} else {
stopAllSounds();
gotoAndPlay(9);
}
}
}
button 48 {
on (release) {
if (_currentframe == 6) {
stopAllSounds();
gotoAndPlay(5);
} else {
stopAllSounds();
gotoAndPlay(6);
}
}
}
button 51 {
on (release) {
if (_currentframe == 7) {
stopAllSounds();
gotoAndPlay(5);
} else {
stopAllSounds();
gotoAndPlay(7);
}
}
}
button 54 {
on (release) {
stopAllSounds();
gotoAndPlay(1);
}
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
button 68 {
on (release) {
if (_currentframe == 12) {
stopAllSounds();
gotoAndPlay(11);
} else {
stopAllSounds();
gotoAndPlay(12);
}
}
}
button 71 {
on (release) {
if (_currentframe == 13) {
stopAllSounds();
gotoAndPlay(11);
} else {
stopAllSounds();
gotoAndPlay(13);
}
}
}
button 74 {
on (release) {
if (_currentframe == 14) {
stopAllSounds();
gotoAndPlay(11);
} else {
stopAllSounds();
gotoAndPlay(14);
}
}
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
button 85 {
on (release) {
if (_currentframe == 16) {
stopAllSounds();
gotoAndPlay(15);
} else {
stopAllSounds();
gotoAndPlay(16);
}
}
}
button 88 {
on (release) {
if (_currentframe == 17) {
stopAllSounds();
gotoAndPlay(15);
} else {
stopAllSounds();
gotoAndPlay(17);
}
}
}
button 90 {
on (release) {
if (_currentframe == 18) {
stopAllSounds();
gotoAndPlay(15);
} else {
stopAllSounds();
gotoAndPlay(18);
}
}
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
button 100 {
on (release) {
if (_currentframe == 20) {
stopAllSounds();
gotoAndPlay(19);
} else {
stopAllSounds();
gotoAndPlay(20);
}
}
}
button 102 {
on (release) {
if (_currentframe == 21) {
stopAllSounds();
gotoAndPlay(19);
} else {
stopAllSounds();
gotoAndPlay(21);
}
}
}
button 105 {
on (release) {
if (_currentframe == 22) {
stopAllSounds();
gotoAndPlay(19);
} else {
stopAllSounds();
gotoAndPlay(22);
}
}
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
button 116 {
on (release) {
if (_currentframe == 24) {
stopAllSounds();
gotoAndPlay(1);
} else {
stopAllSounds();
gotoAndPlay(24);
}
}
}
frame 24 {
stop();
}