home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global mainPath
- set the centerStage to 1
- set the exitLock to 0
- set the stageColor to 255
- set mainPath to pathName()
- end
-
- on pressOn
- global lastClickOn
- puppetSound(0)
- set whichSprite to the clickOn
- puppetSprite(whichSprite, 1)
- puppetTransition(0)
- set lastClickOn to whichSprite
- set the locV of sprite whichSprite to the locV of sprite whichSprite + 4
- puppetSound("clickSound")
- updateStage()
- repeat while the stillDown
- if rollOver(whichSprite) then
- next repeat
- end if
- set the locV of sprite whichSprite to the locV of sprite whichSprite - 4
- puppetSound("clickSound")
- updateStage()
- puppetSprite(whichSprite, 0)
- updateStage()
- exit
- end repeat
- set the locV of sprite whichSprite to the locV of sprite whichSprite - 4
- puppetSound("clickSound")
- puppetSprite(whichSprite, 0)
- updateStage()
- updateStage()
- puppetSound(0)
- end
-
- on waitFor seconds
- set now to the timer
- repeat while the timer < (now + (seconds * 60))
- if the mouseDown then
- exit
- end if
- end repeat
- end
-
- on waitSound thisone
- updateStage()
- if soundBusy(1) = 0 then
- go(the frame + 1)
- else
- go(the frame)
- end if
- end
-