# Calling SWF's from within MC

**URL:** <https://forum.kirupa.com/t/calling-swfs-from-within-mc/132802>\
**Category:** Uncategorized\
**Created:** [January 2, 2005, 2:06am UTC](https://forum.kirupa.com/t/calling-swfs-from-within-mc/132802 "2005-01-02T02:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sirulian](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sirulian](https://forum.kirupa.com/u/sirulian)\
**Post date:** [January 2, 2005, 2:06am UTC](https://forum.kirupa.com/t/calling-swfs-from-within-mc/132802/1 "2005-01-02T02:06:30Z")

</div>

i am making a full flash site production.

i have a menu.  
inside a movie clip.  
on the main timeline.  
in index.fla.

now.  
i also have a movie clip.  
on the main timeline.  
in index.fla.  
called “container”  
which is the movie clip i want  
to load external SWF’s into.

my problem is,  
i can’t call external SWF’s  
into “container” which is on  
the main timeline  
from the menu, which is  
inside the movie clip  
on the main timeline.

i know i have to somehow be  
commanding it to call it to the root?  
or the parent? in order for it to refer to the main timeline.  
but how?

this is the code i have for the buttons  
in the menu  
which is in the movie clip  
which is on the main timeline  
in index.fla ::

```auto

on (release) {
	if (_root.currMovie == undefined) {
		_root.currMovie ="work";
		container.loadMovie ("work.swf");
	}
	else if (_root.currMovie != "work") {
		if (container._currentframe >= container.midframe ) {
			currMovie ="work";
			container.play();
		}
	}

}

```

im sure this is a simple problem to solve.  
i would greatly appreciate it if anyone could help me 🙂
