Autor Tema: Terminar archivo .swf, mostrar boton  (Leído 2043 veces)

0 Usuarios y 1 Visitante están viendo este tema.

lautitow

  • Bytes
  • *
  • Mensajes: 13
  • Reputación: +0/-4
  • 1
    • Ver Perfil
Terminar archivo .swf, mostrar boton
« en: Mayo 23, 2011, 01:30:21 pm »
Se que lo q pregunto es basico...

inserte un archivo .swf, y lo q quiero es q cuando dicha 'pelicula' termine, se muestre un 'X' boton...

¿Como?

cristian_19a

  • Kilobyte
  • **
  • Mensajes: 80
  • Reputación: +28/-3
    • Ver Perfil
Re:Terminar archivo .swf, mostrar boton
« Respuesta #1 en: Noviembre 01, 2011, 06:29:34 am »
aver no se si te pueda ayudar algo esto
quieres que se vea un boton en vb cuando termina la pelicula?

yo aria esto en la programacion del fla si lo haces por fotogramas en el ultimo fotograma agregas este
FSCommand("termine","termine")
esto quiere decir que ya termino la pelicula

si lo haces por script tienes que colocarlo en un lugar donde muestre el fin

y en visual basic llamas a tu flash
ShockwaveFlash1.Movie = App.Path & "\MiFlash.swf" y se generara un play, entonces cuando el flash llege a "termine " entonces se procede a mostrar el boton que gustas

Private Sub ShockwaveFlash1_FSCommand(ByVal command As String, ByVal args As String)
  if command="termine" then
    ShockwaveFlash1.stop
    MIBOTON.visible=true
  end if
End Sub

algo hasi no