Movie Play Controles saltar primero y el último fotograma?!

  • Ray2004
  • Novice
  • Novice
  • Avatar de Usuario
  • Registrado: Ago 09, 2004
  • Mensajes: 17
  • Loc: Kuwait
  • Status: Offline

Nota Septiembre 2nd, 2004, 10:34 am

He creado una sencilla secuencia fotos y añadió que "Volver" y "hacia adelante" botones.

Mi problema surge cuando llego a la última foto en el pase de diapositivas y haga clic en el botón de avance. En lugar de ir a la primera foto, el flash salta a la segunda foto

También cuando estoy navegando "de vuelta" y llego a la primera foto y luego haga clic de nuevo una vez más, el flash va a la foto antes de la última (donde debe ir a la última foto).

En el botón de avance Tengo el siguiente código:

Código: [ Select ]
on (press)
{
    if (this._currentframe == this._totalframes )
    { GoToAndStop (1); }
    Else
    { nextFrame(); }
}
  1. on (press)
  2. {
  3.     if (this._currentframe == this._totalframes )
  4.     { GoToAndStop (1); }
  5.     Else
  6.     { nextFrame(); }
  7. }


y en el botón Atrás tengo el siguiente código:
Código: [ Select ]
on (press) {
            if (this._currentframe == 1)
                {
                GoToAndStop (this._totalframes);
                }
            Else
                {
            prevframe();
                }
            }
  1. on (press) {
  2.             if (this._currentframe == 1)
  3.                 {
  4.                 GoToAndStop (this._totalframes);
  5.                 }
  6.             Else
  7.                 {
  8.             prevframe();
  9.                 }
  10.             }



He subido el archivo FLA (creado en MX, no mx 2004) a la siguiente URL:
http://www.geocities.com/argilah2004/PostforHelp. fla

y la película de SWF en:
http://www.geocities.com/argilah2004/postforhelp.swf
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Septiembre 2nd, 2004, 10:34 am

  • digitalMedia
  • a.k.a. dM
  • Genius
  • Avatar de Usuario
  • Registrado: Dic 29, 2003
  • Mensajes: 5169
  • Loc: SC-USA
  • Status: Offline

Nota Septiembre 2nd, 2004, 11:17 am

intente esto:

Código: [ Select ]
on (release) {
    if (_currentframe === _totalframes) {
        gotoAndStop(1);
    } else {
        nextFrame();
    }
}
  1. on (release) {
  2.     if (_currentframe === _totalframes) {
  3.         gotoAndStop(1);
  4.     } else {
  5.         nextFrame();
  6.     }
  7. }


y esto:

Código: [ Select ]
on (release) {
    if (_currentframe === 1) {
        gotoAndStop(_totalframes);
    } else {
        prevFrame();
    }
}
  1. on (release) {
  2.     if (_currentframe === 1) {
  3.         gotoAndStop(_totalframes);
  4.     } else {
  5.         prevFrame();
  6.     }
  7. }
- dM
  • Ray2004
  • Novice
  • Novice
  • Avatar de Usuario
  • Registrado: Ago 09, 2004
  • Mensajes: 17
  • Loc: Kuwait
  • Status: Offline

Nota Septiembre 5th, 2004, 5:25 am

Gracias por la ayuda pero ninguno de los anteriormente trabajadas. i siquiera intentado variaciones del código que me dio anteriormente.
De cualquier forma Realmente aprecio su ayuda ..
Estoy empezando a pensar que podría ser un error en flash
  • Ray2004
  • Novice
  • Novice
  • Avatar de Usuario
  • Registrado: Ago 09, 2004
  • Mensajes: 17
  • Loc: Kuwait
  • Status: Offline

Nota Septiembre 10th, 2004, 4:04 am

nadie?
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Registrado: Feb 10, 2004
  • Mensajes: 13455
  • Loc: Florida
  • Status: Offline

Nota Septiembre 10th, 2004, 5:59 am

Cambio en la (liberación) a DMS por ejemplo (prensa), no pregunten por qué motivo no lo sé.
Acabo de saber que salta cuando se utiliza en libertad y no cuando la prensa es :?

En caso de que doent trabajo theres somthing otra persona, en la película avanza el cursor de reproducción.
Strong with this one, the sudo is.
  • Ray2004
  • Novice
  • Novice
  • Avatar de Usuario
  • Registrado: Ago 09, 2004
  • Mensajes: 17
  • Loc: Kuwait
  • Status: Offline

Nota Septiembre 14th, 2004, 12:02 am

Gracias, pero no funcionó. Estoy 100% desconcertado por esto. Quiero decir que sólo tengo tres capas, y casi no actionscript además de la relativa a los botones. Su realmente extraño. Malos sólo rehacer toda la cosa a partir de cero cuando llegué el momento.
Gracias yall

Publicar Información

  • Total de mensajes en este tema: 6 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 40 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC