# Load Random Movie Into Movie Clip?HELP?!

**URL:** <https://forum.kirupa.com/t/load-random-movie-into-movie-clip-help/174399>\
**Category:** Uncategorized\
**Created:** [January 5, 2006, 12:14pm UTC](https://forum.kirupa.com/t/load-random-movie-into-movie-clip-help/174399 "2006-01-05T12:14:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jennings112](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jennings112](https://forum.kirupa.com/u/jennings112)\
**Post date:** [January 5, 2006, 12:14pm UTC](https://forum.kirupa.com/t/load-random-movie-into-movie-clip-help/174399/1 "2006-01-05T12:14:08Z")

</div>

![](http://www.kirupaforum.com/forums/images/icon29.gif) **Load External Random Movies Into a Movie Clip??HELP!**  
Alright i have done this tutorial on this site [http://www.kirupa.com/developer/acti…ndom\_movie.htm](http://www.kirupa.com/forum/../developer/actionscript/loading_random_movie.htm).  
But I need help with the Action Script?? Could any one help me modifie the AS to allow this movie clips to be loaded in to another container movie clip…  
My Current AS is;

filename = [“Banner1.swf”, “Banner2.swf”, “Banner3.swf”];  
path = “[http://www.buildersmart.com.au/flash/](http://www.buildersmart.com.au/flash/)”;  
i = filename.length;  
k = Math.floor(Math.random()\*i);  
loadMovie(path+filename[k], movieTarget);
