home *** CD-ROM | disk | FTP | other *** search
- on GoBodyDatabase
- global gDataPath, gMakerNum, CurFrame, gWhichMov, goto
- set name to CurFrame
- set num to Bsearch(name, "MakerList")
- if num > 0 then
- set the movieRate of sprite 15 to 0
- cursor(4)
- set gMakerNum to num
- GetPaths()
- set gWhichMov to the movieName
- set goto to marker(0)
- GoMovie(gDataPath & "BODY.DIR", "database")
- end if
- end
-
- on GetPaths
- global gDataPath
- if the machineType = 256 then
- set delim to "\"
- set the itemDelimiter to delim
- else
- set delim to ":"
- set the itemDelimiter to delim
- end if
- set drive to item 1 of the pathName
- set gDataPath to drive & delim & "DATABASE" & delim
- end
-