# Loading Movies

**URL:** <https://forum.kirupa.com/t/loading-movies/218019>\
**Category:** Uncategorized\
**Created:** [March 4, 2007, 8:34am UTC](https://forum.kirupa.com/t/loading-movies/218019 "2007-03-04T08:34:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Buckycat7](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@Buckycat7](https://forum.kirupa.com/u/Buckycat7)\
**Post date:** [March 4, 2007, 8:34am UTC](https://forum.kirupa.com/t/loading-movies/218019/1 "2007-03-04T08:34:46Z")

</div>

Okay…so this isn’t a basic as the title but I have a question about loading a movie. What I have is a movie with a menu that loads external SWF’s into a Movie Clip Loader on the stage. That works fine, but this is my problem…right now you have to click one of the links to load a movie so when the page first loads there is just a blank white space that only gets filled when a movie is loaded. What I would like to do is have the one of the movie load into the MC holder when the page loads and not waiting for the viewer to click a link.

I had a friend suggest trying the on(load) function but that didn’t work. Here is the code we tried:

```auto

holder.on(load){
     holder.loadMovie("1.swf",1);
}

```

It is something that simple or is there something else that I’m missing? Also is there a way to randomly load any of the movies?
