Ya for some reason I was having issues reversing the tween. I had something like this.
public function TestTween(evt:Event = null)
{
var sPoint:Array = TweenLineMC.Point1();
TweenPoint.x = sPoint[0];
TweenPoint.y = sPoint[1];
var ePoint:Array = TweenLineMC.Point2();
var cPoint:Array = TweenLineMC.CurvePoint();
myTween = new TweenMax(TweenPoint, 3, {bezier:[{x:cPoint[0], y:cPoint[1]}, {x:ePoint[0], y:ePoint[1]}], orientToBezier:true, onUpdateListener:CheckIfStop});
if(Dir)
{
myTween.play();
}
else
{
myTween.reverse(TweenPoint);
}
Dir = !Dir;
}
I had to break the construction code into its own method and just call the second part to play or reverse. I wanted it to reverse from where it was paused at so not always start to end and then back. Also is there a way to add additional points to the tween object? Or do I have to add all the points during construction?