# Load bar in loaded movies

**URL:** <https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209>\
**Category:** flash\
**Created:** [May 7, 2002, 2:00pm UTC](https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209 "2002-05-07T14:00:24Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [May 7, 2002, 2:00pm UTC](https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209/1 "2002-05-07T14:00:24Z")

</div>

I’m using the loadmovie action to load movies on my main timeline…i want to place a load bar on each movie…i used the same load bar that upaut taught me to do on a little tut posted in the forum(referred by jubba)…

i dont know but something tells me that the movie loaded can’t exceed the first frame…

is it or not?..and if it is…then how do i do that??? \<img src=http://www.ezboard.com/intl/aenglish/images/emoticons/ohwell.gif ALT=":"\>

thanx a lot!  
:eek:

---

<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:** [May 7, 2002, 6:34pm UTC](https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209/2 "2002-05-07T18:34:33Z")

</div>

the movie that loads in basically becomes a movie clip and it still has all its frames and will use its own actionscript, however, some of the script might need to be changed. With what you are doing, I don’t think it needs to be changed because the preloader doesn’t call for any outside interaction…i may be wrong though…

---

<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:** [May 10, 2002, 3:28pm UTC](https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209/3 "2002-05-10T15:28:39Z")

</div>

ok

this is what you’d do:

just make a preloader

total = \_level0.getBytesTotal();  
frames = \_level0.getBytesLoaded();

if (frames == total){  
\_level0.play();  
}

basically when you load the movie into the existing movie, it’s no longer in \_root, you want it to preload \_level0

make sense?

---

<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:** [May 10, 2002, 8:25pm UTC](https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209/4 "2002-05-10T20:25:31Z")

</div>

I think that might just confuse matters bOxg33k.

the loadMovie(); method loads into a movie clip, not into level0 or root.

---

<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:** [May 10, 2002, 9:11pm UTC](https://forum.kirupa.com/t/load-bar-in-loaded-movies/2209/5 "2002-05-10T21:11:27Z")

</div>

cause when you loadMovie(“external.swf”, “/info”);

```
  the preloader just loads in that movie and not the root level, why would you want it to check the bytes loaded for root, you want it to check the movie thats being loaded.
```
