home *** CD-ROM | disk | FTP | other *** search
- global botonPlay, botonStop, botonPausa, botonRew, botonAdv, BotonSalir, botonIdio1, botonIdio2, idioma, posicion, pulsadoBoton, Duracion, mueveslide2, volumenpelicula
-
- on enterFrame
- set eltiempo to the movieTime of sprite 20
- set distancia to 65 + (eltiempo / (Duracion * 1.0) * 465) + 24
- puppetSprite(10, 1)
- set the locH of sprite 10 to distancia
- ActualizaContador()
- if mueveslide2 then
- cursor([cast "DEDO", cast "DEDOM"])
- set laposic to the mouseH
- if laposic < (471 + 12) then
- set laposic to 471 + 12
- end if
- if laposic > (571 + 12) then
- set laposic to 571 + 12
- end if
- puppetSprite(11, 1)
- set the locH of sprite 11 to laposic
- set volumenpelicula to integer((laposic - 471 - 12) * 2.5600000000000005)
- else
- if rollOver(2) then
- if posicion <> 2 then
- puppetSound("SELECT2")
- updateStage()
- DesactivarPuppetsPausa(0, Duracion)
- end if
- set posicion to 2
- seleccionar(BotonSalir)
- else
- if rollOver(3) then
- DesactivarPuppetsPausa(0, Duracion)
- if the movieTime of sprite 20 > 0 then
- if posicion <> 3 then
- set posicion to 3
- puppetSound("SELECT2")
- end if
- if pulsadoBoton = 1 then
- pulsar(botonRew)
- RetrocederPeli(0, Duracion)
- else
- seleccionar(botonRew)
- end if
- updateStage()
- end if
- else
- if rollOver(6) then
- if posicion <> 6 then
- puppetSound("SELECT2")
- updateStage()
- DesactivarPuppetsPausa(0, Duracion)
- end if
- set posicion to 6
- seleccionar(botonStop)
- else
- if rollOver(5) then
- if posicion <> 5 then
- puppetSound("SELECT2")
- updateStage()
- DesactivarPuppetsPausa(0, Duracion)
- end if
- set posicion to 5
- seleccionar(botonPlay)
- else
- if rollOver(7) then
- DesactivarPuppetsPausa(0, Duracion)
- if the movieTime of sprite 20 < Duracion then
- if posicion <> 7 then
- set posicion to 7
- puppetSound("SELECT2")
- end if
- if pulsadoBoton = 1 then
- pulsar(botonAdv)
- AvanzarPeli(0, Duracion)
- else
- seleccionar(botonAdv)
- end if
- updateStage()
- end if
- else
- if rollOver(8) and (idioma <> 1) then
- if posicion <> 8 then
- puppetSound("SELECT2")
- updateStage()
- DesactivarPuppetsPausa(0, Duracion)
- end if
- set posicion to 8
- else
- if rollOver(9) and (idioma <> 2) then
- if posicion <> 9 then
- puppetSound("SELECT2")
- updateStage()
- DesactivarPuppetsPausa(0, Duracion)
- end if
- set posicion to 9
- else
- if posicion <> 0 then
- set posicion to 0
- DesactivarPuppetsPausa(0, Duracion)
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on exitFrame
- go(the frame)
- end
-
- on mouseUp
- global pulsadoBoton
- set pulsadoBoton to 0
- set mueveslide2 to 0
- end
-