# Help needed with transitions between external swf tutorial

**URL:** <https://forum.kirupa.com/t/help-needed-with-transitions-between-external-swf-tutorial/196317>\
**Category:** Uncategorized\
**Created:** [August 7, 2006, 5:28pm UTC](https://forum.kirupa.com/t/help-needed-with-transitions-between-external-swf-tutorial/196317 "2006-08-07T17:28:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flash\_amatuer](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@flash\_amatuer](https://forum.kirupa.com/u/flash_amatuer)\
**Post date:** [August 7, 2006, 5:28pm UTC](https://forum.kirupa.com/t/help-needed-with-transitions-between-external-swf-tutorial/196317/1 "2006-08-07T17:28:38Z")

</div>

basically for my website in my main fla, i have some buttons which when pressed work fine, however i have one button which is a mc as it is a sub menu buton, this does not work like the others, i no this is because the others are buttons and this is a MC, so i wanted to ask anyone, what i need to change in the following AS which is for a button to make it work for a MC?

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