home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- repeat with a = 2 to 8
- set the immediate of sprite a to 1
- end repeat
- end
-
- on leaveMovie
- if rollOver(the clickOn) then
- puppetSound("WELLRTN.SND", 1)
- updateStage()
- repeat while soundBusy(1)
- end repeat
- end if
- end
-
- on clickSound
- if rollOver(the clickOn) then
- puppetSound("single click", 1)
- updateStage()
- repeat while soundBusy(1)
- end repeat
- end if
- end
-
- on pushButton btnID
- global hideCursor
- puppetSprite(the clickOn, 1)
- set UpBtn to the castNum of sprite the clickOn
- set DwnBtn to UpBtn + 1
- repeat while the mouseDown
- if rollOver(the clickOn) then
- if the castNum of sprite the clickOn = UpBtn then
- set the castNum of sprite the clickOn to DwnBtn
- end if
- else
- if the castNum of sprite the clickOn = DwnBtn then
- set the castNum of sprite the clickOn to UpBtn
- end if
- end if
- updateStage()
- end repeat
- if rollOver(the clickOn) then
- if the castNum of sprite the clickOn = UpBtn then
- set the castNum of sprite the clickOn to DwnBtn
- updateStage()
- end if
- timePause(10)
- set the castNum of sprite the clickOn to UpBtn
- puppetSprite(the clickOn, 0)
- updateStage()
- updateStage()
- if btnID = 1 then
- clickSound()
- go("video")
- else
- if btnID = 2 then
- clickSound()
- play movie "tour"
- else
- if btnID = 3 then
- clickSound()
- quit()
- else
- if btnID = 4 then
- leaveMovie()
- go(1, "Puzz_19")
- else
- if btnID = 5 then
- leaveMovie()
- go(1, "puzz_01")
- else
- if btnID = 6 then
- leaveMovie()
- go(1, "puzz_02")
- end if
- end if
- end if
- end if
- end if
- end if
- else
- puppetSprite(the clickOn, 0)
- set the castNum of sprite the clickOn to UpBtn
- updateStage()
- end if
- end
-
- on timePause theTime
- startTimer()
- repeat while the timer <= theTime
- updateStage()
- end repeat
- end
-