# Transitions Between External SWFs tutorial question

**URL:** <https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial-question/82157>\
**Category:** flash\
**Created:** [March 8, 2005, 2:20am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial-question/82157 "2005-03-08T02:20:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlindKat](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@BlindKat](https://forum.kirupa.com/u/BlindKat)\
**Post date:** [March 8, 2005, 2:20am UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial-question/82157/1 "2005-03-08T02:20:39Z")

</div>

I got this to work fine with the buttons on the time line and I know he made a note stating that if the buttons were not on the time line you would have to target them correctly, this is where my question comes in. I have a sub menu that is embedded in a MC that rolls out after the button is clicked. Heres the code from the button on the timeline:

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

}

}  
}  
on (press) {  
tellTarget (“mini”) {  
gotoAndPlay(2);  
}  
}

and then the submenu comes out and has:

on (release) {  
if [color=red](\_parent[/color].currMovie == undefined) {  
[color=red]\_parent[/color].currMovie = “gameslide”;  
slides.loadMovie(“gameslide.swf”);  
} else if [color=red](\_parent[/color].currMovie != “gameslide”) {  
if (slides.\_currentframe\>= slides.midframe) {  
[color=red]\_parent[/color].currMovie = “gameslide”;  
slides.play();  
}  
}  
}

The highlighted parts is where I am trying to direct the target… Though I am wondering if this is correct and if so, what is the correct way to path this from inside a movie clip? Hope this makes sense, I would post the .fla files but they are just too large.
