home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global dbase, knob
- set curline to the mouseLine
- if curline < 1 then
- exit
- end if
- puppetSound(3, 0)
- puppetSound(3, "Flash")
- set spritenum to the clickOn
- set castNum to the memberNum of sprite spritenum
- set linetext to line curline of field castNum
- put linetext
- set files to getrecords(dbase)
- set pos to getPos(files, linetext)
- resetThumb("filethumb")
- setControls(0)
- set the scrollTop of member "files" to 0
- if pos > 0 then
- set rec to getindexedrecord(dbase, pos)
- set the textFont of member "files" to "Geneva"
- set buffer to outsafeput(the description of rec)
- put the name of rec & RETURN before buffer
- put buffer into field "files"
- set the textFont of line 1 of field "files" to "Chicago"
- set the visible of sprite castspritea("installbtn") to 1
- preLoad(member "installbtnDown")
- cyclelights(6)
- else
- showfiles()
- set the visible of sprite castspritea("installbtn") to 0
- cyclelights(1)
- end if
- end
-