Hi,
I am using TweenMax.
I am making several points, and drawing a line out of it. The thing is, I don’t know how many points there will be, as they are dynamic.
var path:LinePath2D = new LinePath2D([
new Point(myNodes[0].x + 54, myNodes[0].y + 86),
new Point(myNodes[1].x + 54, myNodes[1].y + 86))]
So in this example, I am drawing a line between just two points. What if I don’t know how many points there are though? There has to be a way to run this through a loop to check how many elements are in “myNodes” array.
Any help would be great.