I am checking the samples RichEditableText and TextArea in royale but non of them looks like working in my case. If the text value is set through the "textChanged" event, than it is not handled any where, at least in my case.

6.12.2019 22:39 tarihinde Alex Harui yazdı:

The event mechanism is essentially the W3C DOM Events spec and same as Flex.  The only known difference that comes to mind right now is that stopImmediatePropagation in Royale also currently stops execution of the handler, but that might change some day (soon).

For your sample source, since bubbling is not specified, the listeners need to be attached to the target or, if the dispatcher is part of the DOM can be captured by parents.

-Alex

*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Friday, December 6, 2019 at 11:32 AM
*To: *"[email protected]" <[email protected]>
*Subject: *Event handling

Hi,

Where can I get information about event handling mechanism in royale ?

e.g : dispatchEvent(new Event("textChanged")); needs to be handled in where ?

Thanks,
Serkan


Reply via email to