# Code to make movie clips shuffle

**URL:** <https://forum.kirupa.com/t/code-to-make-movie-clips-shuffle/298901>\
**Category:** flash\
**Created:** [October 26, 2009, 11:35pm UTC](https://forum.kirupa.com/t/code-to-make-movie-clips-shuffle/298901 "2009-10-26T23:35:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thevibe](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Post date:** [October 26, 2009, 11:35pm UTC](https://forum.kirupa.com/t/code-to-make-movie-clips-shuffle/298901/1 "2009-10-26T23:35:31Z")

</div>

Hi Guys,

I have a project and i have an issue with an idea i have. The index of the website is in html with a simple link to enter the main menu page in flash. But in the main menu i have a movie clip of a man in the center. In fact, i have 3 different images of men that i want to make appear, in a shuffle way, instead of 1. So when people visit the website, the main menu page could present 1 of the 3 pictures i chose in a random way. So a kind of shuffle every time someone log into the main menu page. So do you know what kind of code i could write to make it work ? It could be in the index page (html) or in the flash page itself ?

Thanks
