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.txt" into field "ThePath"
- loadBrowser()
- end
-
- on pointCursor spriteNum
- set the cursor of sprite spriteNum to [the number of member "pointer", the number of member "pointer.mask"]
- end
-
- on loadBrowser
- global myfile
- set myfile to new(xtra("fileio"))
- set finalPath to field "OSPath"
- openFile(myfile, finalPath & "Browser.txt", 1)
- set TheWeb to readLine(myfile)
- put TheWeb into field "browserLoc"
- closeFile(myfile)
- set myfile to 0
- end
-