home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- if the lastClick > 4 then
- exit
- end if
- set spr to the clickOn
- puppetSprite(spr, 1)
- set normalCnum to the castNum of sprite spr
- set hiliteCnum to the number of cast "VOLbtn.h"
- repeat while the mouseDown
- if rollOver(spr) then
- set the castNum of sprite spr to hiliteCnum
- else
- set the castNum of sprite spr to normalCnum
- end if
- updateStage()
- end repeat
- if rollOver(spr) then
- showVolumePalette()
- end if
- set the castNum of sprite spr to normalCnum
- updateStage()
- end
-