home *** CD-ROM | disk | FTP | other *** search
- on flash
- global flasha, flashb
- set flasha to the name of cast the castNum of sprite clickOn()
- set flashb to flasha & "B"
- set the castNum of sprite clickOn() to the number of cast flashb
- puppetSound("click")
- updateStage()
- wait(15)
- set the castNum of sprite clickOn() to the number of cast flasha
- 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
-