# Preloading multiple movies

**URL:** <https://forum.kirupa.com/t/preloading-multiple-movies/13988>\
**Category:** Uncategorized\
**Created:** [February 20, 2003, 5:11pm UTC](https://forum.kirupa.com/t/preloading-multiple-movies/13988 "2003-02-20T17:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![niklasw](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@niklasw](https://forum.kirupa.com/u/niklasw)\
**Post date:** [February 20, 2003, 5:11pm UTC](https://forum.kirupa.com/t/preloading-multiple-movies/13988/1 "2003-02-20T17:11:08Z")

</div>

Hi all!

I just cant seem to get my preloaders to work.

I have a preloader for my main movie, and it works great, but I have a problem. This is my situation:

I have an empty MC, holder, which exists inside another movieclip, called lower. When I click a button in another MC called menuanimation, f ex the “portfolio”-button, I set a variable called “film” to “portfree.swf”, the swf I want to load into holder.  
Inside the lower MC,Inframe1 I have the code  
loadMovie(\_root.menuanimation.film,\_root.lower.holder);

I think thats correct, cause it works…hehe…

However, I want a preloader for that empty MC(holder) and I cant seem to get it to work!! Arghhh!

:cool:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 20, 2003, 6:01pm UTC](https://forum.kirupa.com/t/preloading-multiple-movies/13988/2 "2003-02-20T18:01:47Z")

</div>

Well you could easily just put a preloader on each external .swf file.

And you can also write loadMovie as  
\_root.lower.holder.loadMovie(\_root.menuanimation.film);

And if you want you can also use this method of preloading dynamic content with loadMovie…

[http://www.kirupaforum.com/showthread.php?s=&threadid=15472](http://www.kirupaforum.com/showthread.php?s=&threadid=15472)
