home *** CD-ROM | disk | FTP | other *** search
- on flash
- global flasha, flashb
- set flasha to the name of cast the castNum of sprite clickOn()
- puppetSound("Lock")
- set flashb to flasha & "B"
- set the castNum of sprite clickOn() to the number of cast flashb
- updateStage()
- wait(15)
- set the castNum of sprite clickOn() to the number of cast flasha
- puppetSound(0)
- updateStage()
- end
-
- on beepa
- puppetSound("Lock")
- updateStage()
- wait(30)
- puppetSound(0)
- updateStage()
- end
-
- on wait n
- set startticks to the timer
- set nowticks to the timer
- set waitticks to nowticks - startticks
- repeat while waitticks < n
- set nowticks to the timer
- set waitticks to nowticks - startticks
- end repeat
- end
-
- on ppt n
- puppetTransition(1, 2 * n, 1)
- end
-