home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gDriveLetter
- openXLib("fileio.dll")
- set temp to the pathName
- set gDriveLetter to chars(temp, 1, 2)
- getPath()
- cursor(200)
- end
-
- on stopMovie
- closeXLib("fileio.dll")
- end
-
- on getPath
- global gProdPath
- set theFileName to "\demo\path.ini"
- set myFileObj to FileIO(mnew, "read", theFileName)
- if objectp(myFileObj) then
- set gProdPath to myFileObj(mReadLine)
- myFileObj(mdispose)
- else
- nothing()
- end if
- end
-