Hi,
you have a bead
<j:TextInput localId="someId">
<j:beads>
<js:DispatchInputFinishedBead/>
</j:beads>
</j:TextInput>
You must listen for DispatchInputFinishedBead.INPUT_FINISHED
so for example in the same container use:
initComplete="initCompleteHandler()"
and then:
public function initCompleteHandler():void
{
someId.addEventListener(DispatchInputFinishedBead.INPUT_FINISHED,
somIdInputFinished);
}
private function someIdInputFinished(event:Event):void
{
// do something
}
other way. You can go low level (js) too:
_textinput = new TextInput();
COMPILE::JS {
_textinput.element.addEventListener('blur', handleFocusOut);
}
protected function handleFocusOut(event:Event):void
{
// do something
}
El dom., 13 sept. 2020 a las 21:40, wkoch (<[email protected]>)
escribió:
> In Flex there was a focusOut event on the textbox which we used heavily for
> input validation functions. I've tried using rollOut but that isn't
> working
> since the user can still type into the text box.
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>
--
Carlos Rovira
http://about.me/carlosrovira