# Transition Between External swf's

**URL:** https://forum.kirupa.com/t/transition-between-external-swfs/50493
**Category:** flash
**Created:** [May 3, 2004, 6:20pm UTC](https://forum.kirupa.com/t/transition-between-external-swfs/50493 "2004-05-03T18:20:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Casenote](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Casenote](https://forum.kirupa.com/u/Casenote)
#### Post date: [May 3, 2004, 6:20pm UTC](https://forum.kirupa.com/t/transition-between-external-swfs/50493/1 "2004-05-03T18:20:43Z")

</div>

Hey all,

I went through the [Transitions Between External SWFs](http://www.kirupa.com/developer/mx2004/transitions.htm) by the wonderful Voetsjoeba, and I have ran into a small problem. Whenever I test my movie, it will only play the same external swf in a row… I have currently have 2 of the 5 buttons working, but if I press button1 it will load section1.swf and then if I hit button2 after that It will unload section1.swf and play it again. I debugged it and it actually changes the \_root.currMovie to the correct value.

Here are links to my files: (News & Shows are the 2 coded buttons)

[FlashMX 2004](http://www.escapegrace.com/flash/Help.fla)

and

[FlashMX](http://www.escapegrace.com/flash/Helpmx.fla)

here is my 2 buttons AS:

Button 1

```auto

on (release) { 
if (_root.currMovie == undefined) { 
_root.currMovie = "news"; 
container.loadMovie("news.swf"); 
} else if (_root.currMovie != "news") { 
if (container._currentframe >= container.midframe) { 
_root.currMovie = "news"; 
container.play(); 
} 
} 
} 

```

Button 2

```auto

on (release) { 
if (_root.currMovie == undefined) { 
_root.currMovie = "shows"; 
container.loadMovie("shows.swf"); 
} else if (_root.currMovie != "shows") { 
if (container._currentframe >= container.midframe) { 
_root.currMovie = "shows"; 
container.play(); 
} 
} 
} 

```

Thanks for looking,

Casey

P.s. I also noticed that I have done something to the mp3 player, if you try and drag the current play spot over it will automatically skip songs???
