# Movieclip delay?

**URL:** <https://forum.kirupa.com/t/movieclip-delay/11462>\
**Category:** Uncategorized\
**Created:** [January 17, 2003, 1:37pm UTC](https://forum.kirupa.com/t/movieclip-delay/11462 "2003-01-17T13:37:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weiron](https://avatars.discourse-cdn.com/v4/letter/w/b9e5f3/32.png) [@weiron](https://forum.kirupa.com/u/weiron)\
**Post date:** [January 17, 2003, 1:37pm UTC](https://forum.kirupa.com/t/movieclip-delay/11462/1 "2003-01-17T13:37:59Z")

</div>

Hi Flashers

IN My main scene 1 have a movieclip that I want to loop (play several times), with a 10 second delay each times.

Right Now I have put 30 empty frames in the beginning of the movieclip and no stop script. But I believe there is a actionscript line I can use instead and get rid of these emty frames ?

Anybody knows ??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 17, 2003, 2:02pm UTC](https://forum.kirupa.com/t/movieclip-delay/11462/2 "2003-01-17T14:02:53Z")

</div>

```php

APause = setInterval(GoBack, 10000);
//calls a function called GoBack every 10 seconds//
function GoBack() {
 clearInterval(APause);
 //removes the APause, now it won't happening again//
 //whatever delayed action you want//
}

```

:beam:
