home *** CD-ROM | disk | FTP | other *** search
- on handlesprite
- set the visible of sprite 12 to 0
- end
-
- on createGlobalVariable
- global gSong, gFirstNum, gLoadMix, gLoadSeq, gReturn, gOnSynth, gClick, gPlaySeq, gYesQuit
- set gYesQuit to 0
- set gSong to EMPTY
- set gFirstNum to 0
- set gLoadMix to EMPTY
- set gLoadSeq to EMPTY
- set gReturn to EMPTY
- set gOnSynth to 0
- set gClick to EMPTY
- set gPlaySeq to 0
- end
-
- on createList
- global virTracklIst, volPosList, volValList, panPosList, panValList, stateTrackList, markerList, vmixlist, synthList, loadSynthList, soloGroupList
- set virTracklIst to [-1, -1, -1, -1, -1, -1, -1, -1]
- set volPosList to [239, 239, 239, 239, 239, 239, 239, 239]
- set volValList to [28, 28, 28, 28, 28, 28, 28, 28]
- set panPosList to [239, 239, 239, 239, 239, 239, 239, 239]
- set panValList to [64, 64, 64, 64, 64, 64, 64, 64]
- set stateTrackList to ["off", "off", "off", "off", "off", "off", "off", "off"]
- set markerList to []
- set vmixlist to [EMPTY, EMPTY, EMPTY, EMPTY]
- set synthList to []
- set loadSynthList to []
- set soloGroupList to [0, 0, 0, 0, 0, 0, 0, 0]
- end
-
- on writeField
- global gPath
- put EMPTY into field "fieldElencoSongHD"
- set tList to DirectoryToList(gPath & "song:song22")
- if getPos(tList, "Icon" & numToChar(13)) then
- deleteAt(tList, getPos(tList, "Icon" & numToChar(13)))
- end if
- sort(tList)
- repeat with i = 1 to count(tList)
- set nome to getAt(tList, i)
- if (charToNum(char 1 of nome) >= 97) and (charToNum(char 1 of nome) <= 122) then
- set cartella to numToChar(charToNum(char 1 of nome) - 32)
- else
- set cartella to char 1 of nome
- end if
- repeat with j = 2 to length(nome) - 1
- if (charToNum(char j of nome) >= 65) and (charToNum(char j of nome) <= 90) then
- set cartella to cartella & numToChar(charToNum(char j of nome) + 32)
- next repeat
- end if
- set cartella to cartella & char j of nome
- end repeat
- put cartella & RETURN after field "fieldElencoSongHD"
- end repeat
- set the scrollTop of member "fieldElencoSongHD" to 0
- set the textFont of member "fieldElencoSongHD" to "GMfont"
- set the foreColor of member "fieldElencoSongHD" to 0
- set the textSize of member "fieldElencoSongHD" to 13
- put EMPTY into field "fieldBpm"
- put EMPTY into field "fieldMarkerSeq"
- put EMPTY into field "fieldState"
- put EMPTY into field "fieldDescription"
- put EMPTY into field "grooveMem"
- set the foreColor of member "fieldMasterVol" to 54
- set the textFont of member "fieldSynth" to "GMfont"
- set the foreColor of member "fieldSynth" to 14
- end
-