# Delay Movie

**URL:** <https://forum.kirupa.com/t/delay-movie/7982>\
**Category:** flash\
**Created:** [November 11, 2002, 8:52pm UTC](https://forum.kirupa.com/t/delay-movie/7982 "2002-11-11T20:52:19Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [November 14, 2002, 6:01pm UTC](https://forum.kirupa.com/t/delay-movie/7982/21 "2002-11-14T18:01:38Z")

</div>

Basically… it’s a demo movie that runs through different sections of text…

I have it running with pauses so the user doesn’t have to interact. All they have to do is hit play and watch the demo. The text pauses in certain sections, just like I planned.

I also need a stop button to clear the pause and actually “stop” the movie incase the user did have time to read it all, or had to get up for something.

Know what I mean?

---

<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:** [November 14, 2002, 6:11pm UTC](https://forum.kirupa.com/t/delay-movie/7982/22 "2002-11-14T18:11:06Z")

</div>

I am working on it, but I don’t know if I can fix it :-\

But if you want to work on it too, please notice that the pause script DOES stop() your movie, it stop() it and uses the counter, then if the counter reaches a certain point it calls upon a play() action.

---

<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:** [November 14, 2002, 6:41pm UTC](https://forum.kirupa.com/t/delay-movie/7982/23 "2002-11-14T18:41:55Z")

</div>

I see what you’re saying… it does “stop”, and the timer tells it when to start again. So, it looks as if you have to clear the timer to get it to stop permanently.

## Look at this one… it works good. Again, I can’t figure out how to clear the interval…

function pause(t, v)  
{  
t.interval = setInterval(unPause, v, t);  
t.stop();  
}

function unPause(t)  
{  
trace(“clear & play”);  
clearInterval(t.interval);  
t.play();  
}

* * *

I’ve tried using this, but it’s not working. This is beginning to be a pain.

on (press) {  
clearInterval(this);  
stop();  
}

* * *

Don’t worry holmes… I’m also working on it over here… I have been all morning… lol That’s a going crazy laugh.

[Previous page](https://forum.kirupa.com/t/delay-movie/7982.md?page=1)
