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

  1. on mouseEnter
  2.   if the visible of window "Help" then
  3.     tell window "help"
  4.       go("synth3")
  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 gOn, folderSynthList
  19.   if gOn and (folderSynthList <> []) and not (the visible of window "help") then
  20.     repeat while the mouseDown
  21.       set the memberNum of sprite 63 to the number of member "Hload"
  22.       updateStage()
  23.     end repeat
  24.   end if
  25. end
  26.  
  27. on mouseUp
  28.   global gOn, gLoadSynth, folderSynthList
  29.   if gOn and (folderSynthList <> []) and not (the visible of window "help") then
  30.     set the memberNum of sprite 63 to the number of member "load"
  31.     updateStage()
  32.     set gLoadSynth to EMPTY
  33.     set myFile to new(xtra("fileio"))
  34.     setFilterMask(myFile, ".txt")
  35.     set gLoadSynth to displayOpen(myFile)
  36.     set myFile to 0
  37.   end if
  38. end
  39.