home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global msound
- set ssound to msound
- put ssound
- repeat while ssound > 0
- put the volume of sound 1
- if ssound > 10 then
- set the volume of sound 1 to ssound - 10
- set ssound to the volume of sound 1
- next repeat
- end if
- set the volume of sound 1 to 0
- set ssound to the volume of sound 1
- end repeat
- sound stop 1
- set the volume of sound 1 to msound
- go("START")
- end
-