Combined Code
frame 1 {
stop();
stopAllSounds();
}
movieClip 3 {
}
movieClip 6 {
frame 3 {
stop();
}
}
button 9 {
on (release) {
gotoAndPlay(2);
}
}
frame 2 {
stop();
}
button 14 {
on (release) {
gotoAndPlay(3);
}
}
button 17 {
on (release) {
gotoAndPlay(5);
}
}
frame 3 {
function executeCallback() {
gotoAndPlay('Scene 4');
if (count >= maxCount) {
clearInterval(intervalId);
}
++count;
}
function beginInterval() {
if (intervalId != null) {
trace('clearInterval');
clearInterval(intervalId);
}
intervalId = setInterval(this, 'executeCallback', duration);
}
stop();
stopAllSounds();
var intervalId;
var count = 0;
var maxCount = 0;
var duration = 2000;
beginInterval();
beginInterval();
beginInterval();
}
movieClip 94 {
}
frame 4 {
stop();
}
button 99 {
on (release) {
gotoAndPlay(1);
}
}
frame 5 {
stop();
stopAllSounds();
}
movieClip 105 {
frame 17 {
stop();
}
}
button 107 {
on (release) {
gotoAndPlay(1);
}
}