# Transitions Between External SWFs won't load right file

**URL:** https://forum.kirupa.com/t/transitions-between-external-swfs-wont-load-right-file/196196
**Category:** flash
**Created:** [August 6, 2006, 6:09pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-wont-load-right-file/196196 "2006-08-06T18:09:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![atlemo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/atlemo/32/1198_2.png) [@atlemo](https://forum.kirupa.com/u/atlemo)
#### Post date: [August 6, 2006, 6:09pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-wont-load-right-file/196196/1 "2006-08-06T18:09:04Z")

</div>

[SIZE=2]I have, as so many other followed this tutorial ([FONT=Verdana][COLOR=#003366]Transitions [/COLOR][/FONT] [/SIZE][FONT=Verdana][SIZE=2][COLOR=#003366]Between External SWFs - [http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm%29)), and It works fine as it is.

But now that I have this nested in different MC’s etc, I get some errors.

When I click ex. button nr. two, it plays my outro and loads a file. But it’s the same file I already have! I can’t get it to load the SWF’s that I want!

The buttons are located at \_root.fluid and the SWF’s are loaded via \_root.fluid.container.

This is my code on the buttons:

[/COLOR][/SIZE][/FONT]

```auto

on (rollOver) {
    button1.gotoAndPlay(2);
}

on (rollOut) {
    button1.gotoAndPlay("getOut");
}
on (release) {
    if (currMovie == undefined) {
        currMovie = "section1";
        container.loadMovie("section1.swf");
    } else if (currMovie != "section1") {
        if (container._currentframe >= container.midframe) {
            currMovie = "section1";
            container.play();
        }
    }
}

```

And yes, I have changed the “midframe” to the new number, which is 19.  
Any tips? I’m about to jump out the window!
