[MX] Trouble loading movie that is also loading a movie

I created a Flash movie (header.swf) that did some animation then at the end, loaded another into it using this command:

loadMovie(“scrolling3.swf”,"_root.dropZone");

It loads and plays just fine. Then I created another movie (video2.swf), that loads a movie in the same fashion:

loadMovie(“tom2.swf”,"_root.mcTom");

By itself, this movie (video2.swf) runs just fine.

But now, when I wanted header.swf to load video2.swf it loads it, but the movie clip tom2.swf does not run. It just shows up as a white square in the corner. What am I doing wrong?

I have tried many of the examples from threads that I have read hear and cannot get it to work.

Sorry for the convoluted description. I hope someone can help an AS beginner like me.

Thanks,

fjhughes

Hi,
Try using the complete Media Class event (Media.complete)

// from Macromedia Help
var myListener = new Object();
myListener.complete = function(eventObject) {
    trace("media is Finished"); //gotoNextFrameInTheMovie =)
};
myMedia.addEventListener("complete", myListener );

cheers :wink: