# Random..er..Random Frame

**URL:** https://forum.kirupa.com/t/random-er-random-frame/94848
**Category:** Uncategorized
**Created:** [November 17, 2003, 3:42pm UTC](https://forum.kirupa.com/t/random-er-random-frame/94848 "2003-11-17T15:42:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![malkmus](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@malkmus](https://forum.kirupa.com/u/malkmus)
#### Post date: [November 17, 2003, 3:42pm UTC](https://forum.kirupa.com/t/random-er-random-frame/94848/1 "2003-11-17T15:42:20Z")

</div>

This isnt simply just a random frame question 😉

My simple script is as follows,  
[AS]if (whatever) {  
\_root.somemovieclip.gotoAndStop(random(1+10));  
[/AS]  
It jumps into a movie clip and goes to a random frame between 1 and 10.

What I need it to do, is (for example) go into that movie clip and play either frame 3 6 or 9. Disregarding every other frame not specified.

Somebody pleeease help me on this one, I’m so close to getting what I need to do done :crazy:

Thanks!

-Paul
