home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gbPopIsOn, gbInstallActive, gsPopupReturn, gsPopupType
- CheckSound()
- if gbInstallActive and not gbPopIsOn then
- put gsPopupReturn
- Wait(1)
- set sType to gsPopupType
- if sType = "soun" then
- set sType to "Desi"
- end if
- set n to the number of cast ("Install" & sType)
- set gbInstallActive to 0
- if (gsPopupReturn = "Jetzt") and (n > 0) then
- DoItNow()
- else
- if (gsPopupReturn = "Später") and (n > 0) then
- DoItLater()
- end if
- end if
- end if
- if not gbPopIsOn then
- CheckRollOver()
- CheckForTimeOut()
- else
- DoPopupAnim()
- end if
- cursor(0)
- go(the frame)
- end
-