# Time delay

**URL:** https://forum.kirupa.com/t/time-delay/95741
**Category:** Uncategorized
**Created:** [November 30, 2003, 1:04am UTC](https://forum.kirupa.com/t/time-delay/95741 "2003-11-30T01:04:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kaos](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@kaos](https://forum.kirupa.com/u/kaos)
#### Post date: [November 30, 2003, 1:04am UTC](https://forum.kirupa.com/t/time-delay/95741/1 "2003-11-30T01:04:37Z")

</div>

hi all,

I have a movie script on the stage.  
After a delay of 3sec, I want the movie clip to move to a new location. I attached the following to an instance of the movie clip that is on stage:

onClipEvent (load) {  
this.\_x = 200;  
this.\_y = 200;  
apause();  
function apause() {  
start=getTimer();  
if (start\>3000){  
break;  
}  
}  
this.\_x = 400;  
this.\_y = 200;  
}

It goes to the location 400,200 immediately without the delay.  
What am I not doing right?
