# Need Help with random sounds

**URL:** https://forum.kirupa.com/t/need-help-with-random-sounds/230408
**Category:** flash
**Created:** [June 26, 2007, 2:22am UTC](https://forum.kirupa.com/t/need-help-with-random-sounds/230408 "2007-06-26T02:22:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wildcard](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wildcard](https://forum.kirupa.com/u/wildcard)
#### Post date: [June 26, 2007, 2:22am UTC](https://forum.kirupa.com/t/need-help-with-random-sounds/230408/1 "2007-06-26T02:22:07Z")

</div>

k here is my problem,

I need to make a certain frame randomly go to scene and play a certain frame. I have searched for somethign of that sort for a long time with no luck, I guess i need an action  
script to randomly pick a variable and depending on the variable it should

gotoandplay( “scene”, 2);

That way I could make the webpage constantly randomize sounds every 10 secs or so.

Please reply with any questions to what is it that i need, or with a solution, I will be more  
than glad to help with what i can.
