home *** CD-ROM | disk | FTP | other *** search
- global gPTimerSet, gPresentationTime, gPresentationLight, gYellowSet, gRedSet, gLightColor
-
- on startMovie
- global gserviceList, gstartVar, gpressed, cAudioLevel, tProductSelect, tSectionSelect, tFirsttimeFlag, soundLevel, lastSprite
- set the preLoadEventAbort to 1
- set the preloadRam to 0
- set gserviceList to ["conference", "on-line", "access", "training", "developer", "consulting", "major", "user", "international", "education", "reseller"]
- set the visible of sprite 17 to 1
- puppetSprite(17, 1)
- set gstartVar to 0
- set gpressed to 0
- set cAudioLevel to 46
- if voidp(soundLevel) then
- set soundLevel to 3
- end if
- set lastSprite to 0
- if gPTimerSet then
- puppetSprite(gPresentationLight, 1)
- set the castNum of sprite gPresentationLight to the number of cast gLightColor
- updateStage()
- end if
- end
-
- on supportSelect
- global tProductPressed, tSectionPressed, tProductSelect, tSectionSelect, tFirsttimeFlag, gpressed, gserviceList, gstartVar
- puppetSound("click")
- set WhichSprite to the clickOn
- set gpressed to WhichSprite
- puppetSprite(WhichSprite, 1)
- set the castNum of sprite WhichSprite to the number of cast ("Button " & string(WhichSprite - 1) && "down")
- repeat with n = 2 to 12
- if n <> WhichSprite then
- puppetSprite(n, 0)
- end if
- end repeat
- updateStage()
- go(getAt(gserviceList, WhichSprite - 1))
- end
-
- on changeHotspot
- set whichCast to the mouseCast
- set WhichSprite to the clickOn
- puppetSprite(WhichSprite, 1)
- set myName to the name of cast whichCast
- set myNum to the last word in myName
- put not value(myNum) into word the number of words in myName of myName
- set the castNum of sprite WhichSprite to cast myName
- updateStage()
- end
-
- on enterFrame
- if gPTimerSet then
- if (the timer > (gPresentationTime * 3600)) and not gRedSet then
- set gLightColor to "Red timer light lit"
- set the castNum of sprite gPresentationLight to the number of cast gLightColor
- set gRedSet to 1
- exit
- end if
- if (the timer > ((gPresentationTime * 3600) - 7200)) and not gYellowSet then
- set gLightColor to "Yellow timer light lit"
- set the castNum of sprite gPresentationLight to the number of cast gLightColor
- set gYellowSet to 1
- end if
- end if
- end
-