# Add random movieclips to stage problem

**URL:** https://forum.kirupa.com/t/add-random-movieclips-to-stage-problem/277080
**Category:** flash
**Created:** [December 7, 2008, 2:55pm UTC](https://forum.kirupa.com/t/add-random-movieclips-to-stage-problem/277080 "2008-12-07T14:55:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![emrepbrown](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@emrepbrown](https://forum.kirupa.com/u/emrepbrown)
#### Post date: [December 7, 2008, 2:55pm UTC](https://forum.kirupa.com/t/add-random-movieclips-to-stage-problem/277080/1 "2008-12-07T14:55:20Z")

</div>

Hello everyone. My problem is that i want to adding random movie clips to stage from library ,where there are some movieclips, when i click to stage. I want to create a button and addevent listener to it then each time it adds random movieclips from library without no removing previous MovieClips with using AS3. I haven’t found the math random adding code when i click the myButton. Thanks.
