home *** CD-ROM | disk | FTP | other *** search
- on CDXTurnPage
- global CDXResFieldsList, CDpageselect, CDrecordsfound
- if CDpageselect > 0 then
- if rollOver(31) and the mouseDown and (CDpageselect > 1) then
- set CDpageselect to CDpageselect - 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 CDpageselect = 1 then
- set the locH of sprite 31 to 2000
- else
- set the loc of sprite 31 to point(83, 428)
- set the loc of sprite 32 to point(95, 413)
- end if
- updateStage()
- CDXFieldResults()
- CDXdisplay()
- end if
- if rollOver(32) and the mouseDown and (CDpageselect < (integer(CDrecordsfound / 18) + 1)) then
- set CDpageselect to CDpageselect + 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 CDpageselect = (integer(CDrecordsfound / 18) + 1) then
- set the locH of sprite 32 to 2000
- set the loc of sprite 31 to point(83, 428)
- else
- set the loc of sprite 32 to point(95, 413)
- set the loc of sprite 31 to point(83, 428)
- end if
- updateStage()
- CDXFieldResults()
- CDXdisplay()
- end if
- end if
- end
-