home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- set ds1 to 0
- set ds2 to 200
- set dt to 1
- startTimer()
- repeat while ds2 > 0
- set the volume of sound 1 to ds1
- set the volume of sound 2 to ds2
- if the timer > dt then
- set ds1 to ds1 + 16
- set ds2 to ds2 - 16
- set the timer to 0
- end if
- end repeat
- set the volume of sound 1 to 200
- sound stop 2
- set the volume of sound 2 to 245
- end
-