I have a TextField and a Sprite both at y = -20;
and they are in the correct position.
Then I do this tween.
Tweener.addTween(t, {y: 20, time:0.5, transition:"linear"});
Tweener.addTween(noteBar, {y: 20, time:0.5, onComplete:Hold, transition:"linear"});
(t is the TextField and noteBar is the Sprite)
What happens when I do this is that the Sprite goes to y = 0; but the TextField goes to y = 20;
It works correctly if I have the TextField y at 0 and the Sprite y at 20.
But then I need to do this to get them back into the original position.
Tweener.addTween(t, {y: -20, time:0.5, transition:"linear"});
Tweener.addTween(noteBar, {y: 0, time:0.5, transition:"linear"});
Because if I let the Sprite go -20 then it will end up at y = -40;
Why does it act this way?