home *** CD-ROM | disk | FTP | other *** search
- on GTSDuringPreview
- global GTSPMouseDown, GTSPreviewCounter, GTSOfHowManyList, GTSChoosen
- if rollOver(31) then
- set the member of sprite 31 to member "redrightbrowse"
- updateStage()
- repeat while rollOver(31)
- if the mouseDown then
- set the member of sprite 31 to member "redrightbrowsedown"
- updateStage()
- repeat while the mouseDown
- end repeat
- set GTSPreviewCounter to 1 + GTSPreviewCounter
- updateStage()
- put "GTSPreviewCounter", GTSPreviewCounter
- if GTSPreviewCounter = getAt(GTSOfHowManyList, GTSChoosen) then
- set the locH of sprite 31 to 2000
- updateStage()
- end if
- if (GTSPreviewCounter = 2) and (getAt(GTSOfHowManyList, GTSChoosen) <> 2) then
- set the loc of sprite 30 to point(510, 423)
- end if
- repeat with t = 11 to 12
- set the castNum of sprite t to the castNum of sprite t + 1
- end repeat
- updateStage()
- end if
- set the member of sprite 31 to member "redrightbrowse"
- updateStage()
- end repeat
- set the member of sprite 31 to member "rightbrowse"
- updateStage()
- end if
- if rollOver(30) then
- set the member of sprite 30 to member "redleftbrowse"
- updateStage()
- repeat while rollOver(30)
- if the mouseDown then
- set the member of sprite 30 to member "redleftbrowsedown"
- updateStage()
- repeat while the mouseDown
- end repeat
- set GTSPreviewCounter to GTSPreviewCounter - 1
- updateStage()
- put "GTSPreviewCounter", GTSPreviewCounter
- if GTSPreviewCounter = 1 then
- set the locH of sprite 30 to 2000
- updateStage()
- end if
- if getAt(GTSOfHowManyList, GTSChoosen) <> GTSPreviewCounter then
- set the loc of sprite 31 to point(578, 423)
- end if
- repeat with t = 11 to 12
- set the castNum of sprite t to the castNum of sprite t - 1
- end repeat
- updateStage()
- end if
- set the member of sprite 30 to member "redleftbrowse"
- updateStage()
- end repeat
- set the member of sprite 30 to member "leftbrowse"
- updateStage()
- end if
- end
-