# Problem with buttons

**URL:** https://forum.kirupa.com/t/problem-with-buttons/158272
**Category:** Uncategorized
**Created:** [August 8, 2005, 6:33pm UTC](https://forum.kirupa.com/t/problem-with-buttons/158272 "2005-08-08T18:33:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![logand](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@logand](https://forum.kirupa.com/u/logand)
#### Post date: [August 8, 2005, 6:33pm UTC](https://forum.kirupa.com/t/problem-with-buttons/158272/1 "2005-08-08T18:33:05Z")

</div>

I’m in the process building a simple portfolio site for school, but I’m running into some problems. I have everything that isn’t going to change on the main movie. Then for each portfolio button I have it load an external swf to the right in a container. The problem that I’m having is that I’m wanting another new external swf for thumbnails. I can get it to load the first thumbnail, but the buttons to the thumbnail don’t work. Here’s a screenshot to let you know what I’m talking about:(Sorry so ugly 🙂 ) ![](http://forum.kirupa.com/uploads/kirupa/1645/f51bdf2e6c15fb77.gif)

Here’s the code for my buttons. (I got it off the transitions between external swf’s tutorial).  
b1.onRelease = function() {  
if (\_root.section != “dog.swf”) {  
\_root.section = “dog.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};  
b2.onRelease = function() {  
if (\_root.section != “dog2.swf”) {  
\_root.section = “dog2.swf”;  
\_root.transition.gotoAndPlay(“closing”);  
}  
};

I hope this makes sense to you all.  
Thanks,  
Logan
