home *** CD-ROM | disk | FTP | other *** search
- on prepareMovie
- the searchPath = []
- append(the searchPath, "..\Sounds")
- append(the searchPath, ".\Images")
- if the soundEnabled and not sound(3).isBusy() then
- puppetSound(3, "bgSound" & random(1))
- end if
- end
-
- on idle
- if the soundEnabled and not sound(3).isBusy() then
- puppetSound(3, "bgSound" & random(1))
- else
- nothing()
- end if
- end
-