Loading swf files into a Flash Website while maintaining it's original Stage

[font=Times New Roman]Hi Everyone. I have a Flash MX 2004 question. So far in searching the forums I have not found an answer.[/font]

[font=Times New Roman]I’m re-coding my website using Flash MX2004. In the past I created Flash files and brought them into my website with HTML. Now that my website itself is written in Flash I’m having troubles with displaying my existing Flash swf files (which I will refer to as the Wedding-Flash-swf file).[/font]

[font=Times New Roman]I’m trying to use the loadClip method within my main Flash website. When I do this the Wedding-Flash-swf file loads (I see it load using the getProgress method) and the swf file does appear. That’s the good thing.[/font]

[font=Times New Roman]The bad thing is that the movie clips for the newly loaded Wedding-Flash-swf are not restricted to the stage defined within its original stage. It appears to be using the stage set for the new Flash website (which is much larger than the Wedding-Flash-swf file being brought in). Hence, I see all the movie clips for the newly loaded Wedding-Flash-swf file display outside of the intended Wedding stage. Also, the movie clips brought in seem to maintain their index within the Flash website swf and therefore appear above and below other movie clips in the main swf website file. The movie still plays ok but with movie clips outside the intened small stage. Also, the sound track for the Wedding-Flash-swf does not play. I did convert the Wedding-Flash-swf to version 7.[/font]

[font=Times New Roman]How do I confine the movie clips for the newly loaded Wedding-Flash-swf file to the stage defined within the Wedding-Flash-swf file?[/font]

[font=Times New Roman]Here is the code that I use within the Flash website to load the Wedding-Flash-swf file.[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]var MCL:MovieClipLoader = new MovieClipLoader();[/font]
[font=Times New Roman][/font]
[font=Times New Roman]// MovieClip - Main Body Image - Size 395 x 370[/font]

[font=Times New Roman]this.createEmptyMovieClip(“MainImage”,0);[/font]

[font=Times New Roman]MainImage._x = 240;[/font]

[font=Times New Roman]MainImage._y = 85;[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]MCL.loadClip([url to Wedding-Flash-swf file],MainImage);[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]And below is the code which displays the loading progress of the swf file. This part works just fine. LoadText is a TextField.[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]LoadText.onEnterFrame = function()[/font]

[font=Times New Roman]{[/font]

[font=Times New Roman] var LoadProgress = MCL.getProgress(MainImage);[/font]

[font=Times New Roman] PercentLoaded = (LoadProgress.bytesLoaded / LoadProgress.bytesTotal) * 100;[/font]

[font=Times New Roman] if (isNaN(PercentLoaded))[/font]

[font=Times New Roman] {[/font]

[font=Times New Roman] PercentLoaded = 0;[/font]

[font=Times New Roman] }[/font]

[font=Times New Roman] LoadText.txt.text = "Loading " + Math.ceil(PercentLoaded) + “%”;[/font]

[font=Times New Roman]}[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]Note: I use the same logic above for loading jpeg files and it works great.[/font]

[font=Times New Roman]Thanks in advance for any help on this. It’s greatly appreciated. [/font]
[font=Times New Roman][/font]
[font=Times New Roman]JimVision[/font]