# Need Help with loading external swfs

**URL:** <https://forum.kirupa.com/t/need-help-with-loading-external-swfs/166132>\
**Category:** flash\
**Created:** [October 17, 2005, 10:16am UTC](https://forum.kirupa.com/t/need-help-with-loading-external-swfs/166132 "2005-10-17T10:16:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yem224](https://avatars.discourse-cdn.com/v4/letter/y/b38774/32.png) [@yem224](https://forum.kirupa.com/u/yem224)\
**Post date:** [October 17, 2005, 10:16am UTC](https://forum.kirupa.com/t/need-help-with-loading-external-swfs/166132/1 "2005-10-17T10:16:49Z")

</div>

I followed the tutorial for the preloader and transition for dynamic files to a “T”. So I have humbled myself to seek your expert help because I cannot figure it out.  
Basically, the initial loaded swf works: \_root.section = “blue.swf”;  
However when I press any of the buttons on the main swf the transition does not play and the initial swf keeps playing. Its driving me INSANE!!!  
This is the first time I am working with externally loaded swfs, and I am sure that its something completely simple. But I have no idea(s) of what it could be. Here’s the code for the buttons:

but1.onRelease = function() {  
if (\_root.section != “profile.swf”) {  
\_root.section = “profile.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b2.onRelease = function() {  
if (\_root.section != “resume.swf”) {  
\_root.section = “resume.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b3.onRelease = function() {  
if (\_root.section != “port2.swf”) {  
\_root.section = “port2.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b4.onRelease = function() {  
if (\_root.section != “links.swf”) {  
\_root.section = “links.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b5.onRelease = function() {  
if (\_root.section != “extras.swf”) {  
\_root.section = “extras.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};

The file that I downloaded from the site works when I test it, and of course, mine doesn’t. I really need everyone’s help, I am completely new to all of this, as if you couldn’t have guessed.  
Thanx,  
Brian
