home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global botonRew, botonAdv, pulsadoBoton, retardoBoton
- if the movieTime of sprite 20 > 0 then
- puppetSound("CLICK")
- pulsar(botonRew)
- updateStage()
- set pulsadoBoton to 1
- set retardoBoton to the timer + 60
- set tiempo to the movieTime of sprite 20 - 5
- if tiempo <= 0 then
- set tiempo to 0
- puppetSprite(3, 1)
- set the castNum of sprite 3 to member "Brew1d"
- Desactivar(botonRew)
- else
- activar(botonRew)
- end if
- puppetSprite(7, 0)
- activar(botonAdv)
- set the movieTime of sprite 20 to tiempo
- end if
- end
-
- on mouseUp
- global pulsadoBoton
- set pulsadoBoton to 0
- end
-