# Best way to handle multiple URL requesets

**URL:** <https://forum.kirupa.com/t/best-way-to-handle-multiple-url-requesets/295506>\
**Category:** Uncategorized\
**Created:** [August 31, 2009, 3:35pm UTC](https://forum.kirupa.com/t/best-way-to-handle-multiple-url-requesets/295506 "2009-08-31T15:35:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Post date:** [August 31, 2009, 3:35pm UTC](https://forum.kirupa.com/t/best-way-to-handle-multiple-url-requesets/295506/1 "2009-08-31T15:35:43Z")

</div>

Can someone help me as the best way to handle multiple URL requests.  
This is what I have:

```auto
function dropCick(evt:MouseEvent):void
{
	if(evt.target == dropDownM.dropBtns_mc.menFoot_btn)
			{
				var URL_6:URLRequest = new URLRequest();
				URL_6.url="www.someSite.com";
				navigateToURL(URL_6,"_self");
			}		
	if(evt.target == dropDownM.dropBtns_mc.menApp_btn)
			{
				var URL_7:URLRequest = new URLRequest();
				URL_7.url="www.someSite.com";
				navigateToURL(URL_7,"_self");
			}
	if(evt.target == dropDownM.dropBtns_mc.menAcc_btn)
			{
				var URL_8:URLRequest = new URLRequest();
				URL_8.url="www.someSite.com";
				navigateToURL(URL_8,"_self");
			}

```

I would think there would be a better more efficient way to do this.

Thanks for your help!
