home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactif 7 / cd.iso / pc / PC / Demos / GroovMak / data1.cab / Program_Executable_Files / Media / grooveM.dxr / 00644.ls < prev    next >
Encoding:
Text File  |  1999-09-17  |  1005 b   |  41 lines

  1. on mouseEnter
  2.   if the visible of window "Help" then
  3.     tell window "help"
  4.       go("stop")
  5.     end tell
  6.   end if
  7. end
  8.  
  9. on mouseLeave
  10.   if the visible of window "Help" then
  11.     tell window "help"
  12.       go("start")
  13.     end tell
  14.   end if
  15. end
  16.  
  17. on mouseDown
  18.   global dentro
  19.   if (IKGetCurrentBeat() <> -1) and not (the visible of window "help") then
  20.     set x to the mouseH
  21.     set y to the mouseV
  22.     if not (((x >= 292) and (x <= 349) and (y >= 182) and (y <= 202)) or ((x >= 293) and (x <= 349) and (y >= 249) and (y <= 269)) or ((x >= 280) and (x <= 362) and (y >= 220) and (y <= 228))) then
  23.       set dentro to 1
  24.       repeat while the mouseDown
  25.         set the memberNum of sprite 36 to the number of member "HredMix"
  26.         updateStage()
  27.       end repeat
  28.     else
  29.       set dentro to 0
  30.     end if
  31.   end if
  32. end
  33.  
  34. on mouseUp
  35.   global dentro
  36.   if dentro and (IKGetCurrentBeat() <> -1) and not (the visible of window "help") then
  37.     clickRedMix()
  38.   end if
  39.   set the editable of member "fieldBpm" to 0
  40. end
  41.