package top_visual_fla { import flash.display.MovieClip; import flash.display.SimpleButton; import flash.events.MouseEvent; import flash.net.URLRequest; import flash.net.navigateToURL; public dynamic class mainSubMenu_8 extends MovieClip { public var btn06_03:SimpleButton; public var btn06_04:SimpleButton; public var btn06_01:SimpleButton; public var btn03_04:SimpleButton; public var btn03_03:SimpleButton; public var btn06_06:SimpleButton; public var btn06_05:SimpleButton; public var btn01_01:SimpleButton; public var btn01_03:SimpleButton; public var btn01_02:SimpleButton; public var rootPath4SubMenu:MovieClip; public var btn04_02:SimpleButton; public var btn04_03:SimpleButton; public var btn02_02:SimpleButton; public var btn02_01:SimpleButton; public var btn02_05:SimpleButton; public var mouseYPos:Number; public var btn02_04:SimpleButton; public var btn05_01:SimpleButton; public var btn05_03:SimpleButton; public var btn02_03:SimpleButton; public var btn05_02:SimpleButton; public var btn04_01:SimpleButton; public var btn03_01:SimpleButton; public var btn03_05:SimpleButton; public var btn03_06:SimpleButton; public var btn03_02:SimpleButton; public var btn06_02:SimpleButton; public function mainSubMenu_8() { super(); addFrameScript(0,frame1,11,frame12,22,frame23); } function frame12() : * { this.stop(); rootPath4SubMenu = MovieClip(root); btn01_01.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "about/index.html")); btn01_02.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "about/story.html")); btn01_03.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "about/job.html")); btn02_01.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "guide/index.html")); btn02_02.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "guide/install.html")); btn02_03.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "guide/operation.html")); btn02_04.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "guide/screen.html")); btn03_01.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "system/index.html")); btn03_02.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "system/kingdomquest.html")); btn03_03.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "system/questpigeon.html")); btn03_04.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "system/nickname.html")); btn03_05.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "system/fame.html")); btn03_06.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "system/community.html")); btn04_02.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "community/movie.html")); btn05_01.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "itemmall/howtobuy.html")); btn05_02.addEventListener(MouseEvent.CLICK,btnAction("/shop/item_list?category=1")); btn06_05.addEventListener(MouseEvent.CLICK,btnAction("http://www.hking.jp/official/information/archives.html")); btn06_06.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "support/event.html")); btn06_01.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "support/index.html")); btn06_02.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "support/sitepolicy.html")); btn06_03.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "support/faq.html")); btn06_04.addEventListener(MouseEvent.CLICK,btnAction(rootPath4SubMenu.docRoot + "support/contact.html")); mouseYPos = Math.floor(MovieClip(parent).stage.mouseY); if(mouseYPos > 240) { MovieClip(parent).windowOpenFlag = false; this.gotoAndPlay(this.currentFrame + 1); } } function frame1() : * { this.stop(); } function frame23() : * { gotoAndStop("default"); } public function btnAction(param1:String) : * { var str:String = param1; return function(param1:MouseEvent):void { var _loc2_:* = undefined; _loc2_ = new URLRequest(str); navigateToURL(_loc2_,"_self"); }; } public function btnActionBlank(param1:String) : * { var str:String = param1; return function(param1:MouseEvent):void { var _loc2_:* = undefined; _loc2_ = new URLRequest(str); navigateToURL(_loc2_,"_blank"); }; } } }