# Randomizing Audio

**URL:** <https://forum.kirupa.com/t/randomizing-audio/274333>\
**Category:** flash\
**Created:** [October 28, 2008, 4:26pm UTC](https://forum.kirupa.com/t/randomizing-audio/274333 "2008-10-28T16:26:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wahiche](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@wahiche](https://forum.kirupa.com/u/wahiche)\
**Post date:** [October 28, 2008, 4:26pm UTC](https://forum.kirupa.com/t/randomizing-audio/274333/1 "2008-10-28T16:26:12Z")

</div>

I know this is probably easy but I have lokoed everywhere and cannot find the solution so if anyone can help me with the most simple thing it would be great.

What I need is to have random audio play when I roll over a button. Without repeating the same one before going through all of them would be great but not a requirement.

I have 10 clips lets say, all very short, I want them to either work with external files, or as linkage through the library.

Thanks so much.

P.S. ActionScript 2.0 please. 🙂
