onRelease problem

So, I have this bit of code

            var ImgLink = myGallery[catNum]["image"]*["link"];
            trace(myGallery[catNum]["image"]*["link"]);

When I trace this, it gives me the correct URL

But, for some reason… I don’t understand how to pass this bit (what’s being traced) to the on release function

url_btn.onRelease = function(){
getURL(?????????);
}

Can someone please tell me how to call this?