Question : How to call base onSetFocus?

i have this
firstNameInput.onSetFocus  = Delegate.create(this, onTextInputFocusGain);

in the UIComponent.as file it sayes

/**
* @private
* called when you lose focus.  If you override, be sure to call the base class.
*/
      function onKillFocus(newFocus:Object):Void
      {
            removeEventListener("keyDown", this);
            removeEventListener("keyUp", this);
            dispatchEvent({ type:"focusOut"});
            drawFocus(false);
      }


what should i do to override the base call

Answer : How to call base onSetFocus?

I don't know what you are talking about, all components are a subclass of UIComponent.

If you override the onKillFocus of your component the super will call whatever class your component was derived from. You HAVE to do this for onSetFocus and onKillFocus no matter on what component you override these functions.
Random Solutions  
 
programming4us programming4us