I have an action that when a movieclip is clicked it is supposed to move to the top left of the screen. I have a FOR statement that is supposed to move it there in ten intervals, but the movieclip seems to jump right to the top left. Can I make each For loop pause for a small increment before it executes the next loop to make the movieclip appear to move to the top instead of jump?
var x:Number=movieClip._x;
var newx:Number=x/10;
var y:Number=movieClip._y;
var newy:Number=y/10;
for (var i:Number = 1; i<11; i++) {
x=(x-newx) ;
movieClip._x=x;
y=(y-newy) ;
movieClip._y=y;
}