# Transitions Between External SWF's

**URL:** https://forum.kirupa.com/t/transitions-between-external-swfs/200559
**Category:** Uncategorized
**Created:** [September 13, 2006, 10:06am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs/200559 "2006-09-13T10:06:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MrAlucard](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@MrAlucard](https://forum.kirupa.com/u/MrAlucard)
#### Post date: [September 13, 2006, 10:06am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs/200559/1 "2006-09-13T10:06:18Z")

</div>

Hey guys, I got a question for you… I did this tutorial [http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm) and it worked fine for me. But when I whant to use it for my home page it dosent work.

Here’s the structure of my website.

[http://www.mtb-vacations.com/peter/Pages/](http://www.mtb-vacations.com/peter/Pages/)

**index.swf**

**This file only has 2 things,**

```auto
screen.loadMovie("home.swf");
stop();

```

**And a MC called “screen”.**

As you can see this is the \_root. (right?).

**In the swf file “home.swf” I got a button with this code,**

```auto
on (release) {
 loadMovie("start.swf", _root.screen);
}

```

\*\*This loads the “start.swf” file in the MC “screen” on the \_root. \*\*

In this file I have more buttons etc all linking to \_root.

Now you know a bit how my site works. But I cant figure out how to make this work,

```auto

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

```

Should it be \_root.container or something? Please some help!
