home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gTableSprite, gOrigin, gPlatform, gUpSnd, gDownSnd, gBeatSnd, gPressed
- set gPressed to 0
- if the machineType = 256 then
- set gPlatform to #PC
- else
- set gPlatform to #Mac
- end if
- set gUpSnd to "ola up"
- set gDownSnd to "ola down"
- set gBeatSnd to "ola beat"
- puppetSound(2, the number of member gBeatSnd)
- set gTableSprite to 1
- set originH to the left of sprite gTableSprite + ((the right of sprite gTableSprite - the left of sprite gTableSprite) / 2)
- set originV to the top of sprite gTableSprite + ((the bottom of sprite gTableSprite - the top of sprite gTableSprite) / 2)
- set gOrigin to point(originH, originV)
- cursor(4)
- preLoadCast()
- cursor(0)
- end
-
- on keyDown
- if "0123456789" contains the key then
- set the soundLevel to integer(the key)
- end if
- end
-