I think eventlisteners are the way to do it, see example here:
Richard_examples sequential_slides.html
http://www.richardinfo.com/?menu=examples&node=1
Cheers,
Richard Bennett
ma...@ri...
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
----- Original Message -----
From: "Nuno Ferreira" <nun...@wi...>
To: <dyn...@li...>
Sent: Monday, February 12, 2001 12:39 PM
Subject: [Dynapi-Dev] Help with pathanim...
> Hi Guys,
>
> need help with something...
>
> I have some slide animations to do, but I need to know when the last
> animation ends so I can load a page into a layer, using loadpanel.
> Something like this:
>
> <a href="javascript:void(null)"
> onClick="start_anim('pagetoload');">Whatever</a>
> .
> .
> .
> function start_anim(page_url){
> Fillet1.slideTo(null,198)
> .
> .
> Fillet20.slideTo(null,198+19)
>
> TextArea.setURL(page_url)
> }
>
> Now, because the animation "opens" up a space in the page for the text to
> appear,
> I need to know when ALL the slideTo() end so I can trigger the setURL.
> I could use a eventlistener for the all the objects that I'm sliding but
it
> seems
> a very awkward way of doing it.
>
> Any suggestions?
>
> Thanks,
>
> NunoF
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> 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
>
|