home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global ItemDel
- if the name of cast the mouseCast contains "search" then
- set the visible of sprite 2 to 0
- puppetSprite(2, 0)
- updateStage()
- if the frame > 430 then
- hiliteBtn(13)
- end if
- set temp to the pathName
- set the itemDelimiter to ItemDel
- delete item the number of items in temp of temp
- delete item the number of items in temp of temp
- set the itemDelimiter to ","
- unLoad()
- unLoadCast()
- sound stop 1
- sound stop 2
- go("black")
- go("fade", string(temp & ItemDel & "search.dir"))
- else
- if the name of cast the mouseCast contains "quit" then
- puppetSprite(2, 0)
- updateStage()
- disposeRearWindow()
- go("black")
- quit()
- end if
- end if
- end
-