home *** CD-ROM | disk | FTP | other *** search
- function FNlist()
- {
- LVlist = new LoadVars();
- LVlist.onLoad = function()
- {
- trace(this.content);
- content = this.content.split("|");
- this.total = content.length;
- var i = 0;
- while(i < this.total / 4)
- {
- _root.ranking["rank" + i].text = content[i * 4];
- _root.ranking["user_id" + i].text = content[i * 4 + 1];
- _root.ranking["score" + i].text = content[i * 4 + 2];
- _root.ranking["date" + i].text = content[i * 4 + 3];
- i++;
- }
- delete LVlist;
- };
- LVlist.load("http://" + _root.homepage + "/" + _root.site + "/get_rank." + _root.prog + "?flag=" + _root.flag + "&user_id=" + _root.user_id + "&game_id=" + _root.game_id + "&cash=" + Math.random() * 65000);
- }
- function soundOn()
- {
- SoundObj.setVolume(100);
- }
- function soundOff()
- {
- SoundObj.setVolume(0);
- }
- this.stop();
- SoundObj.stop();
- volume_controler.gotoAndStop(soundFrame);
- Stage.showMenu = false;
- fscommand("STT_start");
- SoundObj = new Sound(this);
- SoundObj.attachSound("bg_m");
- _root.homepage = "http://www.flashgame.co.kr";
- this.onEnterFrame = function()
- {
- if(this.vol == 1)
- {
- soundOn();
- this.vol = 2;
- }
- if(this.vol == 0)
- {
- soundOff();
- this.vol = 2;
- }
- };
-