# Buttons problem

**URL:** <https://forum.kirupa.com/t/buttons-problem/235841>\
**Category:** Uncategorized\
**Created:** [August 15, 2007, 5:02am UTC](https://forum.kirupa.com/t/buttons-problem/235841 "2007-08-15T05:02:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdiaz](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jdiaz](https://forum.kirupa.com/u/jdiaz)\
**Post date:** [August 15, 2007, 5:02am UTC](https://forum.kirupa.com/t/buttons-problem/235841/1 "2007-08-15T05:02:15Z")

</div>

hello. I have a drop down menu. i set it up so that at the release of each button, the preloader is supposed to load a swf into a movieclip container. however, i am having trouble trying to target my drop down menu buttons from the actionscript panel on the main timeline.

Note that the buttons i am trying to target are inside a movieclip button.

Also, all of my buttons have instance names.  
-preloader instance name = myPreloader  
-movieclip container instance name = myLoader  
-main movie clip button instance name = btnMusic  
-drop down button instance name = btnHiphop

What would be the correct script to tell one of my drop down menu buttons to tell my preloader to load an external swf onto a movieclip container?

Here is what I currently have now:

this.btnMusic.btnHiphop.onRelease=function() {  
swfPreloader.loadFile(“hiphop.swf”, “myLoader”, “.swf”);  
}

Obviously this is not correct.

Please help. Thanks in advance.
