home *** CD-ROM | disk | FTP | other *** search
- on sectionDown
- global theSection, theSLine, lineheight, spHoriz, spVert, col1amount, col2amount, col1width, col2width
- setOffStage("20,21,25,34,35,44,45,46")
- set the castNum of sprite 31 to 16
- set the locH of sprite 31 to spHoriz
- set the locV of sprite 31 to spVert
- set the castNum of sprite 33 to 970
- set the blend of sprite 33 to 60
- set the locH of sprite 33 to 132
- set the locV of sprite 33 to 34
- set the castNum of sprite 40 to 18
- if theSection <= col1amount then
- set theSLine to theSection
- set the locH of sprite 43 to spHoriz
- set the width of sprite 43 to col1width
- else
- set theSLine to theSection - col1amount
- set the locH of sprite 43 to spHoriz + col1width
- set the width of sprite 43 to col2width
- end if
- doSet(theSection, theSLine, spVert)
- updateStage()
- end
-
- on doSet theSectionT, whSel, spv
- global theTopic, greenList
- set the height of sprite 43 to 20
- set the locV of sprite 43 to (whSel * 20) - 14 + spv
- updateStage()
- set whTopicList to field (theSectionT + 40)
- set theTopic to line 1 of whTopicList
- delete line 1 of whTopicList
- set the text of field "topicHeadtemp" to whTopicList
- setFieldTopic("topicHeadtemp")
- set the backColor of cast 975 to 19
- set the backColor of cast 974 to 19
- set the castNum of sprite 34 to 975
- set the locH of sprite 34 to 459
- set the locV of sprite 34 to 78
- updateStage()
- end
-
- on paraUp
- global spHoriz
- if the locH of sprite 31 = spHoriz then
- set the castNum of sprite 44 to 946
- setOffStage("44")
- else
- set the castNum of sprite 44 to 946
- setOffStage("33,44")
- set the blend of sprite 33 to 100
- end if
- updateStage()
- end
-