Finding movieclip coordinates

for some reason whenever i call or define a variable like this:

onClipEvent(enterFrame){
trace(k);
 k = go._y;
}

the trace results in “undefined”. dose anyone know why and how to get around this issue?