# Preloader to load 2 movies

**URL:** https://forum.kirupa.com/t/preloader-to-load-2-movies/91498
**Category:** Uncategorized
**Created:** [October 4, 2003, 8:16pm UTC](https://forum.kirupa.com/t/preloader-to-load-2-movies/91498 "2003-10-04T20:16:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sum](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sum](https://forum.kirupa.com/u/sum)
#### Post date: [October 4, 2003, 8:16pm UTC](https://forum.kirupa.com/t/preloader-to-load-2-movies/91498/1 "2003-10-04T20:16:00Z")

</div>

hi… im having problems loading 2 movies at once… basically i have a main menu movie clip… whereby wen the movie starts… it loads another submovie inside it… so wat i want the preloader to do is load BOTH the main menu movie clip and the submovie at the same time… can anyone help me? thx

my coding for the preloader is as follows:

bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.loadBar.\_width = getPercent_202.0;  
this.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}

can i attach 2 movies to load at once? help asap thx 🙂
