# Transitions Between External SWFs tutorial

**URL:** https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/87925
**Category:** flash
**Created:** [April 25, 2005, 11:34am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/87925 "2005-04-25T11:34:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mtyhurst](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mtyhurst](https://forum.kirupa.com/u/mtyhurst)
#### Post date: [April 25, 2005, 11:34am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/87925/1 "2005-04-25T11:34:03Z")

</div>

Hello! I am kinda new to this flash thing. I was following this tutorial and I get everything to work untill I go to click on a button to see the outro. The problem I am having is that I don’t have the right root to the “container”. My buttons are NOT on the main timeline. My button is in a movie clip called “link3\_mc”. The container is on the main timeline called “Scene 1”. What would I change in the code for the button to know the right path where the container is at? How do I change the path?

```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(); 
}
 } 
} 

```

This is the tutorial page… [http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm)

I would appreciate any help! Thanks so much…
