# Random but no repeated

**URL:** <https://forum.kirupa.com/t/random-but-no-repeated/127683>\
**Category:** Uncategorized\
**Created:** [November 5, 2004, 3:04am UTC](https://forum.kirupa.com/t/random-but-no-repeated/127683 "2004-11-05T03:04:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc0047](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@marc0047](https://forum.kirupa.com/u/marc0047)\
**Post date:** [November 5, 2004, 3:04am UTC](https://forum.kirupa.com/t/random-but-no-repeated/127683/1 "2004-11-05T03:04:01Z")

</div>

I have 10 images I want to load randomly into 3 separate movieclips just once (as to perpetually rotating). I want to be sure that during the random shuffling and placement, that an image is not repeated.

For exampe, I would like the following sampling set of numbers to come up:  
1,2,3  
1,5,9

I don’t want the following to happen:  
2,2,5  
7,7,7

How do I avoid having numbers repeated when using ‘random’? Any tips or pointers for tutorials? Thanks.
