Hi, i have managed to get the following code to work and it does the job nicely, but what i would like to know if there is a way to way "once this has moves to where its supposed to be - do something"

I have all my code on frame 1 of the root. is there a way to do this without having a loop movie clip running to check if sceney = endsceney ?

Thanks for your help!


Code:
function moveY(movName, moveTo, moveType){
	var time = 25;
	var sceney = movName._y;
	var endsceney = moveTo;
	new mx.transitions.Tween(movName, "_y", moveType, sceney, endsceney , time);