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