# Displaying loading progress of a movie loaded into a movie

**URL:** <https://forum.kirupa.com/t/displaying-loading-progress-of-a-movie-loaded-into-a-movie/14366>\
**Category:** flash\
**Created:** [February 25, 2003, 4:56pm UTC](https://forum.kirupa.com/t/displaying-loading-progress-of-a-movie-loaded-into-a-movie/14366 "2003-02-25T16:56:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j\_mcc99](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/j_mcc99/32/71_2.png) [@j\_mcc99](https://forum.kirupa.com/u/j_mcc99)\
**Post date:** [February 25, 2003, 4:56pm UTC](https://forum.kirupa.com/t/displaying-loading-progress-of-a-movie-loaded-into-a-movie/14366/1 "2003-02-25T16:56:15Z")

</div>

My situation:

My \_root movie is nothing more than a interface with navigation buttons. When someone clicks a button another swf is loaded into an empty movie clip on \_root.

My Problem:

I understand loaders and use them all the time, however, I still to this day have never gotten a loader to work with loading an external movie into a currently playing movie. (ie: in my \_root movie you press the “Searching” button and searching.swf is loaded into \_root.contents --\> contents is the empty movie clip)  
So anyways… where does the loader go? The only results I’ve ever had is as SOON as the loadMovie method is called the movie hangs until the entire movie clip is loaded. Then the loader runs… thus making it totally useless.

Now I know regardless of what I say people are going to say, “Check out the tuts section bud!”… but I already have and I still have never gotten a loader like this to work. Advice would be great. A working fla emailed to me or copy and pasted actionscript would be AMAZING! - [j\_mcc99@yahoo.com](mailto:j_mcc99@yahoo.com)

Thanks in advance!!

---

<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 25, 2003, 11:46pm UTC](https://forum.kirupa.com/t/displaying-loading-progress-of-a-movie-loaded-into-a-movie/14366/2 "2003-02-25T23:46:31Z")

</div>

assuming that the preloader is in the swf you’re loading …

you would use either  
**\_root.contents.getBytesLoaded()  
\_root.contents.getBytesTotal()**  
or  
**this.getBytesLoaded()  
this.getBytesTotal()**

from there build the preloader as you always would 🙂 it should work
