getURL trace, no call

I got my code tracing the right path in an xml file but it aint opening a window

what I do wrong :yoshi: :-/

 
function pressURL(myVar,type){
 trace("d"+myVar);
def =xmlNode.childNodes[selectedNum].childNodes[itemNumber].attributes[type+myVar]
 
** getURL(def,"_blank");**
 
//trace(xmlNode.childNodes[0].childNodes[0].attributes["image"+myVar]);
trace(xmlNode.childNodes[selectedNum].childNodes[itemNumber].attributes[type+myVar]);
   }