Event.currentTarget.name to external URL

I’m still new at this AS3 coding, and despite being able to find posts about most of my problems, this problem has stumped me, and I’m not certain what words to search for.

I’m trying to make a list of MCs on my stage to link to external URLs.

I figured the following would work, but it just pulls the ‘event.currentTarget.name+“URL”’

the instance names of the MCs are “idlink” and “findStore”

Is there a way I can get the loadLink variable to pull the URL instead of the “idlinkURL” string, or is my logic for this completely backwards?

Thanks so much for your help.

ben

var buyLinks:Array = [idlink, findStore];
// add listeners to the menu array
        
for each (var buyElement:MovieClip in buyLinks) {
		buyElement.addEventListener(MouseEvent.CLICK, linkClick);
		buyElement.addEventListener(MouseEvent.ROLL_OVER, linkOver);
		buyElement.addEventListener(MouseEvent.ROLL_OUT, linkOut);
}

//menu functionality
//Mouse roll over
function linkOver(event:MouseEvent):void {
	event.currentTarget.buttonMode = true;
	event.currentTarget.filters = [filt];
}
//Mouse roll out
function linkOut(event:MouseEvent):void {
	event.currentTarget.filters = []; 

}function linkClick(event:MouseEvent):void{
		var loadLink = event.currentTarget.name;
		var idlink:String = "http://www.integritydirect.com";
		var findStore:String = "http://cba.findlocation.com";
		var url:URLRequest = new URLRequest(loadLink);
 			 try {
  			  navigateToURL(url, '_blank');
			 	 } catch (e:Error) {
 			   trace(loadLink);
  				}
}