home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactive 14 / CMi14.iso / pc / inform / 00018_button2.ls < prev    next >
Encoding:
Text File  |  1999-09-01  |  1.5 KB  |  48 lines

  1. on mouseUp
  2.   global whichSection
  3.   if whichSection = 11 then
  4.     set the visible of sprite 60 to 0
  5.     set the visible of sprite 61 to 1
  6.     set the visible of sprite 62 to 0
  7.     set the visible of sprite 63 to 0
  8.     set the visible of sprite 64 to 0
  9.     set the visible of sprite 65 to 0
  10.     set the visible of sprite 66 to 0
  11.     set the visible of sprite 67 to 0
  12.     set the visible of sprite 68 to 0
  13.   else
  14.     if whichSection = 12 then
  15.       set the visible of sprite 60 to 0
  16.       set the visible of sprite 61 to 1
  17.       set the visible of sprite 62 to 0
  18.       set the visible of sprite 63 to 0
  19.       set the visible of sprite 64 to 0
  20.       set the visible of sprite 65 to 0
  21.       set the visible of sprite 66 to 0
  22.       set the visible of sprite 67 to 0
  23.       set the visible of sprite 68 to 0
  24.     else
  25.       if whichSection = 21 then
  26.         set the visible of sprite 69 to 0
  27.         set the visible of sprite 70 to 1
  28.         set the visible of sprite 71 to 0
  29.         set the visible of sprite 72 to 0
  30.         set the visible of sprite 73 to 0
  31.         set the visible of sprite 74 to 0
  32.         set the visible of sprite 75 to 0
  33.       else
  34.         if whichSection = 22 then
  35.           set the visible of sprite 76 to 0
  36.           set the visible of sprite 77 to 1
  37.           set the visible of sprite 78 to 0
  38.           set the visible of sprite 79 to 0
  39.           set the visible of sprite 80 to 0
  40.           set the visible of sprite 81 to 0
  41.           set the visible of sprite 82 to 0
  42.         else
  43.         end if
  44.       end if
  45.     end if
  46.   end if
  47. end
  48.