Bugs item #228419, was updated on 2001-01-11 02:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=228419&group_id=5757

Category: Extentions
Group: None
>Status: Closed
Priority: 5
Submitted By: martin str�m (marstr)
Assigned to: Nobody/Anonymous (nobody)
Summary: PathAnimation.run() bug

Initial Comment:
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.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-02-12 02:39

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=228419&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to