home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactive 30 / CMi30.iso / pc / readerint / 00061_rewind.ls < prev    next >
Encoding:
Text File  |  2001-01-04  |  921 b   |  42 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.     set the visible of sprite 47 to 0
  7.   else
  8.     if whatTrack = 2 then
  9.       set the movieRate of sprite 31 to -2
  10.     else
  11.       if whatTrack = 3 then
  12.         set the movieRate of sprite 32 to -2
  13.       else
  14.         if whatTrack = 4 then
  15.           set the movieRate of sprite 33 to -2
  16.         end if
  17.       end if
  18.     end if
  19.   end if
  20.   set the visible of sprite 47 to 0
  21. end
  22.  
  23. on mouseUp
  24.   global whatTrack, pauseMarker
  25.   pauseMarker = 0
  26.   if whatTrack = 1 then
  27.     set the movieRate of sprite 30 to 1
  28.   else
  29.     if whatTrack = 2 then
  30.       set the movieRate of sprite 31 to 1
  31.     else
  32.       if whatTrack = 3 then
  33.         set the movieRate of sprite 32 to 1
  34.       else
  35.         if whatTrack = 4 then
  36.           set the movieRate of sprite 33 to 1
  37.         end if
  38.       end if
  39.     end if
  40.   end if
  41. end
  42.