home *** CD-ROM | disk | FTP | other *** search
- on CDXTurnPage
- global CDXResFieldsList, CDXpageselect, CDXrecordsfound
- if CDXpageselect > 0 then
- if rollOver(31) and (CDXpageselect > 1) then
- set the member of sprite 31 to member "CDXPreviousRedOne"
- updateStage()
- repeat while rollOver(31)
- if the mouseDown then
- set the member of sprite 31 to member "CDXPreviousRedTwo"
- updateStage()
- set CDXpageselect to CDXpageselect - 1
- repeat with t = 1 to count(CDXResFieldsList)
- set the member of sprite getAt(getAt(CDXResFieldsList, t), 1) to member "CDDot"
- set the locH of sprite getAt(getAt(CDXResFieldsList, t), 1) to 2000
- end repeat
- if CDXpageselect = 1 then
- set the locH of sprite 31 to 2000
- else
- set the loc of sprite 31 to point(42, 420)
- set the loc of sprite 32 to point(95, 420)
- end if
- CDXFieldResults()
- CDXShowResults()
- exit repeat
- end if
- end repeat
- set the member of sprite 31 to member "CDXPrevious"
- updateStage()
- end if
- if rollOver(32) and (CDXpageselect < (integer(CDXrecordsfound / 18) + 1)) then
- set the member of sprite 32 to member "CDXNextRedOne"
- updateStage()
- repeat while rollOver(32)
- if the mouseDown and (CDXpageselect < (integer(CDXrecordsfound / 18) + 1)) then
- set the member of sprite 32 to member "CDXNextRedTwo"
- updateStage()
- set CDXpageselect to CDXpageselect + 1
- repeat with t = 1 to count(CDXResFieldsList)
- set the castNum of sprite getAt(getAt(CDXResFieldsList, t), 1) to the number of member "CDDot"
- set the locH of sprite getAt(getAt(CDXResFieldsList, t), 1) to 2000
- end repeat
- if CDXpageselect = (integer(CDXrecordsfound / 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
- CDXFieldResults()
- CDXShowResults()
- exit repeat
- end if
- end repeat
- set the member of sprite 32 to member "CDXNext"
- end if
- end if
- end
-