# Random sounds with pause inbetween

**URL:** <https://forum.kirupa.com/t/random-sounds-with-pause-inbetween/75791>\
**Category:** flash\
**Created:** [January 12, 2005, 4:51am UTC](https://forum.kirupa.com/t/random-sounds-with-pause-inbetween/75791 "2005-01-12T04:51:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottybuckets](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@scottybuckets](https://forum.kirupa.com/u/scottybuckets)\
**Post date:** [January 12, 2005, 4:51am UTC](https://forum.kirupa.com/t/random-sounds-with-pause-inbetween/75791/1 "2005-01-12T04:51:38Z")

</div>

is it possible to have random sounds play… BUT with a 15 or 30 second pause between the sounds?(interval) I have the following script to play the sounds which works but theres no pause between sounds… thanks

```auto
onLoad = function () { _global.i = random(3)+1;_root.MTMC.attachMovie("song"+_global.i, "newsong", 1);};

```
