home *** CD-ROM | disk | FTP | other *** search
- on RVXTurnPage
- global RVXResFieldsList, RVXpageselect, RVXrecordsfound
- if RVXpageselect > 0 then
- if rollOver(31) and (RVXpageselect > 1) then
- set the member of sprite 31 to member "RVXPreviousRedOne"
- updateStage()
- repeat while rollOver(31)
- if the mouseDown then
- set the member of sprite 31 to member "RVXPreviousRedTwo"
- updateStage()
- set RVXpageselect to RVXpageselect - 1
- repeat with t = 1 to count(RVXResFieldsList)
- set the member of sprite getAt(getAt(RVXResFieldsList, t), 1) to member "CDDot"
- set the locH of sprite getAt(getAt(RVXResFieldsList, t), 1) to 2000
- end repeat
- if RVXpageselect = 1 then
- put "remove previous"
- set the locH of sprite 31 to 2000
- else
- put "place previous"
- set the loc of sprite 31 to point(42, 420)
- set the loc of sprite 32 to point(95, 420)
- end if
- RVXFieldResults()
- RVXShowResults()
- set the member of sprite 31 to member "RVXPrevious"
- updateStage()
- repeat while the mouseDown
- end repeat
- exit repeat
- end if
- end repeat
- set the member of sprite 31 to member "RVXPrevious"
- updateStage()
- end if
- if rollOver(32) and (RVXpageselect < (integer(RVXrecordsfound / 18) + 1)) then
- set the member of sprite 32 to member "RVXNextRedOne"
- updateStage()
- repeat while rollOver(32)
- if the mouseDown and (RVXpageselect < (integer(RVXrecordsfound / 18) + 1)) then
- set the member of sprite 32 to member "RVXNextRedTwo"
- updateStage()
- set RVXpageselect to RVXpageselect + 1
- repeat with t = 1 to count(RVXResFieldsList)
- set the castNum of sprite getAt(getAt(RVXResFieldsList, t), 1) to the number of member "CDDot"
- set the locH of sprite getAt(getAt(RVXResFieldsList, t), 1) to 2000
- end repeat
- if RVXpageselect = (integer(RVXrecordsfound / 18) + 1) then
- set the locH of sprite 32 to 2000
- set the loc of sprite 31 to point(42, 420)
- else
- set the loc of sprite 32 to point(95, 420)
- set the loc of sprite 31 to point(42, 420)
- end if
- RVXFieldResults()
- RVXShowResults()
- set the member of sprite 32 to member "RVXNext"
- updateStage()
- repeat while the mouseDown
- end repeat
- exit repeat
- end if
- end repeat
- set the member of sprite 32 to member "RVXNext"
- end if
- end if
- end
-