private var _t:uint; ... this._t = setTimeout(hideField,1000,field); ... private function hideField(f) { clearTimeout( this._t ); this._t = 0; .... }