home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- if the visible of window "Help" then
- tell window "help"
- go("synth2")
- end tell
- end if
- end
-
- on mouseLeave
- if the visible of window "Help" then
- tell window "help"
- go("start")
- end tell
- end if
- end
-
- on mouseDown
- global gOn, folderSynthList
- if gOn and not (the visible of window "help") then
- repeat while the mouseDown
- set y to the mouseV
- if y > 51 then
- set y to 51
- end if
- if y < 9 then
- set y to 9
- end if
- set the locV of sprite 45 to y
- updateStage()
- IKSynthVolume(integer(128 * (-y + 54) / 45))
- end repeat
- end if
- end
-
- on mouseUp
- global gOn, gPosVolSynth, gSynthSel, folderSynthList
- if gOn and (folderSynthList <> []) and not (the visible of window "help") then
- set gPosVolSynth to the locV of sprite 45
- if gSynthSel then
- set the locH of sprite 74 to -20
- set gSynthSel to 0
- end if
- end if
- end
-