Can someone help me as the best way to handle multiple URL requests.
This is what I have:
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!