home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- if the visible of window "Help" then
- tell window "help"
- go("grooveM6")
- 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 gTraccia, gOn, gSync, virTracklIst
- if (gTraccia <> 0) and gOn and not gSync and not (the visible of window "help") then
- if getAt(virTracklIst, gTraccia) <> -1 then
- repeat while the mouseDown
- set the memberNum of sprite 29 to the number of member "Hempty"
- updateStage()
- end repeat
- end if
- end if
- end
-
- on rightMouseDown
- global gOn, gSync, virTracklIst
- if gOn and (virTracklIst <> [-1, -1, -1, -1, -1, -1, -1, -1]) and not gSync and not (the visible of window "help") then
- repeat while the rightMouseDown
- set the memberNum of sprite 29 to the number of member "Hempty"
- updateStage()
- end repeat
- end if
- end
-
- on mouseUp
- global gTraccia, gNumField, gOn, gSync, gGreen, virTracklIst, stateTrackList, volValList, volPosList, panValList, panPosList, keepList, soloGroupList
- if (gTraccia <> 0) and gOn and not gSync and not (the visible of window "help") then
- if getAt(virTracklIst, gTraccia) <> -1 then
- IKPlay(gTraccia, -1)
- put "=" into word 1 of line getAt(virTracklIst, gTraccia) of field "fieldAudio"
- set the foreColor of line getAt(virTracklIst, gTraccia) of field "fieldAudio" to gGreen
- setAt(virTracklIst, gTraccia, -1)
- setAt(stateTrackList, gTraccia, "off")
- setAt(volValList, gTraccia, 28)
- setAt(volPosList, gTraccia, 239)
- setAt(panValList, gTraccia, 64)
- setAt(panPosList, gTraccia, 239)
- set controlT to "controlT" & gTraccia
- set the memberNum of sprite (40 + gTraccia) to the number of member controlT
- updateStage()
- put " " into field "fieldFullName"
- if getAt(keepList, gTraccia) then
- setAt(keepList, gTraccia, 0)
- end if
- if getAt(soloGroupList, gTraccia) then
- setAt(soloGroupList, gTraccia, 0)
- end if
- set the memberNum of sprite 29 to the number of member "empty"
- updateStage()
- end if
- end if
- set the editable of member "fieldBpm" to 0
- end
-
- on rightMouseUp
- global virTracklIst, gOn, gSolo, gSync
- if (virTracklIst <> [-1, -1, -1, -1, -1, -1, -1, -1]) and gOn and not gSync and not (the visible of window "help") then
- set the memberNum of sprite 29 to the number of member "empty"
- updateStage()
- openWin("YesNo")
- tell window "YesNo"
- go("delTrack")
- end tell
- end if
- set the editable of member "fieldBpm" to 0
- end
-