home *** CD-ROM | disk | FTP | other *** search
- on GESExplorePrinters
- global GESRollReturn, GESReturnIcon, GESDesOnStage, GESPCList, GESSytemUnit, GESWhichXplor, GesPrinterIntro, GESPrinterIntroList, GESBrown, GESGreen
- if GESRollReturn = 1 then
- set GESRollReturn to 0
- cursor(-1)
- end if
- repeat with t = 1 to count(GESPrinterIntroList)
- if rollOver(getAt(getAt(GESPrinterIntroList, t), 1)) then
- set the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) to the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) + 1
- set the foreColor of word getAt(getAt(GESPrinterIntroList, t), 2) of field 301 to GESGreen
- cursor([48, 49])
- updateStage()
- repeat while rollOver(getAt(getAt(GESPrinterIntroList, t), 1))
- if the mouseDown then
- set whichPrinter to getAt(getAt(GESPrinterIntroList, t), 1)
- GESSelectPrinter(whichPrinter)
- set GesPrinterIntro to 1
- repeat while the mouseDown
- end repeat
- exit repeat
- end if
- end repeat
- set the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) to the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) - 1
- set the foreColor of word getAt(getAt(GESPrinterIntroList, t), 2) of field 301 to GESBrown
- cursor(-1)
- updateStage()
- end if
- if GesPrinterIntro = 0 then
- if rollOver(13) then
- if the mouseWord = getAt(getAt(GESPrinterIntroList, t), 2) then
- set the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) to the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) + 1
- set the foreColor of word getAt(getAt(GESPrinterIntroList, t), 2) of field 301 to GESGreen
- cursor([48, 49])
- updateStage()
- repeat while the mouseWord = getAt(getAt(GESPrinterIntroList, t), 2)
- if the mouseDown then
- set whichPrinter to getAt(getAt(GESPrinterIntroList, t), 1)
- GESSelectPrinter(whichPrinter)
- set GesPrinterIntro to 1
- repeat while the mouseDown
- end repeat
- exit repeat
- end if
- end repeat
- set the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) to the castNum of sprite getAt(getAt(GESPrinterIntroList, t), 1) - 1
- set the foreColor of word getAt(getAt(GESPrinterIntroList, t), 2) of field 301 to GESBrown
- cursor(-1)
- updateStage()
- end if
- end if
- end if
- end repeat
- if GesPrinterIntro = 1 then
- set GESNum to the mouseCast
- GESPrinterInfo(GESNum)
- end if
- GESBuyingPrinterTips()
- GESRolloverDesIcon()
- GESRolloverNoteIcon()
- end
-