Frame 1
var playList = 1;
var playListMax = 7;
var soundToLoad = new Sound();
soundToLoad.loadSound("rave.mp3", true);
soundToLoad.onSoundComplete = function () {
playList = playList + 1;
if (playList > playListMax) {
playList = 1;
}
if (playList == 1) {
soundToLoad.loadSound("rave.mp3", true);
}
if (playList == 2) {
soundToLoad.loadSound("rave2.mp3", true);
}
if (playList == 3) {
soundToLoad.loadSound("rave3.mp3", true);
}
if (playList == 4) {
soundToLoad.loadSound("rave4.mp3", true);
}
if (playList == 5) {
soundToLoad.loadSound("rave5.mp3", true);
}
if (playList == 6) {
soundToLoad.loadSound("rave6.mp3", true);
}
if (playList == 7) {
soundToLoad.loadSound("rave7.mp3", true);
}
};
stop();
Instance of Symbol 28 MovieClip in Frame 1
on (rollOver) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.songSelect._x = 350;
} else {
this.gotoAndStop(1);
_root.songSelect._x = 9001;
}
}
Instance of Symbol 31 MovieClip "mute" in Frame 1
on (press) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.soundToLoad.setVolume(0);
} else {
this.gotoAndStop(1);
_root.soundToLoad.setVolume(100);
}
}
Instance of Symbol 34 MovieClip in Frame 1
on (press) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.rave.gotoAndPlay(11);
} else {
this.gotoAndStop(1);
_root.rave.gotoAndPlay(1);
}
}
Symbol 8 MovieClip Frame 10
gotoAndPlay (1);
Symbol 8 MovieClip Frame 16
gotoAndPlay (11);
Symbol 13 Button
on (press) {
stopAllSounds();
_root.playList = 1;
_root.soundToLoad.loadSound("rave.mp3", true);
}
Symbol 15 Button
on (press) {
stopAllSounds();
_root.playList = 2;
_root.soundToLoad.loadSound("rave2.mp3", true);
}
Symbol 17 Button
on (press) {
stopAllSounds();
_root.playList = 3;
_root.soundToLoad.loadSound("rave3.mp3", true);
}
Symbol 19 Button
on (press) {
stopAllSounds();
_root.playList = 4;
_root.soundToLoad.loadSound("rave4.mp3", true);
}
Symbol 21 Button
on (press) {
stopAllSounds();
_root.playList = 5;
_root.soundToLoad.loadSound("rave5.mp3", true);
}
Symbol 23 Button
on (press) {
stopAllSounds();
_root.playList = 6;
_root.soundToLoad.loadSound("rave6.mp3", true);
}
Symbol 25 Button
on (press) {
stopAllSounds();
_root.playList = 7;
_root.soundToLoad.loadSound("rave7.mp3", true);
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();