home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- if the visible of window "Help" then
- tell window "help"
- go("volume")
- 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 gOn, gFade, gDb, gGreen
- if gOn and not gFade and not (the visible of window "help") then
- set start to integer(field "fieldMasterVol") - 16
- repeat while the mouseDown
- case the frame of
- 2, 3:
- set the memberNum of sprite 13 to the number of member "Hvol"
- set the ink of sprite 13 to 36
- set the loc of sprite 13 to point(548, 464)
- 6, 7, 10, 11:
- set the memberNum of sprite 10 to the number of member "Hvol"
- set the loc of sprite 10 to point(548, 464)
- set the ink of sprite 10 to 36
- end case
- updateStage()
- set masterVol to start + (480 - the mouseV)
- if masterVol > gDb then
- set masterVol to gDb
- end if
- if masterVol < 0 then
- set masterVol to 0
- end if
- put masterVol into field "fieldMasterVol"
- set the textFont of member "fieldMasterVol" to "IK10"
- set the foreColor of member "fieldMasterVol" to gGreen
- IKMasterVolume(integer(field "fieldMasterVol"))
- end repeat
- end if
- end
-
- on mouseUp
- set the editable of member "fieldBpm" to 0
- puppetSprite(13, 0)
- end
-