# After movie is finished

**URL:** https://forum.kirupa.com/t/after-movie-is-finished/24940
**Category:** Uncategorized
**Created:** [July 7, 2003, 2:06pm UTC](https://forum.kirupa.com/t/after-movie-is-finished/24940 "2003-07-07T14:06:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@loki](https://forum.kirupa.com/u/loki)
#### Post date: [July 7, 2003, 2:06pm UTC](https://forum.kirupa.com/t/after-movie-is-finished/24940/1 "2003-07-07T14:06:17Z")

</div>

i was wondering if you can randomly, externally load a movie from a source…but after the movie is completed, load a different one 10-20 seconds later? thanks a lot (-:

-loki

---

<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: [July 7, 2003, 2:51pm UTC](https://forum.kirupa.com/t/after-movie-is-finished/24940/2 "2003-07-07T14:51:30Z")

</div>

At the end of your movie (in the last frame), you could put that kind of code:

```auto
// this function could be declared before
function loadMov () {
   clearInterval(myInterval);
   someClip.loadMovie("someMovie.swf");
}

myInterval = setInterval(loadMov,10000);

```

The syntax is probably wrong, but you’ll have no problem to correct it if you take a look at the AS dictionary.

pom 🙂
