home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactive 30 / CMi30.iso / pc / readerint / 00062_ffwd.ls < prev    next >
Encoding:
Text File  |  2001-01-04  |  843 b   |  40 lines

  1. on mouseDown
  2.   global whatTrack, pauseMarker
  3.   pauseMarker = 0
  4.   if whatTrack = 1 then
  5.     set the movieRate of sprite 30 to 2
  6.   else
  7.     if whatTrack = 2 then
  8.       set the movieRate of sprite 31 to 2
  9.     else
  10.       if whatTrack = 3 then
  11.         set the movieRate of sprite 32 to 2
  12.       else
  13.         if whatTrack = 4 then
  14.           set the movieRate of sprite 33 to 2
  15.         end if
  16.       end if
  17.     end if
  18.   end if
  19. end
  20.  
  21. on mouseUp
  22.   global whatTrack, pauseMarker
  23.   pauseMarker = 0
  24.   if whatTrack = 1 then
  25.     set the movieRate of sprite 30 to 1
  26.   else
  27.     if whatTrack = 2 then
  28.       set the movieRate of sprite 31 to 1
  29.     else
  30.       if whatTrack = 3 then
  31.         set the movieRate of sprite 32 to 1
  32.       else
  33.         if whatTrack = 4 then
  34.           set the movieRate of sprite 33 to 1
  35.         end if
  36.       end if
  37.     end if
  38.   end if
  39. end
  40.