Gmail Calendar Docs Reader La Web Más »
Grupos visitados recientemente | Ayuda | Acceder
Página principal de Grupos de Google
mc embedded in preloader won't loop at specified frame
En este grupo hay demasiados temas que deben mostrarse primero. Para que este aparezca al principio de la lista, debes descartar esta opción para alguno de los anteriores.
Error al procesar tu solicitud. Por favor, inténtalo de nuevo.
marcar
  3 mensajes - Ocultar todos  -  Traducir todo al Traducido (ver todos los originales)
El grupo al cual envías entradas es un grupo Usenet. Si envías mensajes a este grupo, cualquier usuario de Internet podrá ver tu dirección de correo electrónico
Tu respuesta no se ha enviado.
Tu entrada se ha publicado correctamente.
 
De:
Para:
Cc:
Seguimiento:
Añadir Cc | Añadir seguimiento | Editar asunto
Asunto:
Validación:
Con fines de verificación, escribe los caracteres que veas en la imagen siguiente o los números que escuches haciendo clic en el icono de accesibilidad. Escucha y escribe los números que oyes.
 
Chris Canning  
Ver perfil   Traducir al Traducido (ver original)
 Más opciones 3 feb, 01:12
Grupos de noticias: macromedia.flash
De: Chris Canning <chriscann...@optonline.net>
Fecha: Tue, 2 Feb 2010 21:12:02 -0800 (PST)
Local: Mié 3 feb 2010 01:12
Asunto: mc embedded in preloader won't loop at specified frame
Hi there,

I have a movie clip with lots of frames - 1300 or so. At the end, I
want the movie to loop back to frame 250 (or whichever) instead of
going back to the first frame so I added an action layer and at the
last frame of the movie, added a key frame and the actionscript
gotoAndPlay(250);
This works just fine (perfectly, even)  in testing environment (just
hitting command/return) or when put in a web page on its own but since
it takes several seconds to load,  I put it in the following
preloader.  All works fine except that the movie is now ignoring the
actionscript on the last frame that says 'gotoAndPlay(250);' so it's
looping back to the movie's start and looks bad.

my preloader has five layers:
1. actions -- 2 frames
2. outline -- 2 frames
3. text -- 2 frames
4. content -- 3 frames
5. loader bar -- 2 frames

In frame 2 of the actions layer is a keyframe and this actionscript:

     myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar._width = myPercent*150;
myText = Math.round(myPercent*100)+"%";
if (myLoaded == myTotal) {
    gotoAndStop(3);

} else {
    gotoAndPlay(1);
}

My .swf is loaded on the third frame of the content layer.

Why is the actionscript in the preloaded movieclip ignored? What am I
missing?
I've been at this for a couple of days now.... Please help!


    Reenviar  
Debes registrarte antes de enviar mensajes.
Para enviar una entrada, antes deberás formar parte del grupo.
Antes de enviar entradas, actualiza tu alias en la configuración de la suscripción.
No dispones del permiso necesario para enviar entradas.
Radices  
Ver perfil   Traducir al Traducido (ver original)
 Más opciones 3 feb, 12:42
Grupos de noticias: macromedia.flash
De: Radices <radi...@gmail.com>
Fecha: Wed, 3 Feb 2010 08:42:36 -0800 (PST)
Local: Mié 3 feb 2010 12:42
Asunto: Re: mc embedded in preloader won't loop at specified frame
You shouldn't need a preloader as the movie has already been loaded
and resides on the client unless you are streaming it from a remote
server?

On Feb 3, 12:12 am, Chris Canning <chriscann...@optonline.net> wrote:


    Reenviar  
Debes registrarte antes de enviar mensajes.
Para enviar una entrada, antes deberás formar parte del grupo.
Antes de enviar entradas, actualiza tu alias en la configuración de la suscripción.
No dispones del permiso necesario para enviar entradas.
Chris Canning  
Ver perfil   Traducir al Traducido (ver original)
 Más opciones 3 feb, 23:37
Grupos de noticias: macromedia.flash
De: Chris Canning <chriscann...@optonline.net>
Fecha: Wed, 3 Feb 2010 19:37:54 -0800 (PST)
Local: Mié 3 feb 2010 23:37
Asunto: Re: mc embedded in preloader won't loop at specified frame
Hi Radices,
Hmmm... maybe I used the term wrongly.
The object I'm calling a preloader is a movie clip with my movie
embedded into a frame. Another frame has actionscript in it that
measures how many frames are in my movie and will only play my movie
when all of those frames are loaded. Meanwhile there is a loading bar
and text to let the visitor know how much progress is being made. This
way the website visitor doesn't see a wash of white where my movie
ought to be.

I figured out the problem anyway. I was using the same fla since it
had the loader in it and wasn't deleting the objects in the library. I
cleaned everything out of the library, imported my movie anew and it
works very nicely now.


    Reenviar  
Debes registrarte antes de enviar mensajes.
Para enviar una entrada, antes deberás formar parte del grupo.
Antes de enviar entradas, actualiza tu alias en la configuración de la suscripción.
No dispones del permiso necesario para enviar entradas.
Fin de los mensajes
« Volver a “Debates” « Tema más reciente     Tema anterior »

Crear un grupo - Grupos de Google - Página principal de Google - Condiciones del servicio - Política de privacidad
©2010 Google