Leaving TextField

Hi everybody.

I want a few variables to be updated when MyTextField is left.

I tried this:
Code:
myTextField.addEventListener(Event.MOUSE_LEAVE, update_everything)
function update_everything(e:Event):void{
bla bla bla
}
But that didnt work…
My function should also work if the text field is left with TAB.

Hope somebody can help
Thanx