home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global NumHits, HitList, OnceCheck, previous, current, ScrollVec, CompVec, Navigate
- set HitList to []
- set NumHits to 0
- repeat with o = 18 to 25
- set the visible of sprite o to 0
- end repeat
- set the visible of sprite 27 to 0
- set the visible of sprite 40 to 0
- repeat with i = 30 to 37
- set the visible of sprite i to 0
- end repeat
- set CompVec to []
- set the text of field "total" to the text of field "abc"
- repeat with i = 123 to 127
- set the text of field i of castLib "lists" to "[]"
- end repeat
- repeat with i = 15 to 23
- puppetSprite(i, 0)
- end repeat
- repeat with i = 18 to 25
- end repeat
- repeat with i = 123 to 127
- set the text of field i of castLib "lists" to "[]"
- end repeat
- set previous to []
- set current to []
- set OnceCheck to 0
- set QueryFieldVec to ["alco", "non-alco", "other", "total"]
- repeat with i = 1 to 4
- set currField to getAt(QueryFieldVec, i)
- set currScroll to getAt(ScrollVec, i)
- if currField = "total" then
- set the text of field ("query-" & currField) to line currScroll to currScroll + 10 of field currField
- next repeat
- end if
- set the text of field ("query-" & currField) to line currScroll to currScroll + 4 of field currField
- set the foreColor of member ("query-" & currField) to 204
- end repeat
- set the foreColor of member "query-how" to 204
- set the foreColor of member "query-when" to 204
- put the number of lines in field "total" into field "cocktail counter"
- end
-