MOUSE_DOWN_OUTSIDE only works for popups. You will have to listen for MOUSE_DOWN and see if myInput.contiains(event.target)
Hm... It's a custom TextInput component, I need to listen to this from inside it.
How does DateField or DropDownList do this? They close the DateChooser and List when clicking outside.
I saw something to do with mx_internal, but I'm not sure if I should be using that.
The dropdowns use popupmanager so they get that event.