# Complex Button Help!

**URL:** https://forum.kirupa.com/t/complex-button-help/286609
**Category:** Uncategorized
**Created:** [April 17, 2009, 5:31pm UTC](https://forum.kirupa.com/t/complex-button-help/286609 "2009-04-17T17:31:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Bwb7](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@Bwb7](https://forum.kirupa.com/u/Bwb7)
#### Post date: [April 17, 2009, 5:31pm UTC](https://forum.kirupa.com/t/complex-button-help/286609/1 "2009-04-17T17:31:51Z")

</div>

Hi,  
Like many people I’ve copied the “Complex Button” tutorial to make a drop down menu. The problem I have is I can’t seem to be able to tell the submenu buttons to “getURL” instead of the main rollOver btn.

I have tried to give my submenu buttons unique instance names in the last bit of code but it still does not work.

Code :  
stop();

this.onEnterFrame = function() {  
if (rewind == true) {  
prevFrame();  
}  
};

this.onRollOver = function() {  
rewind = false;  
play();  
};

this.onRollOut = function() {  
rewind = true;  
};

this.b1.onRelease = function() { // this is where I don’t know what to do???  
getURL(“[http://www.adecom.ca/](http://www.adecom.ca/)”, “\_blank”);  
};

Any suggestions??? Thank’s alot !!!

I’m trying to reproduce this exemple:  
[http://laforetvisuals.com/index.php](http://laforetvisuals.com/index.php)

Here’s my fla;
