home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gLastRollover
- set gLastRollover to the clickOn
- puppetSprite(gLastRollover, 1)
- repeat while the mouseDown
- if rollOver(gLastRollover) then
- set the castNum of sprite gLastRollover to the number of cast (gLastRollover & "hi")
- else
- set the castNum of sprite gLastRollover to the number of cast (gLastRollover & "or")
- end if
- updateStage()
- end repeat
- end
-
- on mouseUp
- global gLastRollover
- if not rollOver(gLastRollover) then
- PupsOff()
- else
- puppetSound("Switch Flick")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- PupsOff()
- go("end")
- end if
- end
-