2.0 Class: Can't get value of inputfield variable?

hi guys, i basically keep tracing the variable name and not the value of the variable.

class temp{
private var myVariable:String;
private var formClip:MovieClip;

public function temp(myClip:MovieClip){
formClip = myClip;
}

public function setVariable(myVar:String){
myVariable = myVar;
formClip.myTF.variable=myVariable;
formBR[‘obj’] = this;
formClip.onEnterFrame=function(){
trace(this.obj.myVariable);
}
}
}

this keeps giving me the name of the variable and not the contents of the variable. I’m trying to make it so when i type something in the textfield, i an trach myVariable and it’ll give me the contents. Any Ideas?