Bug #128419, was updated on 2001-Jan-11 02:53
Here is a current snapshot of the bug.
Project: DynAPI 2
Category: API Extentions
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: marstr
Assigned to : nobody
Summary: PathAnimation.run() bug
Details: a bug in PathAnimation.run() causes PathAnimation.run()
not to stop when the path is finished.
netscape throws an error:
can't convert this.x to an integer.
the problem is when this.newX and this.newY
is set in pathanim.js line #92 and #93
after the path is finish this.newX and this.newY
gets undefined as new x and y-values.
i've made a quick-fix just to test:
if (typeof this.newX=='undefined' || typeof this.newY=='undefined') {
this.stopAnimation();
return;
}
and put the line after new this.newX/newY values have
been set.
it workes, but i suppose a real pach should take
care and stop the animation earlier in the method.
Follow-Ups:
Date: 2001-Feb-12 02:39
By: nobody
Comment:
When is this behavior visible?
I've worked with pathanim a lot and since the fixes in the latest release I
thought it was ok.
Richard
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128419&group_id=5757
|