I don’t know these components very well to answer without taking time to 
research.  Changing a value as part an event does not sound like a kind of case 
we would have in our examples, so it doesn’t surprise me that the emulation 
doesn’t currently support it.  So you or some other volunteer may need to 
implement emulation for it.  That’s how the emulation components are being 
developed.  Someone needs a feature from Flex and that person or someone else 
implements an emulation for that feature.

I thought that the examples in TourDeFlex were working at one point in time but 
would not be surprised if they are broken.  But getting those to work again if 
they don’t might help educate you on how TLF is supposed to work in simple 
cases.

-Alex

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

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]><mailto:[email protected]>
Reply-To: "[email protected]"<mailto:[email protected]> 
<[email protected]><mailto:[email protected]>
Date: Friday, December 6, 2019 at 11:32 AM
To: "[email protected]"<mailto:[email protected]> 
<[email protected]><mailto:[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