home *** CD-ROM | disk | FTP | other *** search
- global botonPlay, botonStop, botonPausa, botonRew, botonAdv, BotonSalir, botonIdio1, botonIdio2, idioma, posicion, 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)
- set the volume of sprite 20 to volumenpelicula
- else
- if rollOver(2) then
- if posicion <> 2 then
- DesactivarPuppets()
- end if
- set posicion to 2
- seleccionar(BotonSalir)
- else
- if rollOver(6) then
- if posicion <> 6 then
- DesactivarPuppets()
- end if
- set posicion to 6
- seleccionar(botonStop)
- else
- if rollOver(4) then
- if posicion <> 4 then
- DesactivarPuppets()
- end if
- set posicion to 4
- seleccionar(botonPausa)
- else
- if posicion <> 0 then
- set posicion to 0
- DesactivarPuppets()
- end if
- end if
- end if
- end if
- end if
- end
-
- on exitFrame
- if the movieTime of sprite 20 >= Duracion then
- set the movieRate of sprite 20 to 0
- DestruirBotonesAVI()
- updateStage()
- puppetSprite(10, 0)
- puppetSprite(12, 0)
- go("PeliStop")
- end if
- go(the frame)
- end
-
- on mouseUp
- set mueveslide2 to 0
- cursor(0)
- end
-