home *** CD-ROM | disk | FTP | other *** search
- on createGlobalVariable
- global gFirstSynth, gLastSynth, gLastSprite
- if the name of member the memberNum of sprite 68 <> "m" then
- set gFirstSynth to integer(the name of member the memberNum of sprite 68)
- set gLastSynth to integer(the name of member the memberNum of sprite 68)
- set gLastSprite to 68
- repeat with i = 69 to 73
- if the name of member the memberNum of sprite i = "m" then
- exit repeat
- end if
- set gLastSynth to integer(the name of member the memberNum of sprite i)
- set gLastSprite to i
- end repeat
- else
- set gFirstSynth to 0
- set gLastSynth to 0
- set gLastSprite to 67
- end if
- end
-
- on handlesprite
- global gPosVolSynth, gPosPanSynth
- set the locV of sprite 45 to gPosVolSynth
- set the locV of sprite 46 to gPosPanSynth
- updateStage()
- repeat with i = 4 to 39
- puppetSprite(i, 1)
- end repeat
- repeat with i = 45 to 58
- puppetSprite(i, 1)
- end repeat
- repeat with i = 68 to 73
- puppetSprite(i, 1)
- end repeat
- end
-
- on createList
- global posRectList
- set posRectList to []
- repeat with i = 68 to 73
- set temp to [the loc of sprite i, the rect of sprite i]
- append(posRectList, temp)
- end repeat
- end
-