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

  1. on mouseEnter
  2.   if the visible of window "help" then
  3.     tell window "help"
  4.       go("pref8")
  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 mouseUp
  18.   global numTrackList
  19.   if not (the visible of window "help") then
  20.     set nS to the name of member the memberNum of sprite the clickOn
  21.     if (char 1 of nS <> "H") and (char 1 of nS <> "d") then
  22.       set val to integer(char 1 of nS)
  23.       set pos to integer(char 2 of nS)
  24.       set spento to getAt(numTrackList, pos) & pos
  25.       set the memberNum of sprite (15 + (5 * (pos - 1)) + getAt(numTrackList, pos)) to the number of member spento
  26.       set hNs to "H" & nS
  27.       set the memberNum of sprite the clickOn to the number of member hNs
  28.       setAt(numTrackList, pos, val)
  29.     end if
  30.   end if
  31. end
  32.