# Putting a puase in...a movie

**URL:** <https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691>\
**Category:** Uncategorized\
**Created:** [July 25, 2002, 8:36pm UTC](https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691 "2002-07-25T20:36:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![YoungMaster](https://avatars.discourse-cdn.com/v4/letter/y/f9ae1b/32.png) [@YoungMaster](https://forum.kirupa.com/u/YoungMaster)\
**Post date:** [July 25, 2002, 8:36pm UTC](https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691/1 "2002-07-25T20:36:07Z")

</div>

First, thank everyone who answered my previous questions…I know they may be trivial to most of you, but a noob likes all the help he/she can get…🙂

Now, I am trying to put a pause into my action…where i want a movie to play, and then hold for 5 secs after a button press, and then play the linked movie…I know its probably something simple i overlooked…something I could stick between the last action in the script and the next action( which would be gotoand play()…)

Thanx in advance…

---

<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 25, 2002, 8:50pm UTC](https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691/2 "2002-07-25T20:50:26Z")

</div>

I am not sure if this could help alot but if your movie is 12fps than you could put 59 clear frames after the frame you want to pause.

i hope it works:-\

---

<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 26, 2002, 8:49am UTC](https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691/3 "2002-07-26T08:49:53Z")

</div>

Well, Aero, this might work but your scenes will be 5000 frames long if you do that…

It’s better to do it with AS: getTimer() can be useful, setInterval() too. getTimer() returns the elapsed time in ms since the movie started, and setInterval executes a function after a given amount of time (exactly what you want, basically 🙂  
By the way, you want to press a button, play a movie, wait for 5 seconds, an then play another movie, is that right?

pom :asian:

---

<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 26, 2002, 10:45am UTC](https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691/4 "2002-07-26T10:45:58Z")

</div>

Hi there,  
I had this same problem not so long ago, and after much searching and help from various forums, I finally found out how to do it.

I wrote a mini tutorial which can be found here

[www.dt-creations.co.uk/tutorials/pause.zip](http://www.dt-creations.co.uk/tutorials/pause.zip)

Hope this helps, i think I covered everything that I did.

Good luck

Danny

---

<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 26, 2002, 10:49am UTC](https://forum.kirupa.com/t/putting-a-puase-in-a-movie/691/5 "2002-07-26T10:49:10Z")

</div>

replying to myself but…

I re read your post (ooooops) and see that you want to press a button before the pause starts.

Now, I’m a newbie but maybe you could have some sort of

On Keypress  
stoppedTime = getTimer();  
End

where  
stoppedTime = getTimer();  
is the tutorial in the previous post.

Or something similar.

This is just a wild guess but makes sense to me
