home *** CD-ROM | disk | FTP | other *** search
- fscommand("fullscreen","true");
- fscommand("fullscreen","false");
- total = _root.getBytesTotal();
- loaded = _root.getBytesLoaded();
- sound4 = new Sound();
- sound4.attachSound("fond");
- t = getTimer() / 1000;
- score1 = 0;
- score2 = 0;
- score3 = 0;
- score4 = 0;
- score5 = 0;
- score6 = 0;
- score7 = 0;
- score8 = 0;
- score9 = 0;
- score10 = 0;
- score11 = 0;
- score12 = 0;
- score13 = 0;
- score14 = 0;
- score15 = 0;
- score16 = 0;
- score17 = 0;
- score18 = 0;
- score19 = 0;
- score20 = 0;
- name1 = "";
- name2 = "";
- name3 = "";
- name4 = "";
- name5 = "";
- name6 = "";
- name7 = "";
- name8 = "";
- name9 = "";
- name10 = "";
- name11 = "";
- name12 = "";
- name13 = "";
- name14 = "";
- name15 = "";
- name16 = "";
- name17 = "";
- name18 = "";
- name19 = "";
- name20 = "";
- loadVariablesNum("scores.txt",0);
- pourcent = 100 * loaded / total;
- pDisplay = Math.floor(pourcent) + "%";
- lDisplay = Math.floor(loaded / 1024) + " Ko / " + Math.floor(total / 1024) + " Ko";
- vDisplay = Math.floor(loaded / 1024 / t) + " Ko/s";
- if(pourcent == 100)
- {
- gotoAndStop(3);
- }
- else
- {
- barre.gotoAndStop(Math.floor(pourcent));
- }
-