Input text

I have an input textbox for password called pwdtext.
When I try to access its value (trace(pwdtext)) I get this:

<TEXTFORMAT LEADING=“2”><P ALIGN=“LEFT”><FONT FACE=“Foxley 916” SIZE=“16” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”>mypassword</FONT></P></TEXTFORMAT>

instead of the value the user typed in.

pwdtext.text is undefined.

Everything is within the same movieclip.