javascript - Raphael JS, Path animation problem -
i have path:
var original_param = 'm '+p1.x+' '+p1.y+'l '+p2.x+' '+p2.y; var path = paper.path(original_param); i have defined path attribute animation:
var animation_param={m: p11.x+' '+p11.y, l: p22.x+' '+p22.y} where p1 , p2 points, not put definitions here, since return proper values correctly here.
then animate path parameters by:
path.animate(animation_param, 1000); but got error message

what reason of error?
did try use animation_param string except object? think should work.
Comments
Post a Comment