# Randomly choose arrays and duplicate movieclip?

**URL:** <https://forum.kirupa.com/t/randomly-choose-arrays-and-duplicate-movieclip/233119>\
**Category:** Uncategorized\
**Created:** [July 20, 2007, 9:46am UTC](https://forum.kirupa.com/t/randomly-choose-arrays-and-duplicate-movieclip/233119 "2007-07-20T09:46:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cturner](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@cturner](https://forum.kirupa.com/u/cturner)\
**Post date:** [July 20, 2007, 9:46am UTC](https://forum.kirupa.com/t/randomly-choose-arrays-and-duplicate-movieclip/233119/1 "2007-07-20T09:46:41Z")

</div>

I am wondering if someone could please tell me how I could do the following with actionscript:  
onload of scene randomly choose a category (which is in an array) and match that category with the right subject (which is also in an array). Then duplicate a movieclip to amount of letters in the matched subject? I have been searching Google for the answer however got nowhere. I don’t want you to write the whole code for me. All I want is someone to guide me. Thanks in advance.
