# Problems loading movie within movie

**URL:** <https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074>\
**Category:** Uncategorized\
**Created:** [August 2, 2004, 4:32pm UTC](https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074 "2004-08-02T16:32:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![miu66](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@miu66](https://forum.kirupa.com/u/miu66)\
**Post date:** [August 2, 2004, 4:32pm UTC](https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074/1 "2004-08-02T16:32:50Z")

</div>

i have a button (which resides inside a container MC which is in a movie on level1) that has the following script attached to it:

```auto
 
[color=#000087]on[/color] (release) {
		loadMovieNum("[color=blue]projects_nav.swf[/color]", [color=#000087]1[/color]);
		[color=#000087]this[/color].[color=#000087]onEnterFrame[/color] = [color=#000087]function[/color](){
				[color=#000087]if[/color](_level1.[color=#000087]getBytesLoaded[/color]() >= _level1.[color=#000087]getBytesTotal[/color]()){
						[color=#878787]//load second movie...
[/color] [color=#000087]loadMovie[/color]("[color=blue]sentosa.swf[/color]", [color=#000087]_root[/color].contents);
						
					   }
		};
}

 

```

“projects\_nav.swf” is loading correctly onto level1 but “sentosa.swf” is not loading into the target (which is a containerMC in projects\_nav.swf). anyone have any idea why?? is my script wrong??:q:

---

<div class="post-metadata">

**Author:** ![miu66](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@miu66](https://forum.kirupa.com/u/miu66)\
**Post date:** [August 3, 2004, 3:12am UTC](https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074/2 "2004-08-03T03:12:55Z")

</div>

Anyone?? Please?? Need help pretty urgently!!

---

<div class="post-metadata">

**Author:** ![bobdoe](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bobdoe](https://forum.kirupa.com/u/bobdoe)\
**Post date:** [August 3, 2004, 2:21pm UTC](https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074/3 "2004-08-03T14:21:09Z")

</div>

The code seems correct after I scanned through it. I just dont like how the sentosa.swf file is constantly loading after getBytesLoaded\>=getBtyesTotal.

---

<div class="post-metadata">

**Author:** ![miu66](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@miu66](https://forum.kirupa.com/u/miu66)\
**Post date:** [August 3, 2004, 3:12pm UTC](https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074/4 "2004-08-03T15:12:03Z")

</div>

oh! for me, the sentosa.swf doesn’t load at all. projects\_nav.swf loads up fine but then nothing else happens.

---

<div class="post-metadata">

**Author:** ![bobdoe](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bobdoe](https://forum.kirupa.com/u/bobdoe)\
**Post date:** [August 3, 2004, 3:19pm UTC](https://forum.kirupa.com/t/problems-loading-movie-within-movie/118074/5 "2004-08-03T15:19:17Z")

</div>

what im saying is that might be the problem. Having a file being constantly loaded. Will the file ever show up?
