# External SWF Transition Problem

**URL:** <https://forum.kirupa.com/t/external-swf-transition-problem/220128>\
**Category:** flash\
**Created:** [March 22, 2007, 11:19pm UTC](https://forum.kirupa.com/t/external-swf-transition-problem/220128 "2007-03-22T23:19:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenomnon64](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fenomnon64](https://forum.kirupa.com/u/fenomnon64)\
**Post date:** [March 22, 2007, 11:19pm UTC](https://forum.kirupa.com/t/external-swf-transition-problem/220128/1 "2007-03-22T23:19:25Z")

</div>

OK. I basically went by what the tutorial said step by step, I just applied it to movie clip buttons, the thing is that, the movie clips are nested within movie clips, but that is not the issue. the Issue is that when I click on the button, it will load a totally different swf file than what I tell it to load. for instance:

If I make a photography button, if I click photography, it will load “identity”  
even though the script written tells the button to go to photography  
here is the script that I wrote:

* * *

// Photography Button

photography\_btn\_mc.onRollOver = function () {  
photography\_btn\_mc.gotoAndPlay (“in”);  
};  
photography\_btn\_mc.onRollOut = function () {  
photography\_btn\_mc.gotoAndPlay (“out”);  
};  
photography\_btn\_mc.onRelease = function () {  
photography\_btn\_mc.gotoAndPlay (“click”);  
\_root.mainMovie\_mc.gotoAndPlay(“portfolio”);  
\_root.mainMovie\_mc.placeholder\_mc.play();

}  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “photography”;  
\_root.mainMovie\_mc.placeholder\_mc.loadMovie(“photography.swf”);  
} else if (\_root.currMovie != “photography”) {  
if (\_root.mainMovie\_mc.placeholder\_mc.\_currentframe \>= \_root.mainMovie\_mc.placeholder\_mc.midframe) {  
\_root.currMovie = “photography”;  
}  
}

* * *

So what I did was copy/paste the script and replaced the buttons with thier respective buttons and the “words in quotes” with the section it is suppose to jump to, but I am still new at this method so I am not sure what I should be looking for.

The Hierarchy of Nested Clips goes like this:

1. \_root.

2. mainmovie\_mc

3. placeholder\_mc  
- lineMenu\_mc (\<— holds the mc buttons within on same timeline)

help like always is greatly appreciated:book:
