Well,
Taken from the dynapi.util.thread.html example:

 thread = new Thread();
 thread.sleep(20);
 thread.run = function() {
  do your stuff here
 }
 thread.start();

Now looking at this, it looks like we're initiating a new occurrence of
thread, doesn't that mean that we are adding another setTimeout, thus
defeating the whole idea, or does thread add our animation to one setTimeout
used for all animations?

Richard

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 3:29 PM
Subject: RE: [Dynapi-Dev] opacity extension for DynAPI (following up on
Netscape 6 discussi on)


> If anybody could explain me how thread works then I'd be glad to modify
the
> opacity extension. I had a quick look at the code, but I don't understand
> how to hook it up with my code. (I was hoping that having a look at
> DynLayer.slideTo would have cleared this up for me, but I see that it's
been
> changed and now uses the path extension)
>
> Ruairi Mc Comb
>
> -----Mensaje original-----
> De: Michael Pemberton [mailto:[EMAIL PROTECTED]]
> Enviado el: jueves 8 de febrero de 2001 14:46
> Para: [EMAIL PROTECTED]
> Asunto: Re: [Dynapi-Dev] opacity extension for DynAPI (following up on
> Netscape 6 discussi on)
>
>
> cool.  haven't had much of a chance to play with the intervals yet.
thanks
> for
> the info.
>
> Jordi \"ilMaestro\" Ministral wrote:
>
> > I've tested, and it is far more efficient to have one single interval.
> > Moverover, my tests showed that NS will fail miserably to render any of
> the
> > animated layers when there's, say, about 50 setIntervals moving
different
> > layers, whereas having one interval move 100 layers performed smoothly.
> >
> > Richard Bennett wrote:
> >
> > >  I haven't tested whether
> > > thread running 100 animations is more efficient than 100 animations
> using
> > > their own setTimeout, but I would expect so.
> > >
> > > Cheers,
> > > Richard Bennett
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from
> Namezero.com. New!  Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to