Hi,
I've already made this work in AS3 (http://forums.greensock.com/topic/257-drawing-with-tweenmax-solved/)
That's working very fine. Now, i'm trying to make this work with JS....But right now, it doesn't work. Is anyone could help me? Thanks a lot.
function buildPathTimeline($points, $graphics, epaisseur, color){
var timeline = new TimelineLite({paused:true});
var p //point
var strColor;
var numEpaisseur;
var dx; //distance on the x-axis
var dy; //distance on the y-axis
var d; //distance
var pen; //stores information about the coordinates and previous points