home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactive 30 / CMi30.iso / pc / readerint / 00016.ls < prev    next >
Encoding:
Text File  |  2001-01-04  |  1.8 KB  |  79 lines

  1. on mainRoller
  2.   repeat with x = 22 to 27
  3.     set the visible of sprite x to 0
  4.   end repeat
  5.   repeat with x = 15 to 20
  6.     set the cursor of sprite x to 280
  7.   end repeat
  8.   set the visible of sprite 38 to 0
  9.   if rollOver(15) then
  10.     set the visible of sprite 22 to 1
  11.   else
  12.     if rollOver(16) then
  13.       set the visible of sprite 23 to 1
  14.     else
  15.       if rollOver(17) then
  16.         set the visible of sprite 24 to 1
  17.       else
  18.         if rollOver(18) then
  19.           set the visible of sprite 25 to 1
  20.         else
  21.           if rollOver(19) then
  22.             set the visible of sprite 26 to 1
  23.           else
  24.             if rollOver(20) then
  25.               set the visible of sprite 27 to 1
  26.             else
  27.               if rollOver(39) then
  28.                 set the visible of sprite 38 to 1
  29.               end if
  30.             end if
  31.           end if
  32.         end if
  33.       end if
  34.     end if
  35.   end if
  36. end
  37.  
  38. on demoRoller
  39.   repeat with x = 46 to 50
  40.     set the visible of sprite x to 0
  41.   end repeat
  42.   if rollOver(51) then
  43.     set the visible of sprite 46 to 1
  44.   else
  45.     if rollOver(52) then
  46.       set the visible of sprite 47 to 1
  47.     else
  48.       if rollOver(53) then
  49.         set the visible of sprite 48 to 1
  50.       else
  51.         if rollOver(54) then
  52.           set the visible of sprite 49 to 1
  53.         else
  54.           if rollOver(55) then
  55.             set the visible of sprite 50 to 1
  56.           else
  57.           end if
  58.         end if
  59.       end if
  60.     end if
  61.   end if
  62.   if the movieRate of sprite 30 > 0 then
  63.     set the visible of sprite 47 to 1
  64.   else
  65.     if the movieRate of sprite 31 > 0 then
  66.       set the visible of sprite 47 to 1
  67.     else
  68.       if the movieRate of sprite 32 > 0 then
  69.         set the visible of sprite 47 to 1
  70.       else
  71.         if the movieRate of sprite 33 > 0 then
  72.           set the visible of sprite 47 to 1
  73.         else
  74.         end if
  75.       end if
  76.     end if
  77.   end if
  78. end
  79.