|
From: Raymond S. <dst...@or...> - 2000-12-07 17:00:00
|
Well, the bug is in pathanim.js. The slideTo methods were overrighting the
old slideTo methods and it appears to 'skip' the final pathmove on select
horizaontal and vertical moves.
Also, I would recommend that the slide.js be deleted or deprecated with an
explanation inside it. I entirely missed the new slideTo methods because I
did'nt study the new animation code completely.
I'll piddle with the pathanim.js later. Probably just needs a final
'movecomplete' check to assure that the animation end == the destination
x,y. Simular to what was in the old slideTo.
Later
DS
----- Original Message -----
From: "Richard :o" <ma...@ri...>
To: <dyn...@li...>
Sent: Wednesday, December 06, 2000 7:07 AM
Subject: Re: [Dynapi-Dev] Interesting slideTo bug in veiwport (both NS and
IE)
> I'm surprised, on 6/12/2000 you post that the fault is in the Math.round
> in pathanim.js, so you know slide.js is not being used, so the events
can't
> be triggered of course.
>
> did you read my post on the bug in pathanim.js line 133 should read y2==y1
> NOT y2==y2 so:
> var dy = y2==y1? 0 : (y2-y1)/N;
>
> don't include slide.js in your document anymore.(it might conflict)
>
> use onpathstart not onslide
> use onpathrun not onslide
> use onpathstop not onslideend
>
> That's all I can think of on that subject.
>
> Richard:o)
>
>
> ----- Original Message -----
> From: "Raymond Smith" <dst...@or...>
> To: <dyn...@li...>
> Sent: Thursday, December 07, 2000 2:17 PM
> Subject: [Dynapi-Dev] Interesting slideTo bug in veiwport (both NS and IE)
>
>
> > I've been using a viewport as a window to view one of nine content
> options.
> > It's a 3X3 array of images with 9 slideTo that center each of the nine
> > windows. This all worked fine til the new animation system, now it has
> some
> > odd (but definable behavioral bugs that show up in both IE and NS.
> >
> > 1) It works fine on any diagonal slide.
> > 2) horizontal or vertical slides either are:
> > a) always wrong in one direction, or
> > b) wrong every other iteration, in one direction.
> >
> > The following method (line 45, slide extension), which should clean up
> final
> > moves to destination points (x,y) never seems to fire.
> >
> > else {
> > this.moveTo(this.slideEndX,this.slideEndY)
> > this.invokeEvent("slide")
> > this.slideActive = false
> > clearInterval(this.slideInterval)
> > this.invokeEvent("slideend")
> > }
> > }
> >
> > I'll continue to peruse this tomorrow. Wanted to put it up for Dan to
> look
> > at since he wrote all the math and event handlers that go into the new
> > system and 'might' be obvious to him.
> >
> > Later,
> >
> > DS
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > Dyn...@li...
> > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> > ____________________________________________________________
> > Get your FREE personal .com domain name and
> > NAMEzero Personal Portal at: http://www.namezero.com.
> > For customer service, mailto:cus...@na....
> >
> >
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
>
|