# Transitions between external swf

**URL:** <https://forum.kirupa.com/t/transitions-between-external-swf/155365>\
**Category:** flash\
**Created:** [July 16, 2005, 10:36pm UTC](https://forum.kirupa.com/t/transitions-between-external-swf/155365 "2005-07-16T22:36:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grinch08](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grinch08/32/1514_2.png) [@grinch08](https://forum.kirupa.com/u/grinch08)\
**Post date:** [July 16, 2005, 10:36pm UTC](https://forum.kirupa.com/t/transitions-between-external-swf/155365/1 "2005-07-16T22:36:18Z")

</div>

I’m building a flash portfolio site and I went by the tutorial on Transitions between external swf, but my navagation is not on the main timeline. The container that the external swf’s go in is on the main timeline. I can get the home swf to load on the main timeline but when I hit the projects button it loads the home swf? I have the code changed for the projects swf.  
Any Thoughts? Here is the code for the projects button.

on (rollOver) {  
gotoAndPlay(“go”);

}  
on (rollOut) {  
gotoAndPlay(11);

```
}

```

on (release) {  
with(\_root)

if (\_root.currMovie == undefined) {  
\_root.currMovie = “projects”;  
//refer to \_root  
\_root.container.loadMovie(“projects.swf”);  
} else if (\_root.currMovie != “projects”) {  
//refer to \_root  
if (\_root.container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “projects”;  
//refer to \_root  
\_root.container.play();  
}  
}  
}
