addEventListener to textbox

problem soloved
i’ve an input text with instance name: temp

and this is the code:

ActionScript Code:

[FONT=Courier New][LEFT][COLOR=#000000]var[/COLOR] tempListen = [COLOR=#000000]new[/COLOR] [COLOR=#0000ff]Object[/COLOR]COLOR=#000000[/COLOR];</p>

<p>tempListen.[COLOR=#000080]focusIn[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR]</p>
<p>[COLOR=#000000]{[/COLOR]</p>
<p> [COLOR=#0000ff]trace[/COLOR][COLOR=#000000]([/COLOR][COLOR=#ff0000]“i’ve been clicked”[/COLOR][COLOR=#000000])[/COLOR];</p>
<p>[COLOR=#000000]}[/COLOR]</p>
<p>temp.[COLOR=#000080]addEventListener[/COLOR]COLOR=#000000[/COLOR];[/LEFT]

[/FONT]

this doesn’t work…
first of all, can we add an eventListener to a textbox? if yes, can you please tell me what’s wrong with this code? it is supposed to trace “i’ve been clicked” when i type something in the input textbox. thanks.