home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global scaleList, markerNoteList, synthList, markerSynthList
- set temp to ["C", "Cd", "D", "Dd", "E", "F", "Fd", "G", "Gd", "A", "Ad", "B"]
- repeat with i = 1 to 12
- set nota to getAt(temp, i)
- if getPos(scaleList, nota) then
- set the locH of sprite (46 + i) to getAt(markerNoteList, i)
- updateStage()
- end if
- end repeat
- if synthList <> [] then
- repeat with i = 1 to 3
- set start to (12 * (i - 1)) + 3
- repeat with j = 1 to 12
- set nota to the name of member the memberNum of sprite (start + j) & i
- if getPos(synthList, nota) then
- set Hnota to "y" & chars(nota, 1, length(nota) - 1)
- set the memberNum of sprite (start + j) to the number of member Hnota
- updateStage()
- end if
- end repeat
- end repeat
- end if
- if markerSynthList <> [] then
- repeat with i = 1 to min(count(markerSynthList), 6)
- set the memberNum of sprite (67 + i) to the number of member string(i)
- updateStage()
- end repeat
- end if
- createGlobalVariable()
- handlesprite()
- createList()
- end
-