home *** CD-ROM | disk | FTP | other *** search
- score = 10000 - Math.floor(_parent.clear_time / 1000);
- CGIFile = "http://www.gamedesign.jp/cgi-bin/lines/hisc.cgi?" + Math.floor(Math.random() * 1000);
- myLoadVars = new LoadVars();
- myLoadVars.onLoad = function(success)
- {
- rank_in = false;
- i = 0;
- while(i < 10)
- {
- if(Number(myLoadVars["score" + i]) < score)
- {
- rank_in = true;
- }
- i++;
- }
- if(rank_in == true)
- {
- gotoAndStop("entry");
- }
- else
- {
- gotoAndStop("view");
- }
- };
- myLoadVars.load(CGIFile);
- stop();
-