home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / ChipCD_1.03.iso / oddech / space / spacecraft.exe / scripts / frame_176 / DoAction.as < prev   
Text File  |  2002-10-22  |  354b  |  24 lines

  1. play();
  2. stopAllSounds();
  3. if(soundoff == "0")
  4. {
  5.    tellTarget("/music")
  6.    {
  7.       gotoAndStop("sound1");
  8.    }
  9. }
  10. num = "1";
  11. rank = "99";
  12. while(num < "10")
  13. {
  14.    if(eval("score" add num) < treffer)
  15.    {
  16.       rank = num;
  17.       trace(eval("score" add num));
  18.       trace(num);
  19.       trace(rank);
  20.       num = "99";
  21.    }
  22.    num += "1";
  23. }
  24.