# Problems with random movieclips

**URL:** <https://forum.kirupa.com/t/problems-with-random-movieclips/4515>\
**Category:** Uncategorized\
**Created:** [August 12, 2002, 2:10pm UTC](https://forum.kirupa.com/t/problems-with-random-movieclips/4515 "2002-08-12T14:10:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://forum.kirupa.com/u/Ryan)\
**Post date:** [August 12, 2002, 2:10pm UTC](https://forum.kirupa.com/t/problems-with-random-movieclips/4515/1 "2002-08-12T14:10:48Z")

</div>

i had used the action scrip suggested

\_root.name = random(5);  
\_root[“movieClip”+\_root.name].play();

i placed it at the end of each movie clip, named the movie clips correctly, and placed stop commands at the beguining of each movie clip. i also placed that action script at the beguining of my main movie.

am i dong something wrong? i just want to play 5 movieclips at random. if needed i can through the fla. up. thanks in advance

=ryan=
