home *** CD-ROM | disk | FTP | other *** search
/ Fuji Wa La Te I Ka - Hyakunin Isshu Karuta / KARUTA.bin / wins / karu_gin.dir / 00342_Script_342 < prev    next >
Text File  |  1995-11-13  |  1KB  |  41 lines

  1. on mouseDown
  2.   set the constraint of sprite 47 to 46
  3.   updateStage
  4. end
  5.  
  6. on mouseUp
  7.   global newH
  8.   set newH= the locH of sprite 47
  9.   if 18 <= newH and newH < 24 then
  10.     set the soundLevel = 0
  11.   else
  12.     if 24 <= newH and newH < 35 then
  13.       set the soundLevel = 1
  14.     else
  15.       if 35 <= newH and newH < 46 then
  16.         set the soundLevel = 2
  17.       else
  18.         if 46 <= newH and newH < 57 then
  19.           set the soundLevel = 3
  20.         else
  21.           if 57 <= newH and newH < 68 then
  22.             set the soundLevel = 4
  23.           else
  24.             if 68 <= newH and newH < 79 then
  25.               set the soundLevel = 5
  26.             else
  27.               if 79 <= newH and newH < 90 then
  28.                 set the soundLevel = 6
  29.               else
  30.                 if 90 <= newH and newH < 98 then
  31.                   set the soundLevel = 7
  32.                 end if
  33.               end if
  34.             end if
  35.           end if
  36.         end if
  37.       end if
  38.     end if
  39.   end if
  40. end
  41.