How to remove only after the Tween move is over
I want the last statement removeChild(dropBall1); in this script, to be executed only after the Tween move is over. How do I do that? right now as it is, it gets removed right away.
function onClick10f1(e: MouseEvent) {
addChild(dropBall1)
removeChild(bigBall1)
dropBall1.x = 356.10;
dropBall1.y = 28;
var bigBDrop1: Tween = new Tween(dropBall1, "y", Regular.easeIn, 28, 156, 1, true);
removeChild(dropBall1);