home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global castData, articleList, theMenu, menuText, linePtr, filterStatus, theClickLine
- set me to the clickOn
- set the ink of sprite me to 32
- set x to the castNum of sprite me
- set the castNum of sprite me to x + 1
- repeat while the mouseDown
- updateStage()
- end repeat
- set the castNum of sprite me to x
- updateStage()
- if rollOver(me) then
- if item 1 of castData = "Search" then
- set theMenu to EMPTY
- set menuText to EMPTY
- set theClickLine to 0
- if filterStatus contains "1" then
- if field 540 = EMPTY then
- notify(37, 616)
- set castData to "Search"
- exit
- end if
- else
- notify(37, 617)
- set castData to "Search"
- exit
- end if
- set x to searchForItem(field 540)
- if x <> EMPTY then
- set castData to "searchResults"
- put x into field 463
- set linePtr to -1
- showWd("38-42")
- else
- beep()
- end if
- else
- if item 1 of castData = "bookmark" then
- set movieName to line linePtr + 1 of field 483
- set MDMovie to selectMDMovie(movieName)
- if MDMovie <> 0 then
- goNextLoc(MDMovie, 1, marker(0))
- else
- beep()
- end if
- end if
- end if
- end if
- end
-