# Random sounds in flash?

**URL:** <https://forum.kirupa.com/t/random-sounds-in-flash/25714>\
**Category:** Uncategorized\
**Created:** [July 15, 2003, 11:48pm UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714 "2003-07-15T23:48:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![UncleGuito](https://avatars.discourse-cdn.com/v4/letter/u/f08c70/32.png) [@UncleGuito](https://forum.kirupa.com/u/UncleGuito)\
**Post date:** [July 15, 2003, 11:48pm UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/1 "2003-07-15T23:48:15Z")

</div>

how do u make something in flash, a file without frames or tweens, have it randomly loop sounds that are in its library? is this possibel?

---

<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 15, 2003, 11:52pm UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/2 "2003-07-15T23:52:58Z")

</div>

This be better in the flash forum?

---

<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 15, 2003, 11:54pm UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/3 "2003-07-15T23:54:44Z")

</div>

i dunno, i just thought more people would kno here

---

<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 15, 2003, 11:57pm UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/4 "2003-07-15T23:57:44Z")

</div>

I moved this, just because one area gets more attention than another doesn’t mean you should post an irrelevant question there, so please post in the appropriate section.

As for your sound thing… you can use the sound object. You can learn all about that here…

[www.kennybellew.com](http://www.kennybellew.com)

---

<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 16, 2003, 12:22am UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/5 "2003-07-16T00:22:22Z")

</div>

i read through it and it didnt make any scence to me. i dont even think it described how to do what i was asking…

---

<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 16, 2003, 12:24am UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/6 "2003-07-16T00:24:54Z")

</div>

That site is THE BEST site to find out how to use the Sound Object in Flash.

It explains things very well, and it doesn’t explain your random situation, but once you know how to use the Sound Object the rest is just randomizing which sound it plays.

---

<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 16, 2003, 3:45pm UTC](https://forum.kirupa.com/t/random-sounds-in-flash/25714/7 "2003-07-16T15:45:19Z")

</div>

you can store sounds in an array, and randomly play them from there. read the kenny bellow tute, and then read about arrays, it shouldnt be that difficult
