# Transitions Between External SWFs

**URL:** https://forum.kirupa.com/t/transitions-between-external-swfs/182608
**Category:** Uncategorized
**Created:** [March 20, 2006, 12:45am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs/182608 "2006-03-20T00:45:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![otakonx](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@otakonx](https://forum.kirupa.com/u/otakonx)
#### Post date: [March 20, 2006, 12:45am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs/182608/1 "2006-03-20T00:45:28Z")

</div>

I’m trying to use the “[Transitions Between External SWFs](http://www.kirupa.com/developer/mx2004/transitions2.htm)” tutorial with my movie but I can’t get everything to work properly. About my movie:  
The container is at “\_root.main” on the swf. The tut says to adjust the buttons to point to this location which I’ve done. But when I try to click back to a lower section, it just loads the same section over and over. For example, if I were to click section 2 and wanted to go back to section 1, the movie loads section 2 again.

here is the code I’m using on the button (section1):

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

Any help is welcome, thank you.

Dave
