home *** CD-ROM | disk | FTP | other *** search
- stop();
- callBack = function(res)
- {
- if(res.success)
- {
- gotoAndStop(2);
- var _loc2_ = 0;
- while(_loc2_ < 10)
- {
- var _loc3_ = _loc2_ + 1;
- if(res.list[_loc2_])
- {
- this["kName" + _loc3_] = "#" + _loc3_ + " " + res.list[_loc2_].username + ":";
- this["kScore" + _loc3_] = res.list[_loc2_].score;
- }
- else
- {
- this["kName" + _loc3_] = "";
- this["kScore" + _loc3_] = "";
- }
- _loc2_ = _loc2_ + 1;
- }
- }
- };
- if(_root.difficulty == "normal")
- {
- _root.kongregateScores.setMode("Normal");
- head = "Top 10 - Normal";
- }
- else if(_root.difficulty == "hard")
- {
- _root.kongregateScores.setMode("Hard");
- head = "Top 10 - Hard";
- }
- else if(_root.difficulty == "endurance")
- {
- _root.kongregateScores.setMode("Endurance");
- head = "Top 10 - Endurance";
- }
- else if(_root.difficulty == "mouse")
- {
- _root.kongregateScores.setMode("Mouse");
- head = "Top 10 - Mouse";
- }
- _root.kongregateScores.requestList(callBack,this);
-