# Random content from array

**URL:** <https://forum.kirupa.com/t/random-content-from-array/139875>\
**Category:** Uncategorized\
**Created:** [March 6, 2005, 5:30pm UTC](https://forum.kirupa.com/t/random-content-from-array/139875 "2005-03-06T17:30:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imported\_Mrrufus](https://avatars.discourse-cdn.com/v4/letter/i/e95f7d/32.png) [@imported\_Mrrufus](https://forum.kirupa.com/u/imported_Mrrufus)\
**Post date:** [March 6, 2005, 5:30pm UTC](https://forum.kirupa.com/t/random-content-from-array/139875/1 "2005-03-06T17:30:08Z")

</div>

Hi,

I have 12 empty Movie clips on stage. I want to get the content (jpg’s or swf’s) for these containers from an array. This is all fine, but I would like the contents to be loaded randomly into one of the 12 containers.  
The containers load the jpg’s, which are preview thumbnails that need to link to the actual larger image plus some text. Loading eveything is OK, but I haven’t figured out how to load the content into a random MC…  
I attached the fla and images, any help is really appreciated…

Rufus
