Frame 1
objsound.stop("C");
objsound.stop("B");
objsound.stop("A");
_root.OK = 0;
VoiceSelect = "on";
VoiceCH = "on";
stop();
Instance of Symbol 7 MovieClip in Frame 1
onClipEvent (mouseDown) {
_root.gotoAndPlay("a");
}
Instance of Symbol 7 MovieClip in Frame 2
onClipEvent (mouseDown) {
_root.gotoAndPlay("s");
}
onClipEvent (enterFrame) {
if ((_root.VoiceSelect == "on") and (_root.voiceCH == "on")) {
if (Math.floor(Math.random() * 10) <= 2) {
this.koeCH = "A";
if (this.koeCH == "A") {
this.koeCH = "A2";
_root.VoiceSelect = "off";
objsound1 = new Sound();
objsound1.attachSound("A");
objsound1.start();
objsound1.onSoundComplete = function (f_SoundEndCH) {
_root.VoiceSelect = "on";
};
}
} else if ((Math.floor(Math.random() * 10) >= 4) and (Math.floor(Math.random() * 10) <= 6)) {
this.koeCH = "B";
if (this.koeCH == "B") {
this.koeCH = "B2";
_root.VoiceSelect = "off";
objsound2 = new Sound();
objsound2.attachSound("B");
objsound2.start();
objsound2.onSoundComplete = function (f_SoundEndCH) {
_root.VoiceSelect = "on";
};
}
} else if (Math.floor(Math.random() * 10) >= 7) {
this.koeCH = "C";
if (this.koeCH == "C") {
this.koeCH = "C2";
_root.VoiceSelect = "off";
objsound3 = new Sound();
objsound3.attachSound("C");
objsound3.start();
objsound3.onSoundComplete = function (f_SoundEndCH) {
_root.VoiceSelect = "on";
};
}
}
}
}
Frame 62
gotoAndPlay (2);