Variables

I have 2 textfields, and I’m trying to combine them and then place them into a variable so they can sent to a third textbox… so I was thinking


var combine = txt1 + txt2;
trace(combine);


Thats in a release method… but the trace for the variable comes out as undefined… everytime…