# Transitions between external SWFs - Movieclip button

**URL:** <https://forum.kirupa.com/t/transitions-between-external-swfs-movieclip-button/176044>\
**Category:** flash\
**Created:** [January 19, 2006, 9:46pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-movieclip-button/176044 "2006-01-19T21:46:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Musician](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@The\_Musician](https://forum.kirupa.com/u/The_Musician)\
**Post date:** [January 19, 2006, 9:46pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-movieclip-button/176044/1 "2006-01-19T21:46:30Z")

</div>

Hi, I’ve got nice movieclip buttons, but also I would like to build my site like in “Transitions between external SWFs” tutorial on [Kirupa.com](http://Kirupa.com) ([http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm))

The problem is, that everything works if I use normal button, but SWFs don’t want to load when I use the movieclip buttons.  
The problem is in this code:

on (release) {

if (\_root.currMovie == undefined) {

\_root.currMovie = “o\_mnie”;  
kontener.loadMovie(“o\_mnie.swf”);  
} else if (\_root.currMovie != “o\_mnie”) {  
if (kontener.\_currentframe \>= kontener.midframe) {

\_root.currMovie = “o\_mnie”;  
kontener.play();

}

}

}

I have to assign these things to my movieclip button, but this code works only with normal button /on (releasese)/… and I have no idea how to deal with this… movie clip button’s instance for this example is o\_mnie\_bt

My movieclip buttons are built like these in video tutorial “creating movie clip buttons” from [http://www.kirupa.com/developer/flash8/index.htm](http://www.kirupa.com/developer/flash8/index.htm)

Help me, please - I’m so close…

Thanks
