home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global macVolumeName
- if the machineType = 256 then
- openXLib("INI")
- set obj to INI(mnew)
- set cdpath to obj(mGetPrivateProfileString, "Location", "CD", "nowhere", 100, "MMBDEMO.INI")
- obj(mdispose)
- closeXLib("INI")
- if cdpath contains "nowhere" then
- else
- append(the searchPath, cdpath)
- end if
- go(1, "INTRO")
- else
- if voidp(macVolume) then
- append(the searchPath, "MUSIC_BOX:MUSICBOX")
- append(the searchPath, "MUSIC_BOX")
- else
- set extraPath to macVolumeName & ":MUSICBOX"
- append(the searchPath, extraPath)
- set extraPath to macVolumeName & ":"
- append(the searchPath, extraPath)
- end if
- go(1, "INTRO")
- end if
- end
-