Frame 1
ifFrameLoaded (51) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 10
function fadeIn(speed) {
vol = 0;
this.onEnterFrame = function () {
vol = vol + speed;
if (vol == 100) {
delete this.onEnterFrame;
} else {
sndObj.setVolume(vol);
}
};
}
function fadeOut(speed) {
vol = 100;
this.onEnterFrame = function () {
vol = vol - speed;
if (vol == 0) {
sndObj.setVolume(vol);
delete this.onEnterFrame;
} else {
sndObj.setVolume(vol);
}
};
}
function rndNum(min, max) {
return(Math.ceil(Math.random() * ((max - min) + 1)) + (min - 1));
}
sndObj = new Sound();
sndObj.attachSound("merzsound");
sndObj.setVolume(0);
Frame 58
stop();
sndObj.start(0, 1);
fadeIn(4);
merzpic.play();
fadeout1 = setInterval(function () {
merzpic.play();
fadeOut(4);
clearInterval(fadeout1);
}, 28000);
randNum2 = (rndNum(5, 10) * 1000) + 30000;
fadein2 = setInterval(function () {
merzpic.play();
sndObj.start(30, 1);
fadeIn(4);
clearInterval(fadein2);
}, randNum2);
fadeout2 = setInterval(function () {
merzpic.play();
fadeOut(4);
clearInterval(fadeout2);
}, randNum2 + 18000);
randNum3 = ((rndNum(3, 7) * 1000) + randNum2) + 20000;
fadein3 = setInterval(function () {
merzpic.play();
sndObj.start(50, 1);
fadeIn(4);
clearInterval(fadein3);
}, randNum3);
fadeout3 = setInterval(function () {
merzpic.play();
fadeOut(4);
clearInterval(fadeout3);
}, randNum3 + 38000);
backToStart = setInterval(function () {
gotoAndPlay (10);
clearInterval(backToStart);
}, randNum3 + 40000);
Symbol 5 MovieClip Frame 1
stop();
stopAllSounds();
Symbol 10 MovieClip Frame 25
stop();
Symbol 10 MovieClip Frame 49
stop();