# Transitions between External SWFs tutorial

**URL:** <https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/144468>\
**Category:** Uncategorized\
**Created:** [April 14, 2005, 4:04pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/144468 "2005-04-14T16:04:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kruption](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kruption/32/1202_2.png) [@kruption](https://forum.kirupa.com/u/kruption)\
**Post date:** [April 14, 2005, 4:04pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/144468/1 "2005-04-14T16:04:24Z")

</div>

[color=#0066cc][size=2]After doing the [/size][/color][size=2][color=#0066cc] [color=#003366]Transitions between External SWFs [/color]tutorial I’m having some issues. Now I followed the tutorial exactly and had no problem if the buttons were located on the main timeline but ran into problems once I moved them into a movieclip.

I have them inside a movieclip with the instance name of “menu” which is located on the main timeline. I’ve placed the following code on the buttons and have had no success.

```auto

on (release) {

if (_root.currMovie == undefined) {

_root.currMovie = "gallery";
_root.container.loadMovie("gallery.swf");
} else if (_root.currMovie != "gallery") {
if (_root.container._currentframe >= _root.container.midframe) {

_root.currMovie = "gallery";
_root.container.play();

}

}

}

```

And also tried

```auto

on (release) {

if (_root.currMovie == undefined) {

_root.currMovie = "gallery";
_root.menu.container.loadMovie("gallery.swf");
} else if (_root.currMovie != "gallery") {
if (_root.menu.container._currentframe >= _root.menu.container.midframe) {

_root.currMovie = "gallery";
_root.menu.container.play();

}

}

}

```

I know it’s a simple error. any help would be greatful  
[/color][/size][size=2][color=#0066cc][/color][/size]
