home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gPbutnState
- if gPbutnState = 0 then
- set the visible of sprite 24 to 0
- set the visible of sprite 23 to 0
- end if
- if gPbutnState = 1 then
- set the visible of sprite 24 to 0
- set the visible of sprite 23 to 0
- end if
- if gPbutnState = 2 then
- nothing()
- end if
- updateStage()
- end
-
- on mouseUp
- global gPbutnState
- if gPbutnState = 2 then
- set gPbutnState to 0
- set the visible of sprite 24 to 1
- set the visible of sprite 23 to 0
- updateStage()
- continue()
- else
- set gPbutnState to 2
- set the visible of sprite 24 to 0
- set the visible of sprite 23 to 0
- updateStage()
- pause()
- end if
- end
-