Professional Documents
Culture Documents
CLICK, hal_informasi); menu.bt_kompetensi.addEventListener(MouseEvent.CLICK, hal_kompetensi); menu.bt_materi.addEventListener(MouseEvent.CLICK, hal_materi); menu.bt_petunjuk.addEventListener(MouseEvent.CLICK, hal_petunjuk); menu.bt_keluar.addEventListener(MouseEvent.CLICK, hal_keluar); menu.bt_latihan.addEventListener(MouseEvent.CLICK, hal_latihan); function turun_menu(event:MouseEvent):void { menu.gotoAndPlay(6); bt_down.visible=false; bt_up.visible=true; } function naik_menu(event:MouseEvent):void { menu.gotoAndPlay(1); bt_down.visible=true; bt_up.visible=false; } function hal_kompetensi(event:MouseEvent):void { gotoAndStop(1, "kompetensi"); menu.gotoAndPlay(6); } function hal_informasi(event:MouseEvent):void { gotoAndStop(1, "informasi"); menu.gotoAndPlay(6); } function hal_materi(event:MouseEvent):void { gotoAndStop(1, "materi"); menu.gotoAndPlay(6); } function hal_latihan(event:MouseEvent):void { gotoAndStop(1, "latihan"); menu.gotoAndPlay(6); } function hal_keluar(event:MouseEvent):void { gotoAndStop(1, "keluar"); menu.gotoAndPlay(6); } function hal_petunjuk(event:MouseEvent):void { gotoAndStop(1, "petunjuk"); menu.gotoAndPlay(6); } function hal_utama(event:MouseEvent):void { gotoAndStop(1, "utama");
menu.gotoAndPlay(6); } function lanjut_frame(event:MouseEvent):void { nextFrame(); } function kembali_frame(event:MouseEvent):void { prevFrame(); } function lanjut_scene(event:MouseEvent):void { nextScene(); } function kembali_scene(event:MouseEvent):void { prevScene(); } function keluar_aplikasi(event:MouseEvent):void { NativeApplication.nativeApplication.exit(0); }