# Preloaders within a Movie

**URL:** https://forum.kirupa.com/t/preloaders-within-a-movie/30750
**Category:** flash
**Created:** [September 13, 2003, 10:12am UTC](https://forum.kirupa.com/t/preloaders-within-a-movie/30750 "2003-09-13T10:12:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Paz](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@Paz](https://forum.kirupa.com/u/Paz)
#### Post date: [September 13, 2003, 10:12am UTC](https://forum.kirupa.com/t/preloaders-within-a-movie/30750/1 "2003-09-13T10:12:16Z")

</div>

Hi, this might be a very simple one!

I just can’t work it out. I am trying to open a movie within another movie, but can’t seem to get the preloader in the second movie working.

total\_bytes = \_root.getBytesTotal();  
loaded\_bytes = \_root.getBytesLoaded();  
remaining\_bytes = total\_bytes-loaded\_bytes;  
percent\_done = int((loaded\_bytes/total\_bytes)\*100);  
bar.gotoAndStop(percent\_done);  
ifFrameLoaded (“Scene 2”, 350) {  
gotoAndPlay(“Scene 2”, 1);  
}

I have used the code above for both movies. This all works fine on the first movie.

When i select a button from the navigation area to open a new movie on the right handside preloading bar don’t seem to move.

any suggestions are welcome.

Link: [http://www.watermelon.uk.com/flash/flash3.9.html](http://www.watermelon.uk.com/flash/flash3.9.html)

Only the trends and ranges buttons work.
