home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- if the visible of window "Help" then
- tell window "help"
- go("seq4")
- 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 markerList
- if (markerList <> []) and not (the visible of window "help") then
- repeat while the mouseDown
- set the memberNum of sprite 33 to the number of member "HemptySeq"
- updateStage()
- end repeat
- end if
- end
-
- on mouseUp
- global markerList, virTracklIst, stateTrackList, volValList, volPosList, panValList, panPosList, gPlaySeq, gPath, gOnSynth, gStartSeq
- if (markerList <> []) and not (the visible of window "help") then
- set the memberNum of sprite 33 to the number of member "emptySeq"
- updateStage()
- put EMPTY into field "fieldMarkerSeq"
- put EMPTY into field "fieldDuration"
- if word 1 of field "fieldState" = "SEQUENCE" then
- put EMPTY into field "fieldState"
- end if
- set markerList to []
- repeat with i = 2 to 9
- set the memberNum of sprite i to the number of member "marker"
- updateStage()
- end repeat
- if gOnSynth then
- IKSynthStop()
- set gOnSynth to 0
- if field "fieldSynth" <> EMPTY then
- IKSetSynth(gPath & "Synth\" & field "fieldSynth" & "\")
- end if
- end if
- if gPlaySeq then
- set gPlaySeq to 0
- IKStop()
- IKFunction()
- set virTracklIst to [-1, -1, -1, -1, -1, -1, -1, -1]
- set stateTrackList to ["off", "off", "off", "off", "off", "off", "off", "off"]
- set volValList to [28, 28, 28, 28, 28, 28, 28, 28]
- set panValList to [64, 64, 64, 64, 64, 64, 64, 64]
- set volPosList to [239, 239, 239, 239, 239, 239, 239, 239]
- set panPosList to [239, 239, 239, 239, 239, 239, 239, 239]
- end if
- end if
- set gStartSeq to 1
- set the editable of member "fieldBpm" to 0
- end
-