home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- set N to the castNum of sprite 24
- preLoadCast(N)
- put "QT " & N & "PreLoaded? " & the preLoad of cast N && the result
- sound stop 1
- sound stop 2
- updateStage()
- puppetSprite(24, 1)
- set the volume of sprite 24 to 220
- set the movieRate of sprite 24 to 1
- repeat while the movieRate of sprite 24
- if the mouseDown or the controlDown then
- set the movieRate of sprite 24 to 0
- unLoadCast(N)
- puppetSprite(24, 0)
- return 1
- end if
- updateStage()
- end repeat
- puppetSprite(24, 0)
- return 0
- end
-