hmm.. yes, you might want to flag something to not get it in a loop
or remove the evenlistener in the first onslideend() event.

still not sure if that was what was requested though :)

Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Michael
> Pemberton
> Verzonden: dinsdag 13 februari 2001 13:48
> Aan: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Onderwerp: [Dynapi-Dev] Re: [Dynapi-Help] Sequence (slide questions)
>
>
> won't the slide event trigger an end event when it reaches
> 0,0?  if so, would it then be
> stuck in a loop.
>
> if this is the case, is there any way of extending the slide
> / movement animations to tell
> them to not trigger events?
>
> the playanimation line in the slide event look like this:
>
> this.pathanim.playAnimation(PathAnimation.line(this.x,this.y,
> x,y, inc));
>
> how does this correspond with the following?
>     PathAnimation.prototype.playAnimation = function (noevt) {
>
> should the slide method have a noevt variable added to it
> that it then passed to the
> playanimation method?
>
> Pascal wrote:
>
> > 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
>
> --
> 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

Reply via email to