# Linking to External .swf - problems w/nav

**URL:** https://forum.kirupa.com/t/linking-to-external-swf-problems-w-nav/131610
**Category:** Uncategorized
**Created:** [December 17, 2004, 1:57pm UTC](https://forum.kirupa.com/t/linking-to-external-swf-problems-w-nav/131610 "2004-12-17T13:57:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lobstah](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@lobstah](https://forum.kirupa.com/u/lobstah)
#### Post date: [December 17, 2004, 1:57pm UTC](https://forum.kirupa.com/t/linking-to-external-swf-problems-w-nav/131610/1 "2004-12-17T13:57:24Z")

</div>

I’m just learning ActionScript and starting with 2.0, using Flash MX 2004 PRO.

I have created a .fla in which I load an external .swf. The .swf is actually a Flash slideshow I’d created in Flash MX . The .swf has it’s own little “controller” which comes from the Flash MX template.

My problem is that the .swf does get loaded, but then the navigation mechanism inside the external .swf doesn’t seem to work, although I have those assets in the library.

Here is the code I used to create an empty parent movieclip with a container inside, into which I load this and other .swfs:

* * *

//Creates a parent movie clip to hold the container  
this.createEmptyMovieClip(“mc\_1”, 0);  
//creates a child movie clip inside of “mc\_1”  
//this is the movie clip the external .swf will replace  
mc\_1.createEmptyMovieClip(“container\_mc”,99);  
mc\_1.container\_mc.\_x=405;  
mc\_1.container\_mc.\_y=105;  
//Not sure I even need this step: Can anyone advise me? Here I use moviecliploader to first unload any .swf that’s playing, then load the image  
MovieClipunloader.unloadClip(mc\_1.container.mc);  
var my\_mcl:MovieClipLoader = new MovieClipLoader();  
my\_mcl.loadClip(“show\_malconian.swf”, mc\_1.container\_mc);  
//put event handler on the parent movie clip mc\_1  
mc\_1.loadClip = function() {  
mc\_1.container\_mc.gotoAndStop(1);  
}

* * *

Does anyone know how I can get the navigation mechanism in the external .swf to function? When I bring in the .swf, it just loops automatically through its slideshow and I can’t use the buttons inside the .swf to click slowly through the images, etc.

Thanks!
