# Loading swfs in swf by using a mc

**URL:** <https://forum.kirupa.com/t/loading-swfs-in-swf-by-using-a-mc/108406>\
**Category:** Uncategorized\
**Created:** [April 25, 2004, 12:48am UTC](https://forum.kirupa.com/t/loading-swfs-in-swf-by-using-a-mc/108406 "2004-04-25T00:48:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chohoh](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@chohoh](https://forum.kirupa.com/u/chohoh)\
**Post date:** [April 25, 2004, 12:48am UTC](https://forum.kirupa.com/t/loading-swfs-in-swf-by-using-a-mc/108406/1 "2004-04-25T00:48:10Z")

</div>

It’s hard to explain exactly what I"m trying to do but…  
My navigation buttons are actually movie clips becausr there is a bunch of actionscript attached to it. and… if I attached this code to the end of the elsticity code I can get the movie clip to advance to the next frame.

[color=#000087]on/color{  
[color=#000087]\_root[/color].[color=#000087]gotoAndStop/color;  
}

But I want to load swfs instead… and on top of that, I did a tutorial on kirupa in regards to loading swfs with intros and outros called

“**[size=4][color=#003366]Transitions [/color][/size]**[font=Verdana][size=4][color=#003366]Between External SWFs[/color][/size][/font]”

Everythign seems to be working well, except I can’t get the code to work on the MC that is suppose to change between navigations and swfs, which is this code.

on (release) {  
if (\_root.clip4 == undefined) {  
\_root.clip4 = “about”;  
container.loadMovie(“about.swf”);  
} else if (\_root.clip4 != “about”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.clip4 = “about”;  
container.play();  
}  
}  
}

If you don’t understand? Well here’s a link to my site/zip file.  
I think it might be too big to upload  
http://[www.chohoh.com/modproductions/modprod.zip](http://www.chohoh.com/modproductions/modprod.zip)

I’d love some help.  
This is a freebie site for someone so you’d be helping a good cause…  
The other thing is… i get most of my tutorials from kirupa as well so it’s kirupa styles… to my best. 😉
