# Wait to loadMovie into empty MC

**URL:** <https://forum.kirupa.com/t/wait-to-loadmovie-into-empty-mc/188191>\
**Category:** flash\
**Created:** [May 5, 2006, 6:29am UTC](https://forum.kirupa.com/t/wait-to-loadmovie-into-empty-mc/188191 "2006-05-05T06:29:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![longneck](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@longneck](https://forum.kirupa.com/u/longneck)\
**Post date:** [May 5, 2006, 6:29am UTC](https://forum.kirupa.com/t/wait-to-loadmovie-into-empty-mc/188191/1 "2006-05-05T06:29:05Z")

</div>

[FONT=Arial]Hi![/FONT]

[FONT=Arial]This is my first post to the Kirupa forums… I would greatly appreciate any help at all.[/FONT]

[FONT=Arial]I have this “index.swf” I load several .swf’s into - one is the navigation (navigation.swf) another is the main illustration (intro.swf) of my site.[/FONT]

[FONT=Arial]“intro.swf” is loaded into an empty MC called “container”. What I want to do is only to load “navigation.swf” if “intro.swf” has loaded into the container.[/FONT]

[FONT=Arial]I’ve tried all kinds of variations on my script but can’t seem to get it to work - here’s how it look at the current stage:[/FONT]

[FONT=Arial][COLOR=blue]container(“intro.swf”, 1).getBytesLoaded/container(“intro.swf”, 1).getBytesTotal;  
if (container(“intro.swf”, 1) == Loaded);  
loadMovie(“navigation.swf”, 2);[/COLOR][/FONT]

[FONT=Arial][COLOR=black]Any ideas on how to fix this? [/COLOR][/FONT]

[FONT=Arial]Thanks in advance,[/FONT]  
[FONT=Arial]Longneck[/FONT]
