Hello,
is it possible to tween or trigger a Raphael Path morph with TweenMax?
var path1 = "M0 0 L0 501 L200 80";
var path3 = "M0 0 L501 0 L501 501 L0 501";
var paper = Raphael($('.contMorph').get(0), 500, 500);
var shape = paper.path(path1); shape.attr('fill', '#333333'); shape.attr('stroke', 0)
TweenMax.to(shape, 3, {raphael: {fill: '#ff00aa',path:path3}});
This didn't seams to work.
Cause of loosing control i don't want to use the native Raphael animation.
Someone know a workaround for this?
Thx and greets,
The Monkey