home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global tpth, xf
- set btn to the clickOn
- set the member of sprite btn to "info2i"
- updateStage()
- repeat while the stillDown
- updateStage()
- end repeat
- set the member of sprite btn to "info2"
- puppetSprite(13, 1)
- set rr to EMPTY
- if the locH of sprite 13 > 1000 then
- set fnm to tpth & xf
- set fp to new(xtra("fileio"))
- openFile(fp, fnm, 1)
- set rr to readFile(fp)
- closeFile(fp)
- set fp to 0
- set the text of member "details" to rr
- set the loc of sprite 13 to point(130, 113)
- updateStage()
- else
- set the loc of sprite 13 to point(2000, 113)
- updateStage()
- end if
- end
-