# Trouble opening links in complex button

**URL:** <https://forum.kirupa.com/t/trouble-opening-links-in-complex-button/178276>\
**Category:** flash\
**Created:** [February 9, 2006, 1:31am UTC](https://forum.kirupa.com/t/trouble-opening-links-in-complex-button/178276 "2006-02-09T01:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryo\_burned](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@cryo\_burned](https://forum.kirupa.com/u/cryo_burned)\
**Post date:** [February 9, 2006, 1:31am UTC](https://forum.kirupa.com/t/trouble-opening-links-in-complex-button/178276/1 "2006-02-09T01:31:02Z")

</div>

Okay I have a movie clip set as a button in an emailer… when you click the button its supposed to opn your emailer and put some dynamic text that says email sent to… It has three options for names to send to in a combo box…

However, instead it always automatically chooses option 3 on the combo box… my script is

```auto
this.onRelease = function(){
 if(_root.contact = 0);
 (_root.feedback = "Please choose a contact from the list");
 if(_root.contact = 1);
 getURL("mailto:*filtered*@yahoo.com?subject=" +subject +"&body=" +socomname);
 (_root.feedback = "Sent to ghost2.1");
 if(_root.contact = 2);
 getURL("mailto:*filtered*@subject=" +subject +"&body=" +socomname);
 (_root.feedback = "Sent to Baddog-360");
 if(_root.contact = 3);
 getURL("mailto:*filtered* @gmail.com?subject=" +subject +"&body=" +socomname);
 (_root.feedback = "Sent to cryo.burned");
}

```

contact is the name of the combo box. feedback is a dynamic text box
