home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- new(script "BrowserClass", "htmlsource")
- openXLib(the pathName & "xtras:FileIOXtraFat")
- set gOSDir to getOSDirectory()
- put gOSDir & "Preferences:" into field "OSPath"
- put gOSDir & "Preferences:Browser" into field "ThePath"
- loadBrowser()
- end
-
- on loadBrowser
- global myfile
- set myfile to new(xtra("fileio"))
- set finalPath to field "OSPath"
- openFile(myfile, finalPath & "Browser", 1)
- set TheWeb to readLine(myfile)
- put TheWeb into field "browserLoc"
- closeFile(myfile)
- set myfile to 0
- end
-