Frame 1
function f_LoadVC() {
LocalData_A = SharedObject.getLocal("SuimaData", "/");
if (LocalData_A.data.voiceVL != undefind) {
_global.voiceVL = LocalData_A.data.voiceVL;
} else {
_global.voiceVL = 50;
}
}
function f_SaveVC() {
LocalData_A = SharedObject.getLocal("SuimaData", "/");
LocalData_A.data.voiceVL = _global.voiceVL;
LocalData_A.flush();
}
function f_BlackMat() {
if (_root.BlackMatCH == "OFF") {
if (_root.BlackMat._alpha >= 0) {
_root.BlackMat._alpha = _root.BlackMat._alpha - 10;
} else if (_root.kuromaku1._alpha <= 0) {
_root.kuromaku1._alpha = _root.kuromaku1._alpha;
}
} else if (_root.BlackMatCH == "ON") {
if (_root.BlackMat._alpha <= 100) {
_root.BlackMat._alpha = _root.BlackMat._alpha + 10;
} else if (_root.BlackMat._alpha >= 100) {
_root.BlackMat._alpha = _root.BlackMat._alpha;
_global.CHMeganePS = "ON";
loadMovieNum (("/data/" + _root.GoSelect) + ".swf", 0);
}
}
}
function F_PanelViwe() {
if (_global.CH_SWindow == "OFF") {
if (((_root._ymouse >= 430) and (_root._xmouse <= 510)) and (_root._xmouse >= 122)) {
_root.CP_Mask.gotoAndStop("ON");
} else {
_root.CP_Mask.gotoAndStop("OFF");
}
} else if (_global.CH_SWindow == "ON") {
if (((_root._ymouse >= 430) and (_root._xmouse <= 510)) and (_root._xmouse >= 122)) {
_root.CP_Mask.gotoAndStop("ON");
} else if ((((_root._ymouse <= 430) and (_root._ymouse >= 390)) and (_root._xmouse <= 210)) and (_root._xmouse >= 160)) {
_root.CP_Mask.gotoAndStop("ON");
} else {
_root.CP_Mask.gotoAndStop("OFF");
_root.SWindow.gotoAndStop("CL");
_root.CPaneru.SIc.gotoAndStop("OFF");
_global.CH_SWindow = "OFF";
}
}
}
function f_BT_\uFF25\uFF58\uFF49\uFF54() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("WindowOP");
volume = 20;
objsound_Se.setVolume(volume);
objsound_Se.start();
_root.CH_Exit = "ON";
_root.Mwindow.gotoAndStop("OP");
}
}
function f_BT_MwindowYES() {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("WindowCL");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
fscommand ("quit");
}
function f_BT_MwindowNO() {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("WindowCL");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_root.CH_Exit = "OFF";
_root.Mwindow.gotoAndStop("CL");
}
function f_BT_S\uFF37\uFF49\uFF4E\uFF44\uFF4F\uFF57\uFF2F\uFF30() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("SoundWindow");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_root.SWindow.gotoAndStop("OP");
_root.CPaneru.SIc.gotoAndStop("ON");
_global.CH_SWindow = "ON";
}
}
function f_BT_S\uFF37\uFF49\uFF4E\uFF44\uFF4F\uFF57\uFF23\uFF2C() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("SoundWindow");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_root.SWindow.gotoAndStop("CL");
_root.CPaneru.SIc.gotoAndStop("OFF");
_global.CH_SWindow = "OFF";
}
}
function f_BT_SoundUP() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("SoundUP");
volume = 20;
objsound_Se.setVolume(volume);
objsound_Se.start();
if (_global.voiceVL < 100) {
_global.voiceVL = _global.voiceVL + 10;
objsound_ALL.setVolume(volume);
objsound_ALL.setVolume(_global.voiceVL);
var _local3 = new Sound(_root.msCH);
_local3.setVolume(_global.voiceVL);
} else {
_global.voiceVL = _global.voiceVL;
}
_root.SWindow.VolumeTXT = _global.voiceVL;
}
}
function f_BT_SoundDW() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("SoundUP");
volume = 20;
objsound_Se.setVolume(volume);
objsound_Se.start();
if (_global.voiceVL > 0) {
_global.voiceVL = _global.voiceVL - 10;
objsound_ALL.setVolume(volume);
objsound_ALL.setVolume(_global.voiceVL);
var _local3 = new Sound(_root.msCH);
_local3.setVolume(_global.voiceVL);
} else {
_global.voiceVL = _global.voiceVL;
}
_root.SWindow.VolumeTXT = _global.voiceVL;
}
}
function f_BT_Select() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("Select");
volume = 100;
objsound_Se.setVolume(volume);
objsound_Se.start();
objsound_Se.onSoundComplete = function (f_SoundEndCH) {
_root.BlackMatCH = "ON";
};
}
}
function f_BT_SceneBack() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("SceneNext");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
objsound_Se.onSoundComplete = function (f_SoundEndCH) {
loadMovieNum (("/data/" + _root.GoBack) + ".swf", 0);
};
}
}
function f_BT_SceneNext() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("SceneNext");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
objsound_Se.onSoundComplete = function (f_SoundEndCH) {
loadMovieNum (("/data/" + _root.GoNext) + ".swf", 0);
};
}
}
function f_BT_MoveBack() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("MoveNext");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
if (_root.movNo == "ag1") {
_root.gotoAndPlay("MOV6");
} else if (_root.movNo == "ag6") {
_root.gotoAndPlay("MOV5");
} else if (_root.movNo == "ag5") {
_root.gotoAndPlay("MOV4");
} else if (_root.movNo == "ag4") {
_root.gotoAndPlay("MOV3");
} else if (_root.movNo == "ag3") {
_root.gotoAndPlay("MOV2");
} else if (_root.movNo == "ag2") {
_root.gotoAndPlay("MOV1");
}
}
}
function f_BT_MoveNext() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("MoveNext");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
if (_root.movNo == "ag1") {
_root.gotoAndPlay("MOV2");
} else if (_root.movNo == "ag2") {
_root.gotoAndPlay("MOV3");
} else if (_root.movNo == "ag3") {
_root.gotoAndPlay("MOV4");
} else if (_root.movNo == "ag4") {
_root.gotoAndPlay("MOV5");
} else if (_root.movNo == "ag5") {
_root.gotoAndPlay("MOV6");
} else if (_root.movNo == "ag6") {
_root.gotoAndPlay("MOV1");
}
}
}
function f_BT_LoopON() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("LoopLock");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_global.CH_Loop = "ON";
_root.CPaneru.LWindow.gotoAndStop("ON");
}
}
function f_BT_LoopOFF() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("LoopLock");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_global.CH_Loop = "OFF";
_root.CPaneru.LWindow.gotoAndStop("OFF");
}
}
function f_BT_CinemaON() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("Cenema");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_global.CH_Cinema = "ON";
_root.CPaneru.CWindow.gotoAndStop("ON");
}
}
function f_BT_CinemaOFF() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("Cenema");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
_global.CH_Cinema = "OFF";
_root.CPaneru.CWindow.gotoAndStop("OFF");
}
}
function f_BT_WindowOP() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("FullSC");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
fscommand ("allowscale", "true");
_global.CH_Full = "ON";
_root.CPaneru.FWindow.gotoAndStop("ON");
}
}
function f_BT_WindowCL() {
if (_root.CH_Exit == "OFF") {
objsound_Se = new Sound(_root.MC1);
objsound_Se.attachSound("FullSC");
volume = 30;
objsound_Se.setVolume(volume);
objsound_Se.start();
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
_global.CH_Full = "OFF";
_root.CPaneru.FWindow.gotoAndStop("OFF");
}
}
_global.SceneName = "H3_Fin1_1";
_root.GoNext = "H3_Fin1_2";
_root.GoBack = "H3_C";
_root.GoSelect = "sys_b2";
_global.CHMeganePS1 = "ON";
_root.f_LoadVC();
_root.CH_Exit = "OFF";
_root.BlackMat._alpha = 100;
_root.BlackMatCH = "OFF";
_root.SWindow.VolumeTXT = _global.voiceVL;
_root.createEmptyMovieClip("MC1", 1);
_root.createEmptyMovieClip("MC2", 2);
_root.CH_Vend = "ON";
_root.CH_Vend2 = "ON";
_root.CH_Vend3 = "ON";
_root.CH_SVLV = "0%";
if (_global.CH_Loop == "OFF") {
_root.CPaneru.LWindow.gotoAndStop("OFF");
} else if (_global.CH_Loop == "ON") {
_root.CPaneru.LWindow.gotoAndStop("ON");
}
if (_global.CH_Cinema == "OFF") {
_root.CPaneru.CWindow.gotoAndStop("OFF");
} else if (_global.CH_Cinema == "ON") {
_root.CPaneru.CWindow.gotoAndStop("ON");
}
if (_global.CH_Full == "OFF") {
_root.CPaneru.FWindow.gotoAndStop("OFF");
} else if (_global.CH_Full == "ON") {
_root.CPaneru.FWindow.gotoAndStop("ON");
}
Instance of Symbol 102 MovieClip "BlackMat" in Frame 1
onClipEvent (enterFrame) {
_root.f_BlackMat();
_root.F_PanelViwe();
}
Frame 2
_root.movNo = "ag1";
_root.msCH = nare_mc1;
var naration = new Sound(_root.msCH);
naration.setVolume(_global.voiceVL);
Frame 151
if (_root.CH_Exit == "OFF") {
loadMovieNum (("/data/" + _root.GoNext) + ".swf", 0);
} else {
_root.gotoAndPlay("MOV1");
}
Symbol 17 Button
on (release) {
_root.f_BT_SoundUP();
_root.f_SaveVC();
}
Symbol 22 Button
on (release) {
_root.f_BT_SoundDW();
_root.f_SaveVC();
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 2
stop();
Symbol 34 Button
on (release) {
_root.f_BT_SceneNext();
}
Symbol 39 Button
on (release) {
_root.f_BT_SceneBack();
}
Symbol 44 Button
on (release) {
_root.f_BT_Select();
}
Symbol 49 Button
on (release) {
_root.f_BT_\uFF25\uFF58\uFF49\uFF54();
}
Symbol 54 Button
on (release) {
_root.f_BT_WindowOP();
}
Symbol 59 Button
on (release) {
_root.f_BT_WindowCL();
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 65 Button
on (release) {
_root.f_BT_CinemaON();
}
Symbol 68 Button
on (release) {
_root.f_BT_CinemaOFF();
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 74 Button
on (release) {
_root.f_BT_S\uFF37\uFF49\uFF4E\uFF44\uFF4F\uFF57\uFF2F\uFF30();
}
Symbol 77 Button
on (release) {
_root.f_BT_S\uFF37\uFF49\uFF4E\uFF44\uFF4F\uFF57\uFF23\uFF2C();
}
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Symbol 86 MovieClip Frame 10
stop();
Symbol 93 Button
on (release) {
_root.f_BT_MwindowYES();
}
Symbol 98 Button
on (release) {
_root.f_BT_MwindowNO();
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();