try this and see if that's what you want:
var seqSlide = function (){
gpanelListener=new EventListener()
gpanelListener.onslideend=function(e) {
pImg.setImageSrc('../src/lib/dynapi/images/common/'+imgArray[numImg]);
gPanel.slideTo(0,0);
}
gPanel.addEventListener(gpanelListener)
gPanel.slideTo(sizX*(-1),0);
}
not sure if the image also invokes an event, so it might overlap slightly
with the next slideto..
but this is what I understand from your question :-)
Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Maltese Girón,
> Carlos
> Verzonden: dinsdag 13 februari 2001 10:04
> Aan: '[EMAIL PROTECTED]'
> Onderwerp: [Dynapi-Help] Sequence
>
>
> I have :
> var seqSlide = function (){
> gPanel.slideTo(sizX*(-1),0);
>
> pImg.setImageSrc('../src/lib/dynapi/images/common/'+imgArray[numImg]);
> gPanel.slideTo(0,0);
> }
> How can I do to execute the sentences in a sequential mode.
>
> thanks
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help